1

Temat: kompilacja - brak libusb

libusb jest zaznaczone a przy kompilacji pojawia się błąd:

configure: error: "USB drivers requested, but libusb not found."

make[3]: Leaving directory `/home/sly/openwrt/trunk/attitude_adjustment/feeds/packages/utils/nut'

NUT'a nie zaznaczałem.
Walcze z tym już trzeci dzień i nie wiem gdzie jest błąd i ewentualnie o czym zapomniałem. HELP please

2

Odp: kompilacja - brak libusb

Są dwa - libusb i libusb-1.0, oba dają pliki nagłówkowe w innych miejscach. Zaznacz oba i zobacz.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: kompilacja - brak libusb

Oba byly zaznaczone.

4

Odp: kompilacja - brak libusb

Zrób kompilację (tylko bez -j!) i pokaż kilkanaście ostatnich linii z błędem.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

5 (edytowany przez Sly 2013-09-10 12:18:43)

Odp: kompilacja - brak libusb

błąd z libusb magicznie zniknął.

Natomiast pojawił się z libiconv (jest zaznaczone full i "zwykłe")

make V=99 :

/home/sly/openwrt/trunk/attitude_adjustment/staging_dir/toolchain-i386_gcc-4.6-linaro_uClibc-0.9.33.2/lib/gcc/i486-openwrt-linux-uclibc/4.6.3/../../../../i486-openwrt-linux-uclibc/bin/ld: warning: libiconv.so.2, needed by /home/sly/openwrt/trunk/attitude_adjustment/staging_dir/target-i386_uClibc-0.9.33.2/usr/lib/libglib-2.0.so, not found (try using -rpath or -rpath-link)
/home/sly/openwrt/trunk/attitude_adjustment/staging_dir/target-i386_uClibc-0.9.33.2/usr/lib/libglib-2.0.so: undefined reference to `libiconv'
/home/sly/openwrt/trunk/attitude_adjustment/staging_dir/target-i386_uClibc-0.9.33.2/usr/lib/libglib-2.0.so: undefined reference to `libiconv_open'
/home/sly/openwrt/trunk/attitude_adjustment/staging_dir/target-i386_uClibc-0.9.33.2/usr/lib/libglib-2.0.so: undefined reference to `libiconv_close'
collect2: ld returned 1 exit status
make[6]: *** [gst-xmllaunch] Error 1
make[6]: Leaving directory `/home/sly/openwrt/trunk/attitude_adjustment/build_dir/target-i386_uClibc-0.9.33.2/gstreamer-0.10.36/tools'
Making all in m4
make[6]: Entering directory `/home/sly/openwrt/trunk/attitude_adjustment/build_dir/target-i386_uClibc-0.9.33.2/gstreamer-0.10.36/m4'
make[6]: Nothing to be done for `all'.
make[6]: Leaving directory `/home/sly/openwrt/trunk/attitude_adjustment/build_dir/target-i386_uClibc-0.9.33.2/gstreamer-0.10.36/m4'
Making all in common
make[6]: Entering directory `/home/sly/openwrt/trunk/attitude_adjustment/build_dir/target-i386_uClibc-0.9.33.2/gstreamer-0.10.36/common'
Making all in m4
make[7]: Entering directory `/home/sly/openwrt/trunk/attitude_adjustment/build_dir/target-i386_uClibc-0.9.33.2/gstreamer-0.10.36/common/m4'
make[7]: Nothing to be done for `all'.
make[7]: Leaving directory `/home/sly/openwrt/trunk/attitude_adjustment/build_dir/target-i386_uClibc-0.9.33.2/gstreamer-0.10.36/common/m4'
make[7]: Entering directory `/home/sly/openwrt/trunk/attitude_adjustment/build_dir/target-i386_uClibc-0.9.33.2/gstreamer-0.10.36/common'
make[7]: Nothing to be done for `all-am'.
make[7]: Leaving directory `/home/sly/openwrt/trunk/attitude_adjustment/build_dir/target-i386_uClibc-0.9.33.2/gstreamer-0.10.36/common'
make[6]: Leaving directory `/home/sly/openwrt/trunk/attitude_adjustment/build_dir/target-i386_uClibc-0.9.33.2/gstreamer-0.10.36/common'
make[6]: Entering directory `/home/sly/openwrt/trunk/attitude_adjustment/build_dir/target-i386_uClibc-0.9.33.2/gstreamer-0.10.36'
make[6]: Leaving directory `/home/sly/openwrt/trunk/attitude_adjustment/build_dir/target-i386_uClibc-0.9.33.2/gstreamer-0.10.36'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/sly/openwrt/trunk/attitude_adjustment/build_dir/target-i386_uClibc-0.9.33.2/gstreamer-0.10.36'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/sly/openwrt/trunk/attitude_adjustment/build_dir/target-i386_uClibc-0.9.33.2/gstreamer-0.10.36'
make[3]: *** [/home/sly/openwrt/trunk/attitude_adjustment/build_dir/target-i386_uClibc-0.9.33.2/gstreamer-0.10.36/.built] Error 2
make[3]: Leaving directory `/home/sly/openwrt/trunk/attitude_adjustment/feeds/packages/multimedia/gstreamer'
make[2]: *** [package/feeds/packages/gstreamer/compile] Error 2
make[2]: Leaving directory `/home/sly/openwrt/trunk/attitude_adjustment'
make[1]: *** [/home/sly/openwrt/trunk/attitude_adjustment/staging_dir/target-i386_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/sly/openwrt/trunk/attitude_adjustment'
make: *** [world] Błąd 2

6

Odp: kompilacja - brak libusb

Zaznacz jeszcze full nls w opcjach kompilacji.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

7

Odp: kompilacja - brak libusb

Jest "full language support"

8

Odp: kompilacja - brak libusb

To zrekompiluj gstreamer-0.10.36 jeszcze raz lub w ogóle odznacz.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

9

Odp: kompilacja - brak libusb

Okazało się, że miałem "rozjechane" środowisko.
Kompilacja już działa.