build break in latest libusb

Steven Friedrich freeBSD at InsightBB.com
Fri Apr 29 11:59:57 PDT 2005


creating testlibusb
if g++33 -DHAVE_CONFIG_H    -I..    -O -pipe -MT descriptor_test.o -MD -MP -MF 
".deps/descriptor_test.Tpo" -c -o descriptor_test.o descriptor_test.cpp;  
then mv -f ".deps/descriptor_test.Tpo" ".deps/descriptor_test.Po"; else rm -f 
".deps/descriptor_test.Tpo"; exit 1; fi
/bin/sh ../libtool --mode=link g++33  -O -pipe    -o descriptor_test  
descriptor_test.o ../libusbpp.la
g++33 -O -pipe -o .libs/descriptor_test 
descriptor_test.o  ../.libs/libusbpp.so /usr/ports/devel/libusb/work/libusb-0.1.10a/.libs/libusb.so 
-Wl,--rpath -Wl,/usr/local/lib
descriptor_test.o: In function `main':
descriptor_test.o(.text+0x1f): undefined reference to 
`std::basic_ostream<char, std::char_traits<char> >& std::endl<char, 
std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&)'
descriptor_test.o(.text+0x2c): undefined reference to `std::cout'
descriptor_test.o(.text+0x31): undefined reference to 
`std::basic_ostream<char, std::char_traits<char> >& std::operator<< 
<std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, 
char const*)'

<snip a bunch of similiar lines>

collect2: ld returned 1 exit status
*** Error code 1

Stop in /usr/ports/devel/libusb/work/libusb-0.1.10a/tests.
*** Error code 1

Stop in /usr/ports/devel/libusb/work/libusb-0.1.10a.
*** Error code 1

Stop in /usr/ports/devel/libusb/work/libusb-0.1.10a.
*** Error code 1

Stop in /usr/ports/devel/libusb.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade32545.0 
make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
        ! devel/libusb (libusb-0.1.7_1) (linker error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed

-- 
FreeBSD 4.11-STABLE i386


More information about the freebsd-questions mailing list