I've updated to OpenWrt trunk from from a version about 3 mo's old
(r39762) and I'm finding that with the various packages I've selected
in my .config something is causing feeds/packages/utils/nut to build
which fails with:

...
checking for pm_connect... no
checking for avahi-core version via pkg-config (0.6.30 minimum
required)... none found
checking for avahi-client version via pkg-config (0.6.30 minimum
required)... none found
checking for avahi cflags...
checking for avahi ldflags...
checking for avahi-common/malloc.h... no
checking for avahi_free... no
checking whether to build serial drivers... yes
configure: error: "USB drivers requested, but libusb not found."
make[3]: *** 
[/usr/src/openwrt/git/build_dir/target-arm_cortex-a9+neon_uClibc-0.9.33.2_eabi/nut-2.6.5/.configured_]
Error 1
make[3]: Leaving directory `/usr/src/openwrt/git/feeds/packages/utils/nut'
make[2]: *** [package/feeds/packages/nut/compile] Error 2
make[2]: Leaving directory `/usr/src/openwrt/git'
make[1]: *** 
[/usr/src/openwrt/git/staging_dir/target-arm_cortex-a9+neon_uClibc-0.9.33.2_eabi/stamp/.package_compile]
Error 2
make[1]: Leaving directory `/usr/src/openwrt/git'
make: *** [world] Error 2

I do have libusb-1.0=y and libusb-compat=y in my config so I'm still
not clear why nut fails.  I read that nut requires libusb-0.1 but
adding +libusb-compat to its DEPENDS did not help.

However the thing that bothers me more than 'nut' failing, is the fact
that it is _not_ selected in my .config.  What would be causing it to
build?   If I uninstall the package (./scripts/feeds uninstall nut) my
build succeeds fine.

Any ideas?

Thanks,

Tim
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to