Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Apr 2002 17:43:35 -0700
From:      FreeBSD question <charles.burns@cox.net>
To:        questions@freebsd.org
Subject:   Help! X absolutely refuses to build.
Message-ID:  <3CB62DB7.3010404@cox.net>

next in thread | raw e-mail | index | archive | help
    I've been trying to build X and some WMs  for about a week now, and 
they keep dying on build.
I get the following message all over the place:
####################
installing in programs/appres...
rm -f appres
LD_LIBRARY_PATH=../../exports/lib cc -o appres  -ansi -pedantic 
-Dasm=__asm -Wall -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'
/usr/X11R6/lib/libXThrStub.so.6: undefined reference to `_Xthr_zero_stub_'
../../exports/lib/libX11.so: undefined reference to `pthread_cond_broadcast'
/usr/X11R6/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 /usr/ports/x11/XFree86-4-clients/work/xc/programs/appres.
*** Error code 1
[...]
*** Error code 1
Stop in /usr/ports/x11/XFree86-4.
####################

I can "make" x version 4, but the "make install" is what kills it. I 
have looked on Google for these errors and have seen nothing helpful; 
one person has sent this in as a bug (in 2000) but I am not sure if it 
was ever fixed.

Surely there's something wrong with my config--XFree, Gnome, KDE2, etc. 
are high visibility ports and I can't imagine them staying broken for a 
long period of time.

The port that seems to be causing the trouble is: 
/usr/ports/x11/XFree86-4-clients

I have done a full CVS update at least ten times now, the last time 
directly from the main FreeBSD site. My uname -a output is:
FreeBSD palladium 4.5-STABLE FreeBSD 4.5-STABLE #1: Tue Apr  9 02:41:47 
PDT 2002     root@palladium:/usr/obj/usr/src/sys/PALLADIUM  i386


Of note is that I saw a similar message to the error above when building 
Xfree  several times, but it never stopped and ended saying that the 
build was complete. I made a complete build log, but it's far too large 
to post in a message board.

Please let me know if you need any more info--this is really irritating!



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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