Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Feb 2004 19:56:06 +0000
From:      Jonathon McKitrick <jcm@FreeBSD-uk.eu.org>
To:        freebsd-stable@freebsd.org
Subject:   undefined reference to pthread_cond_init?
Message-ID:  <20040228195606.GA37299@dogma.freebsd-uk.eu.org>
Resent-Message-ID: <200402282121.i1SLLTFr040212@dogma.freebsd-uk.eu.org>

next in thread | raw e-mail | index | archive | help

Most of my ports are reporting this problem during compilation:

----------------------------
LD_LIBRARY_PATH=/usr/ports/x11-servers/XFree86-4-Server/work/xc/exports/lib
cc -                                                                  o
xf86cfg -O3 -pipe -funroll-loops -ffast-math -march=pentiumpro -ansi
-Dasm=__a
sm  -Wall -Wpointer-arith -Wundef
-L/usr/ports/x11-servers/XFree86-4-Server/
work/xc/exports/lib   accessx.o cards.o config.o        card-cfg.o
expert.o
help.o  interface.o     keyboard-cfg.o  libc_wrapper.o loader.o loadmod.o
monito
r-cfg.o mouse-cfg.o     options.o       screen-cfg.o    screen.o
startx.o
stubs.o text-mode.o     vidmode.o       xf86config.o -lxkbui -lxkbfile
-lxf86con
fig -lXxf86misc                   -lXxf86vm -lXaw -lXmu -lXt -lSM -lICE
-lXext -
lX11 -lXt -lSM -lICE              -lXpm -L../loader -lxloader -L../dummylib
-ldu                                                                  mmy
-rdynamic -lXext -lX11 -lncurses               -lm -L/usr/X11R6/lib     -Wl,
-rpath,/usr/X11R6/lib
/usr/X11R6/lib/libXt.so: undefined reference to `pthread_cond_signal'
/usr/X11R6/lib/libXThrStub.so.6: undefined reference to `_Xthr_zero_stub_'
/usr/X11R6/lib/libX11.so: undefined reference to `pthread_cond_broadcast'
/usr/X11R6/lib/libXThrStub.so.6: undefined reference to `_Xthr_self_stub_'
/usr/X11R6/lib/libXt.so: undefined reference to `pthread_cond_init'
/usr/X11R6/lib/libXt.so: undefined reference to `pthread_mutex_unlock'
/usr/X11R6/lib/libXt.so: undefined reference to `pthread_self'
/usr/X11R6/lib/libXt.so: undefined reference to `pthread_mutex_destroy'
/usr/X11R6/lib/libXt.so: undefined reference to `pthread_mutex_lock'
/usr/X11R6/lib/libXt.so: undefined reference to `pthread_cond_wait'
/usr/X11R6/lib/libXt.so: undefined reference to `pthread_cond_destroy'
/usr/X11R6/lib/libXt.so: undefined reference to `pthread_mutex_init'
*** Error code 1

Stop in
/usr/ports/x11-servers/XFree86-4-Server/work/xc/programs/Xserver/hw/xfre
e86/xf86cfg.
----------------------------

I saw another post with the same question, but no answer.  Please help!

NOTE: Please CC me, as I am not currently subscribed.  Thanks.

jm
-- 
My other computer is your windows box.


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