From owner-freebsd-ports Tue Oct 8 5:26:23 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 611BF37B401 for ; Tue, 8 Oct 2002 05:26:22 -0700 (PDT) Received: from birch.ripe.net (birch.ripe.net [193.0.1.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 71B8543E77 for ; Tue, 8 Oct 2002 05:26:21 -0700 (PDT) (envelope-from marks@ripe.net) Received: from laptop.6bone.nl (cow.ripe.net [193.0.1.239]) by birch.ripe.net (8.12.5/8.11.6) with SMTP id g98CQJMG019019 for ; Tue, 8 Oct 2002 14:26:19 +0200 Received: (nullmailer pid 32120 invoked by uid 1000); Tue, 08 Oct 2002 12:26:08 -0000 Date: Tue, 8 Oct 2002 14:26:08 +0200 From: Mark Santcroos To: ports@freebsd.org Subject: gphoto2 on current (libtool) Message-ID: <20021008122608.GA29951@laptop.6bone.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-Handles: MS6-6BONE, MS18417-RIPE X-RIPE-Spam-Status: NONE ; -1018 X-RIPE-Spam-Level: Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I can't build gphoto2 on -current. Buildlog follows. ---------- Making all in command-line gmake[2]: Entering directory `/usr/ports/graphics/gphoto2/work/gphoto2-2.1.0/frontends/command-line' /bin/sh ../../libtool --mode=link cc -O -pipe -mcpu=pentiumpro -Wmissing-declarations -Wmissing-prototypes -L/usr/local/lib -lc_r -o gphoto2 -export-dynamic gphoto2-cmd-capture.o actions.o foreach.o main.o options.o range.o shell.o ../../libgphoto2_port/libgphoto2_port/libgphoto2_port.la ../../libgphoto2/libgphoto2.la -L/usr/local/lib -Wl,-rpath,/usr/local/lib -laa -lm -L/usr/X11R6/lib -lX11 -lncurses -ljpeg -lc_r -L/usr/local/lib -lexif -lm -lintl -liconv -lintl -lreadline cc -O -pipe -mcpu=pentiumpro -Wmissing-declarations -Wmissing-prototypes -o .libs/gphoto2 gphoto2-cmd-capture.o actions.o foreach.o main.o options.o range.o shell.o -Wl,-rpath -Wl,/usr/local/lib -Wl,--export-dynamic -L/usr/local/lib ../../libgphoto2_port/libgphoto2_port/.libs/libgphoto2_port.so ../../libgphoto2/.libs/libgphoto2.so /usr/ports/graphics/gphoto2/work/gphoto2-2.1.0/libgphoto2_port/libgphoto2_port/.libs/libgphoto2_port.so -laa -L/usr/X11R6/lib -lX11 -lncurses -ljpeg -lexif -lm -liconv -lintl -lreadline -Wl,--rpath -Wl,/usr/local/lib main.o: In function `thread_func': main.o(.text+0x2108): undefined reference to `pthread_cleanup_push' main.o(.text+0x2148): undefined reference to `pthread_testcancel' main.o: In function `start_timeout_func': main.o(.text+0x2199): undefined reference to `pthread_create' main.o: In function `stop_timeout_func': main.o(.text+0x21c0): undefined reference to `pthread_cancel' main.o(.text+0x21d0): undefined reference to `pthread_join' gmake[2]: *** [gphoto2] Error 1 gmake[2]: Leaving directory `/usr/ports/graphics/gphoto2/work/gphoto2-2.1.0/frontends/command-line' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/graphics/gphoto2/work/gphoto2-2.1.0/frontends' gmake: *** [all-recursive] Error 1 *** Error code 2 Stop in /usr/ports/graphics/gphoto2. laptop# ---------------- If I change the offending line (the last one) and run it manually with '-lc_r' appended then it compiles correctly. However, I don't know how to change this structually because it works with libtool which I'm not familiar with. Mark -- Mark Santcroos RIPE Network Coordination Centre http://www.ripe.net/home/mark/ New Projects Group/TTM To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message