I am having trouble compiling XFree86 from the ports tree.. I once
ever few weeks recompile several packages again because I run -CURRENT
and want to keep everything nicely sync'ed and updated in ports too..
But while compiling .. I got this error:
LD_LIBRARY_PATH=../../exports/lib cc -o appres -ansi -pedantic -Dasm=__asm -Wal
l -Wpointer-arith -L../../exports/lib appres.o -lXt -lSM -lICE -lXext -lX11
-L/usr/X11R6/lib -Wl,-rpath,/usr/X11R6/lib
../../exports/lib/libXt.so: undefined reference to `pthread_cond_signal'
../../exports/lib/libXThrStub.so.6: undefined reference to `_Xthr_zero_stub_'
../../exports/lib/libX11.so: undefined reference to `pthread_cond_broadcast'
../../exports/lib/libXThrStub.so.6: undefined reference to `_Xthr_self_stub_'
../../exports/lib/libXt.so: undefined reference to `pthread_cond_init'
../../exports/lib/libXt.so: undefined reference to `pthread_mutex_unlock'
../../exports/lib/libXt.so: undefined reference to `pthread_self'
../../exports/lib/libXt.so: undefined reference to `pthread_mutex_destroy'
../../exports/lib/libXt.so: undefined reference to `pthread_mutex_lock'
../../exports/lib/libXt.so: undefined reference to `pthread_cond_wait'
../../exports/lib/libXt.so: undefined reference to `pthread_cond_destroy'
../../exports/lib/libXt.so: undefined reference to `pthread_mutex_init'
*** Error code 1
Stop in /mnt/archive/CVS/ports/x11/XFree86-4/work/xc/programs/appres.
I am using the ports tree which cvs'sed about half an hour ago. I am not
much of a programmer, but I do recall several undef references, so I
tried to link with libc_r too. Which gave me a better result, while
still failing:
LD_LIBRARY_PATH=../../exports/lib cc -lc_r -o appres -ansi -pedantic -Dasm=__as
m -Wall -Wpointer-arith -L../../exports/lib appres.o -lXt -lSM -lICE -lXext
-lX11 -L/usr/X11R6/lib -Wl,-rpath,/usr/X11R6/lib
../../exports/lib/libXThrStub.so.6: undefined reference to `_Xthr_zero_stub_'
../../exports/lib/libXThrStub.so.6: undefined reference to `_Xthr_self_stub_'
*** Error code 1
Stop in /mnt/archive/CVS/ports/x11/XFree86-4/work/xc/programs/appres.
I don't know what to do with these undefs .. so, any help would be
appreciated. I'm not on the -ports list, so please include me in any
mail referencing this.
-Steve
--
Stephan van Beerschoten [SVB21-RIPE] [EMAIL PROTECTED]
PGP fingerprint: 4557 9761 B212 FB4C 778D 3529 C42A 2D27
"To err is human, to forgive is Not Company Policy"
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message