Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 May 2007 01:30:40 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        ports@freebsd.org
Subject:   libusb failed
Message-ID:  <20070531.013040.-135505334.imp@bsdimp.com>

next in thread | raw e-mail | index | archive | help
Maybe this is old news, but libusb failed for me:

(cd .libs && rm -f libusb.la && ln -s ../libusb.la libusb.la)
if /bin/sh /usr/local/bin/libtool --mode=compile c++ -DHAVE_CONFIG_H    -I.    -O2 -fno-strict-aliasing -pipe -MT usbpp.lo -MD -MP -MF ".deps/usbpp.Tpo" -c -o usbpp.lo usbpp.cpp;  then mv -f ".deps/usbpp.Tpo" ".deps/usbpp.Plo"; else rm -f ".deps/usbpp.Tpo"; exit 1; fi
 c++ -DHAVE_CONFIG_H -I. -O2 -fno-strict-aliasing -pipe -MT usbpp.lo -MD -MP -MF .deps/usbpp.Tpo -c usbpp.cpp  -fPIC -DPIC -o .libs/usbpp.o
 c++ -DHAVE_CONFIG_H -I. -O2 -fno-strict-aliasing -pipe -MT usbpp.lo -MD -MP -MF .deps/usbpp.Tpo -c usbpp.cpp -o usbpp.o >/dev/null 2>&1
/bin/sh /usr/local/bin/libtool --mode=link c++  -O2 -fno-strict-aliasing -pipe    -o libusbpp.la -rpath /usr/local/lib -version-info 8:4:4  -release 0.1  -export-dynamic   -lusb  usbpp.lo  
c++ -shared -nostdlib /usr/lib/crti.o /usr/lib/crtbeginS.o  .libs/usbpp.o  -Wl,--rpath -Wl,/tmp/ports/devel/libusb/work/libusb-0.1.12/.libs -Wl,--rpath -Wl,/usr/local/lib /tmp/ports/devel/libusb/work/libusb-0.1.12/.libs/libusb.so -L/usr/lib -lstdc++ -lm -lgcc_pic /usr/lib/crtendS.o /usr/lib/crtn.o  -Wl,-soname -Wl,libusbpp-0.1.so.8 -o .libs/libusbpp-0.1.so.8
/usr/bin/ld: cannot find -lgcc_pic
*** Error code 1

Stop in /tmp/ports/devel/libusb/work/libusb-0.1.12.
*** Error code 1

Stop in /tmp/ports/devel/libusb/work/libusb-0.1.12.
*** Error code 1

Stop in /tmp/ports/devel/libusb/work/libusb-0.1.12.
*** Error code 1

Stop in /tmp/ports/devel/libusb.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.60394.37 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=libusb-0.1.12 UPGRADE_PORT_VER=0.1.12 make
** Fix the problem and try again.

Any ideas?

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070531.013040.-135505334.imp>