Date: Tue, 8 Oct 2002 14:26:08 +0200 From: Mark Santcroos <marks@ripe.net> To: ports@freebsd.org Subject: gphoto2 on current (libtool) Message-ID: <20021008122608.GA29951@laptop.6bone.nl>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021008122608.GA29951>