Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jan 2001 19:57:13 +0100
From:      Stephan van Beerschoten <stephanb@whacky.net>
To:        ports@freebsd.org
Cc:        current@freebsd.org
Subject:   x11/XFree86-4
Message-ID:  <20010131195713.A7144@enigma.whacky.net>

next in thread | raw e-mail | index | archive | help
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]       stephanb@whacky.net
  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 majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010131195713.A7144>