Compiler problems

Marcelo Duarte wine-devel at bol.com.br
Mon Nov 17 23:34:29 CST 2003


Updating wine to current cvs, I get an error, can someone help me:

I run ./configure; make depend && make
make[2]: Entering directory `/home/mduarte/wine-cvs/dlls/winmm/winearts'
gcc -shared -Wl,-Bsymbolic,-z,defs winearts.drv.spec.o    arts.o audio.o  
winearts.drv.dbg.o -o winearts.drv.so -L../../../libs/wine -lwine 
-L/usr/lib/kde3/lib -ldl -lartsc -lpthread -L../../../libs/uuid -lwine_uuid 
-L../../../libs/port -lwine_port  -lm  -lc
/usr/bin/ld: cannot find /usr/lib/libpthread_nonshared.a
collect2: ld returned 1 exit status
make[2]: ** [winearts.drv.so] Erro 1
make[2]: Leaving directory `/home/mduarte/wine-cvs/dlls/winmm/winearts'
make[1]: ** [winmm/winearts] Erro 2
make[1]: Leaving directory `/home/mduarte/wine-cvs/dlls'
make: ** [dlls] Erro 2


Entering in directory loader and make:
[mduarte at mduarte loader]$ make clean
rm -f *.o *.a *.so *.ln *.so \#*\# *~ *% .\#* *.bak *.orig *.rej *.flc 
*.spec.c *.spec.def *.dbg.c y.tab.c y.tab.h lex.yy.c core
rm -f wine-glibc wine-kthread wine-pthread wine
[mduarte at mduarte loader]$ make
gcc -c -I. -I. -I../include -I../include    -Wall -mpreferred-stack-boundary=2 
-fno-strict-aliasing -gstabs+ -Wpointer-arith  -g -O2 -o glibc.o glibc.c
gcc -o wine-glibc -Wl,--section-start,.interp=0x3c000100 -Wl,--export-dynamic 
glibc.o -L../libs/wine -lwine -L../libs/port -lwine_port
glibc.o(.text+0x84): In function `get_threading':
/home/mduarte/wine-cvs/loader/glibc.c:61: undefined reference to 
`pthread_create'
glibc.o(.text+0x90):/home/mduarte/wine-cvs/loader/glibc.c:62: undefined 
reference to `pthread_join'
collect2: ld returned 1 exit status
make: ** [wine-glibc] Erro 1

-- 
Marcelo Duarte




More information about the wine-devel mailing list