Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Aug 2002 05:36:16 -0600
From:      "GERARDO ENRIQUE PAREDES MANCIA" <g.paredes@unitec.edu>
To:        freebsd-questions@freebsd.org, freebsd-hackers@freebsd.org
Subject:   problems with pthreads
Message-ID:  <6647ea481bf9ec68.1bf9ec686647ea48@unitec.edu>

next in thread | raw e-mail | index | archive | help
when trying to portupgrade XFree86-clients from 4.2.??? to the newest version i  
get this:  
  
<snip>  
LD_LIBRARY_PATH=../../exports/lib cc -O -pipe -march=pentiumpro  -ansi -pedantic  
-Dasm=__asm -Wall -Wpointer-arith     -I../.. -I../../exports/include    
-DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -c appres.c  
In file included from appres.c:34:  
/usr/include/stdlib.h:110: warning: ANSI C does not support `long long'  
/usr/include/stdlib.h:114: warning: ANSI C does not support `long long'  
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  
  
  
i get the same errors when trying to compile wxWindows apps with:  
  
 g++ -o proggy proggy.cpp `wx-config --libs` `wx-config --cxxflags`   
  
  
however i got my wxwindows apps to compile (with some warnings) adding -lc_r  
after the above line.  
  
i just recently build the world, i track RELENG_4 on a weekly basis, is this 
problem related to it? if don't, please provide me with any insight how to fix 
it. 
 
Thanks 
Gerardo 

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6647ea481bf9ec68.1bf9ec686647ea48>