/bin/sh ../libtool --mode=link i686-pc-linux-gnu-g++ -march=i686 -pipe -fomit-f rame-pointer -O2 -ftracer -ffast-math -fweb -frename-registers -fvisibility-inli nes-hidden -fvisibility=hidden -Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -z combreloc -o descriptor_test descriptor_test.o ../libusbpp.la i686-pc-linux-gnu-g++ -march=i686 -pipe -fomit-frame-pointer -O2 -ftracer -ffast -math -fweb -frename-registers -fvisibility-inlines-hidden -fvisibility=hidden - Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -z combreloc -o .libs/descriptor _test descriptor_test.o ../.libs/libusbpp.so /var/tmp/portage/libusb-0.1.10a/wo rk/libusb-0.1.10a/.libs/libusb.so /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++ .so -L/usr/i686-pc-linux-gnu/bin -L/usr/i686-pc-linux-gnu/lib descriptor_test.o: In function `main': descriptor_test.cpp:(.text+0x24): undefined reference to `USB::Busses::Busses()' descriptor_test.cpp:(.text+0x6c): undefined reference to `USB::Device::fileName( )' descriptor_test.cpp:(.text+0x7e): undefined reference to `USB::Bus::directoryNam e()' descriptor_test.cpp:(.text+0x136): undefined reference to `USB::Device::idVendor ()' descriptor_test.cpp:(.text+0x1ca): undefined reference to `USB::Device::idProduc t()' descriptor_test.cpp:(.text+0x22a): undefined reference to `USB::Device::Vendor() ' descriptor_test.cpp:(.text+0x28d): undefined reference to `USB::Device::Vendor() ' descriptor_test.cpp:(.text+0x2eb): undefined reference to `USB::Device::Product( )' descriptor_test.cpp:(.text+0x34e): undefined reference to `USB::Device::Product( )' descriptor_test.cpp:(.text+0x3ac): undefined reference to `USB::Device::SerialNu mber()' descriptor_test.cpp:(.text+0x40b): undefined reference to `USB::Device::SerialNu mber()' descriptor_test.cpp:(.text+0x462): undefined reference to `USB::Device::firstCon figuration()' descriptor_test.cpp:(.text+0x47a): undefined reference to `USB::Device::numConfi gurations()' descriptor_test.cpp:(.text+0x494): undefined reference to `USB::Configuration::d umpDescriptor()' descriptor_test.cpp:(.text+0x4a2): undefined reference to `USB::Configuration::f irstInterface()' descriptor_test.cpp:(.text+0x4bd): undefined reference to `USB::Configuration::n umInterfaces()' descriptor_test.cpp:(.text+0x4d7): undefined reference to `USB::Interface::first AltSetting()' descriptor_test.cpp:(.text+0x4f2): undefined reference to `USB::Interface::numAl tSettings()' descriptor_test.cpp:(.text+0x50c): undefined reference to `USB::AltSetting::dump Descriptor()' descriptor_test.cpp:(.text+0x51a): undefined reference to `USB::AltSetting::firs tEndpoint()' descriptor_test.cpp:(.text+0x535): undefined reference to `USB::AltSetting::numE ndpoints()' descriptor_test.cpp:(.text+0x54f): undefined reference to `USB::Endpoint::dumpDe scriptor()' descriptor_test.cpp:(.text+0x55d): undefined reference to `USB::AltSetting::next Endpoint()' descriptor_test.cpp:(.text+0x9ba): undefined reference to `USB::Interface::nextA ltSetting()' descriptor_test.cpp:(.text+0x9d3): undefined reference to `USB::Device::nextConf iguration()' descriptor_test.cpp:(.text+0x9fa): undefined reference to `USB::Configuration::n extInterface()' collect2: ld returned 1 exit status make[2]: *** [descriptor_test] Ошибка 1 make[2]: Leaving directory `/var/tmp/portage/libusb-0.1.10a/work/libusb-0.1.10a/ tests' make[1]: *** [all-recursive] Ошибка 1 make[1]: Leaving directory `/var/tmp/portage/libusb-0.1.10a/work/libusb-0.1.10a' make: *** [all] Ошибка 2 !!! ERROR: dev-libs/libusb-0.1.10a failed. !!! Function src_compile, Line 49, Exitcode 2 Reproducible: Always Steps to Reproduce: 1. 2. 3. amazing ~ # emerge info Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5.20050722-r0, 2.6.12-gentoo-r6 i686) ================================================================= System uname: 2.6.12-gentoo-r6 i686 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.13 dev-lang/python: 2.3.4-r1, 2.4.1-r1 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.16.91.0.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS=" -march=i686 -pipe -fomit-frame-pointer -O2 -ftracer -ffast-math -fweb -frename-registers" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS=" -march=i686 -pipe -fomit-frame-pointer -O2 -ftracer -ffast-math -fweb -frename-registers -fvisibility-inlines-hidden -fvisibility=hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg distlocks prelink sandbox sfperms strict strip" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LANG="ru_RU.UTF-8" LDFLAGS=" -Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -z combreloc " LINGUAS="ru" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://127.0.0.1/gentoo-portage" USE="x86 X acpi alsa bzip2 crypt cups esd firefox gnome gpm gstreamer hal javascript jpeg logrotate mad mmx moznocompose moznoirc moznomail ncurses nls nptl oggvorbis opengl oss pic png readline samba slang socks5 sse ssl truetype unicode xine xprint xv zlib linguas_ru userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL
-fvisibility* stuff needs to be fixed upstream.