On Wed, Jul 24, 2013 at 7:40 PM, jakubon2 <ondrej.jaku...@nsl.eu.com> wrote:
> Hi there, I am reporting the same problem with Xilinx Linux for ARM. I am
> calling:
>
> TOOLCHAIN=/opt/Xilinx/14.3/ISE_DS/EDK/gnu/arm/lin64/arm-xilinx-linux-gnueabi
> PATH=$PATH:$TOOLCHAIN/bin
> CC='arm-xilinx-linux-gnueabi-gcc'
> CROSS_COMPILE=arm-xilinx-linux-gnueabi-
> export CC CROSS_COMPILE
> ./configure --host arm-linux --disable-udev
> make
> cp libusb.h $TOOLCHAIN/arm-none-linux-gnueabi/include/
> cp libusb.h $TOOLCHAIN/arm-none-linux-gnueabi/sysroot/include/
> cp .libs/libusb-1.0.so $TOOLCHAIN/arm-none-linux-gnueabi/lib/
> cp .libs/libusb-1.0.so $TOOLCHAIN/arm-none-linux-gnueabi/sysroot/lib/
>
> returning:
>
> ...
> checking linux/netlink.h usability... no
> checking linux/netlink.h presence... yes
> configure: WARNING: linux/netlink.h: present but cannot be compiled
> configure: WARNING: linux/netlink.h:     check for missing prerequisite
> headers?
> configure: WARNING: linux/netlink.h: see the Autoconf documentation
> configure: WARNING: linux/netlink.h:     section "Present But Cannot Be
> Compiled"
> configure: WARNING: linux/netlink.h: proceeding with the compiler's result
> configure: WARNING:     ##
> -------------------------------------------------- ##
> configure: WARNING:     ## Report this to
> libusbx-devel@lists.sourceforge.net ##
> configure: WARNING:     ##
> -------------------------------------------------- ##
> checking for linux/netlink.h... no
> configure: error: "Linux netlink headers not found"
>
> The full config.log is here:
>
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.

I think this is a problem with libusbx. The configure should not go to
error when the netlink headers can not be used or can not
be found, it should then just disable hotplug feature for the platform.


-- 
Xiaofan

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to