From: Nathan H. <hj...@me...> - 2013-05-24 19:29:43
|
Huh, thats interesting. Can you send me the config.log after running configure with --diable-udev? It will have more information on why it can't use netlink.h. -Nathan On May 24, 2013, at 1:26 PM, mav <spl...@gm...> wrote: > ----------- > Output for "./configure --host="nios2-linux-uclibc" --disable-shared > --with-pic --disable-udev": > > <initial lines stripped> > ... > checking operating system... Linux > checking for clock_gettime in -lrt... yes > ./configure: line 11981: -pthread: command not found > 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 lib...@li... ## > configure: WARNING: ## ------------------------------------------------- ## > checking for linux/netlink.h... no > configure: error: "Linux netlink headers not found" > > ----------- > Output for "./configure --host="nios2-linux-uclibc" --disable-shared > --with-pic --with-udev=no": > > <initial lines stripped> > ... > checking operating system... Linux > checking for clock_gettime in -lrt... yes > ./configure: line 11981: -pthread: command not found > checking libudev.h usability... no > checking libudev.h presence... no > checking for libudev.h... no > configure: error: "udev support requested but libudev not installed" > > On Fri, May 24, 2013 at 3:06 PM, Nathan Hjelm <hj...@me...> wrote: >> >> On May 24, 2013, at 1:00 PM, mav <spl...@gm...> wrote: >> >>> Hi, >>> >>> I need to use "libftdi1" that requires libusb-1.0.16-rc10. The >>> compilation of libusb-1.0.16-rc10 fails as described below. >>> >>> "./configure --with-udev=no" output: >>> configure: error: "udev support requested but libudev not installed" >>> >>> It seems libusb configure script does not handle "--with-udev" when >>> set to ''no". >>> >>> "./configure --disable-udev" fails on netlink compilation. >> >> --with-udev doesn't work and the correct option is --disable-udev. >> >>> I am using uClinux with 2.6.28 kernel and have described my setup at: >>> http://developer.intra2net.com/mailarchive/html/libftdi/2013/msg00228.html >>> >>> My question is whether libusb-1.0.16-rc10 can be used without udev? >> >> netlink support should work but hasn't been tested with uClinux. What error are you seeing? >> >> -Nathan > > > > -- > hi, > > > - mav |