error on solaris please help interlocked*functions

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
ect1
Level 2
Level 2
Posts: 14
Joined: Tue Jul 14, 2009 3:06 am

error on solaris please help interlocked*functions

Post by ect1 »

i install the wine 1.1.25 but after awhile installation stops
and heres some detail in terminal
configure: libcapi20 development files not found, ISDN won't be supported.
configure: libldap (OpenLDAP) development files not found, LDAP won't be supported.

configure: Finished. Do 'make depend && make' to compile Wine.

cc -c -I. -I. -I../include -I../include -I/usr/include/freetype2 -g -D__i386__ -o makedep.o makedep.c
cc -g -D__i386__ -o makedep makedep.o
../tools/makedep -C. -S.. -T.. -I/usr/include/freetype2 fnt2bdf.c fnt2fon.c make_ctests.c makedep.c relpath.c sfnt2fnt.c
`makedep' is up to date.
../../tools/makedep -C. -S../.. -T../.. ffs.c fstatvfs.c futimes.c getopt.c getopt1.c getpagesize.c gettid.c interlocked.c isinf.c isnan.c lstat.c memcpy_unaligned.c memmove.c mkstemps.c poll.c pread.c pwrite.c readlink.c spawn.c statvfs.c strcasecmp.c strerror.c strncasecmp.c symlink.c usleep.c
cc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -g -D__i386__ -o ffs.o ffs.c
cc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -g -D__i386__ -o fstatvfs.o fstatvfs.c
cc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -g -D__i386__ -o futimes.o futimes.c
cc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -g -D__i386__ -o getopt.o getopt.c
cc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -g -D__i386__ -o getopt1.o getopt1.c
cc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -g -D__i386__ -o getpagesize.o getpagesize.c
cc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -g -D__i386__ -o gettid.o gettid.c
cc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -g -D__i386__ -o interlocked.o interlocked.c
"interlocked.c", line 137: #error: You must implement the interlocked* functions for your compiler
cc: acomp failed for interlocked.c
*** Error code 1
make: Fatal error: Command failed for target `interlocked.o'
Current working directory /export/home/ect1/Downloads/wine/libs/port
*** Error code 1
The following command caused the error:
cd port && make
make: Fatal error: Command failed for target `port'
Current working directory /export/home/ect1/Downloads/wine/libs
*** Error code 1
The following command caused the error:
cd libs && make
make: Fatal error: Command failed for target `libs'
how do i implement the inberlocked*functions
User avatar
KenSharp
Level 4
Level 4
Posts: 175
Joined: Mon Jul 13, 2009 8:52 pm

Post by KenSharp »

Do you have all the dependencies installed?
User avatar
dimesio
Moderator
Moderator
Posts: 13369
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

Googling the error message turned up this: http://mail.opensolaris.org/pipermail/g ... 00348.html

There's also the wiki page: http://wiki.winehq.org/OpenSolaris
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

error on solaris please help interlocked*functions

Post by austin987 »

On Tue, Jul 14, 2009 at 6:10 AM, ect1<[email protected]> wrote:
i install the wine 1.1.25 but after awhile installation stops
and heres some detail in terminal
configure: libcapi20 development files not found, ISDN won't be supported.
configure: libldap (OpenLDAP) development files not found, LDAP won't be supported.

configure: Finished.  Do 'make depend && make' to compile Wine.

cc -c -I. -I. -I../include -I../include -I/usr/include/freetype2     -g -D__i386__  -o makedep.o makedep.c
cc -g -D__i386__ -o makedep makedep.o
../tools/makedep -C. -S.. -T.. -I/usr/include/freetype2 fnt2bdf.c  fnt2fon.c  make_ctests.c  makedep.c  relpath.c  sfnt2fnt.c
`makedep' is up to date.
../../tools/makedep -C. -S../.. -T../..  ffs.c  fstatvfs.c  futimes.c  getopt.c  getopt1.c  getpagesize.c  gettid.c  interlocked.c  isinf.c  isnan.c  lstat.c  memcpy_unaligned.c  memmove.c  mkstemps.c  poll.c  pread.c  pwrite.c  readlink.c  spawn.c  statvfs.c  strcasecmp.c  strerror.c  strncasecmp.c  symlink.c  usleep.c
cc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_REENTRANT -fPIC   -g -D__i386__  -o ffs.o ffs.c
cc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_REENTRANT -fPIC   -g -D__i386__  -o fstatvfs.o fstatvfs.c
cc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_REENTRANT -fPIC   -g -D__i386__  -o futimes.o futimes.c
cc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_REENTRANT -fPIC   -g -D__i386__  -o getopt.o getopt.c
cc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_REENTRANT -fPIC   -g -D__i386__  -o getopt1.o getopt1.c
cc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_REENTRANT -fPIC   -g -D__i386__  -o getpagesize.o getpagesize.c
cc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_REENTRANT -fPIC   -g -D__i386__  -o gettid.o gettid.c
cc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_REENTRANT -fPIC   -g -D__i386__  -o interlocked.o interlocked.c
"interlocked.c", line 137: #error: You must implement the interlocked* functions for your compiler
cc: acomp failed for interlocked.c
*** Error code 1
make: Fatal error: Command failed for target `interlocked.o'
Current working directory /export/home/ect1/Downloads/wine/libs/port
*** Error code 1
The following command caused the error:
cd port && make
make: Fatal error: Command failed for target `port'
Current working directory /export/home/ect1/Downloads/wine/libs
*** Error code 1
The following command caused the error:
cd libs && make
make: Fatal error: Command failed for target `libs'
how do i implement the inberlocked*functions





You'll need to use gcc to compile, not Sun's compiler (or implement
those functions for Sun's CC).

--
-Austin
ect1
Level 2
Level 2
Posts: 14
Joined: Tue Jul 14, 2009 3:06 am

Post by ect1 »

srry for asking how could i do that? how could i use gcc instead of sun cc sry for asking im just newbie is solaris
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

error on solaris please help interlocked*functions

Post by austin987 »

On Wed, Jul 15, 2009 at 10:38 AM, ect1<[email protected]> wrote:
srry for asking how could i do that? how could i use gcc instead of sun cc sry for asking im just newbie is solaris
No offense, but if you're new to Unix-ish systems, solaris is a pretty
difficult one to start on, IMHO.

but, anywho, make sure you've got gcc installed:
$ which gcc

then use:
$ CC="/path/to/gcc" ./configure

when compiling wine


--
-Austin
ect1
Level 2
Level 2
Posts: 14
Joined: Tue Jul 14, 2009 3:06 am

Post by ect1 »

but, anywho, make sure you've got gcc installed:
$ which gcc

then use:
$ CC="/path/to/gcc" ./configure
tnx for your comment sir its very helpful
Locked