Compile on AMD Opetron

chall at chall at
Fri Aug 20 20:30:09 CDT 2004

I tried to compile wine-2004813 on a AMD Opetron this is what I found.

  No Problems found.

make depend
  No Problems found.


chuck at sniper wine-20040813 $ make
make[1]: Entering directory `/home/chuck/src/wine/wine-20040813/libs'
make[2]: Entering directory `/home/chuck/src/wine/wine-20040813/libs/port'
gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_REENTRANT 
-fPIC -Wall -pipe -fno-strict-aliasing -gstabs+ -Wpointer-arith  -g -O2 -o 
interlocked.o interlocked.c
interlocked.c:248:3: #error You must implement the interlocked* functions 
for your CPU
make[2]: *** [interlocked.o] Error 1
make[2]: Leaving directory `/home/chuck/src/wine/wine-20040813/libs/port'
make[1]: *** [port] Error 2
make[1]: Leaving directory `/home/chuck/src/wine/wine-20040813/libs'
make: *** [libs] Error 2
chuck at sniper wine-20040813 $

After looking at the file libs/port/interlocked.c  I noticed that there
are special instructions for the UltraSPARC proc.  Since I do not read or
know asm, I looked at the #include for for Solaris (/usr/include/synch.h).

pulled from solaris 9 on sparc.  (/usr/include/synch.h)
 * synch.h:
 * definitions needed to use the thread synchronization interface

I then looked through a number of other include files and noticed that 
all this seems to be is a control for threads.  Under linux on the AMD
Opetron could you not use the pthreads.h #include file?

If you need access to a AMD Opetron box I can setup remote access (via 
SSH) so you can test the code, or I can try the patches (if any) sent.

Have Fun!
Chuck Hall

More information about the wine-devel mailing list