Date: Fri, 23 Jul 2010 13:15:21 +0200 From: claudiu vasadi <claudiu.vasadi@gmail.com> To: freebsd-questions@freebsd.org Subject: /usr/lib/libpthread.so: undefined reference to `__pselect' Message-ID: <AANLkTinsjaD%2BSJFvuAtsf9hYeTB0X8s9dmWjFap5URe1@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hello fellas, Lately, most compile from ports end up with the following: /usr/lib/libpthread.so: undefined reference to `__pselect' followed by the port exit error. Ex for jdk: gcc -g -c -o launcher.o launcher.c -m32 -march=i586 -I/usr/ports/java/jdk16/work/hotspot/src/os/bsd/launcher -I/usr/ports/java/jdk16/work/hotspot/src/share/vm/prims -DFULL_VERSION=\"1.6.0_03-p4-root_23_jul_2010_13_39-b00\" -DARCH=\"i386\" -DGAMMA -DLAUNCHER_TYPE=\"gamma\" -DLINK_INTO_LIBJVM -D_ALLBSD_SOURCE -D_GNU_SOURCE -DIA32 -DPRODUCT -I. -I../generated/adfiles -I../generated/jvmtifiles -I/usr/ports/java/jdk16/work/hotspot/src/share/vm/asm -I/usr/ports/java/jdk16/work/hotspot/src/share/vm/ci -I/usr/ports/java/jdk16/work/hotspot/src/share/vm/code -I/usr/ports/java/jdk16/work/hotspot/src/share/vm/compiler -I/usr/ports/java/jdk16/work/hotspot/src/share/vm/gc_implementation -I/usr/ports/java/jdk16/work/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep -I/usr/ports/java/jdk16/work/hotspot/src/share/vm/gc_implementation/parallelScavenge -I/usr/ports/java/jdk16/work/hotspot/src/share/vm/gc_implementation/shared -I/usr/ports/java/jdk16/work/hotspot/src/share/vm/gc_interface -I/usr/ports/java/jdk16/work/hotspot/src/share/vm/interpreter -I/usr/ports/java/jdk16/work/hotspot/src/share/vm/libadt -I/usr/ports/java/jdk16/work/hotspot/src/share/vm/memory -I/usr/ports/java/jdk16/work/hotspot/src/share/vm/oops -I/usr/ports/java/jdk16/work/hotspot/src/share/vm/opto -I/usr/ports/java/jdk16/work/hotspot/src/share/vm/prims -I/usr/ports/java/jdk16/work/hotspot/src/share/vm/runtime -I/usr/ports/java/jdk16/work/hotspot/src/share/vm/services -I/usr/ports/java/jdk16/work/hotspot/src/share/vm/utilities -I/usr/ports/java/jdk16/work/hotspot/src/cpu/i486/vm -I/usr/ports/java/jdk16/work/hotspot/src/os/bsd/vm -I/usr/ports/java/jdk16/work/hotspot/src/os_cpu/bsd_i486/vm -I../generated -DHOTSPOT_BUILD_VERSION="\"1.6.0_03-p4-root_23_jul_2010_13_39-b00\"" -DHOTSPOT_BUILD_USER="\"root\"" -DHOTSPOT_RELEASE_VERSION="\"1.6.0\"" { \ echo Linking launcher...; \ \ gcc -m32 -march=i586 -Xlinker -O1 -m32 -march=i586 -export-dynamic -L`pwd` -o gamma launcher.o -ljvm -lm -pthread; \ \ } Linking launcher... /usr/lib/libpthread.so: undefined reference to `__pselect' gmake[5]: *** [gamma] Error 1 gmake[5]: Leaving directory `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir/bsd_i486_compiler2/product' gmake[4]: *** [the_vm] Error 2 gmake[4]: Leaving directory `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir/bsd_i486_compiler2/product' gmake[3]: *** [product] Error 2 gmake[3]: Leaving directory `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir' gmake[2]: *** [generic_build2] Error 2 gmake[2]: Leaving directory `/usr/ports/java/jdk16/work/hotspot/make' gmake[1]: *** [product] Error 2 gmake[1]: Leaving directory `/usr/ports/java/jdk16/work/hotspot/make' gmake: *** [hotspot-build] Error 2 *** Error code 2 Stop in /usr/ports/java/jdk16. *** Error code 1 Stop in /usr/ports/java/jdk16. *** Error code 1 Stop in /usr/ports/devel/apache-ant. *** Error code 1 Stop in /usr/ports/editors/openoffice.org-3. Ideas?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinsjaD%2BSJFvuAtsf9hYeTB0X8s9dmWjFap5URe1>