libusb broken on 4.11

Pav Lucistnik pav at FreeBSD.org
Thu May 26 13:16:34 PDT 2005


Steven Friedrich píše v čt 26. 05. 2005 v 16:12 -0400:
> 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>

Just a guess, can you try deleting gcc-3.3.X package, installing
gcc-3.4.X package and retry?

-- 
Pav Lucistnik <pav at oook.cz>
              <pav at FreeBSD.org>

arch> I went grocery shopping, made a pot of chilli, played ey,
then ate some chilli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20050526/89ae5b5d/attachment.bin


More information about the freebsd-ports mailing list