From owner-freebsd-questions@FreeBSD.ORG Fri Jul 23 11:15:23 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15C00106564A for ; Fri, 23 Jul 2010 11:15:23 +0000 (UTC) (envelope-from claudiu.vasadi@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 990AE8FC0C for ; Fri, 23 Jul 2010 11:15:22 +0000 (UTC) Received: by wwe15 with SMTP id 15so4078837wwe.31 for ; Fri, 23 Jul 2010 04:15:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=0Ief7kLmlkJg5d62qzCQ3tOJpOq8/sBKAY3LKslIqjQ=; b=ESrmO1Iy3W/6SWceQ8JKXarlR5Tac6nHtOg4PFxEnq8Pwzzge+lZ+LUBkuJCfOSB+A wspYzrkAXKi+nckgp17a0EdHkvzHR9edr6HsKOyr8Rvf83AZ2a2hvDKLg7uDkFFP+7K6 PQA+OEWcr4mmoL7xuPy7b3eNnIkxY8j9fzP5M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=I53RfXrvJyT4ySEBPkqRxsJBuIOZUvxWJujearKyMC4s3AVQWb0gI+xBQ7CuN5k0wZ hDaOqIWRdVSAa0M5TME0RFk6mCUvj8LlFzbgGHklcWLamSlECXhEbwm8tODdJJmNKR1i 0f8XOvzMhcT7bx2P59ItmhnmcJe6VdYkgOzq0= MIME-Version: 1.0 Received: by 10.227.27.197 with SMTP id j5mr2462054wbc.111.1279883721379; Fri, 23 Jul 2010 04:15:21 -0700 (PDT) Received: by 10.216.12.209 with HTTP; Fri, 23 Jul 2010 04:15:21 -0700 (PDT) Date: Fri, 23 Jul 2010 13:15:21 +0200 Message-ID: From: claudiu vasadi To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: /usr/lib/libpthread.so: undefined reference to `__pselect' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jul 2010 11:15:23 -0000 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?