libusb broken on 4.11

Steven Friedrich FreeBSD at InsightBB.com
Thu May 26 13:12:46 PDT 2005


On Thursday 26 May 2005 02:44 pm, Pav Lucistnik wrote:
> Steven Friedrich píše v čt 26. 05. 2005 v 14:38 -0400:
> > Is anyone aware that port libusb won't build on 4.11?
> >
> > It's been this way for over a month.
>
> Compiles just fine here.

Here it fails like this:
<snip>
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'
<snip>


More information about the freebsd-ports mailing list