Discussion:
libusb-1.0.16-rc10 without udev ?
mav
2013-05-24 19:00:49 UTC
Permalink
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.

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?

thanks,
mav
Nathan Hjelm
2013-05-24 19:06:43 UTC
Permalink
Post by mav
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: 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.
Post by mav
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
Nathan Hjelm
2013-05-24 19:29:32 UTC
Permalink
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
-----------
Output for "./configure --host="nios2-linux-uclibc" --disable-shared
<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: ## ------------------------------------------------- ##
checking for linux/netlink.h... no
configure: error: "Linux netlink headers not found"
-----------
Output for "./configure --host="nios2-linux-uclibc" --disable-shared
<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"
Post by Nathan Hjelm
Post by mav
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: 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.
Post by mav
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
mav
2013-05-24 19:45:22 UTC
Permalink
config.log is attached, the command used was:

./configure --prefix="/home/mav/uClinux-dist/user/test/libftdi_1/inst/nios2-linux-uclibc/usr"
--host="nios2-linux-uclibc" --disable-shared --with-pic --disable-udev
Post by Nathan Hjelm
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
-----------
Output for "./configure --host="nios2-linux-uclibc" --disable-shared
<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: ## ------------------------------------------------- ##
checking for linux/netlink.h... no
configure: error: "Linux netlink headers not found"
-----------
Output for "./configure --host="nios2-linux-uclibc" --disable-shared
<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"
Post by Nathan Hjelm
Post by mav
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: 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.
Post by mav
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
--
hi,


- mav
mav
2013-05-24 20:10:34 UTC
Permalink
hi,

<resend>
I am not sure whether file attachment are allowed in this group,
config.log out is pasted below:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by libusb configure 1.0.16-rc10, which was
generated by GNU Autoconf 2.69. Invocation command line was

$ ./configure
--prefix=/home/mav/uClinux-dist/user/test/libftdi_1/inst/nios2-linux-uclibc/usr
--host=nios2-linux-uclibc --disable-shared --with-pic --disable-udev

## --------- ##
## Platform. ##
## --------- ##

hostname = ubuntu-jeos
uname -m = i686
uname -r = 2.6.24-16-virtual
uname -s = Linux
uname -v = #1 SMP Thu Apr 10 14:32:04 UTC 2008

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2403: checking for a BSD-compatible install
configure:2471: result: /usr/bin/install -c
configure:2482: checking whether build environment is sane
configure:2537: result: yes
configure:2596: checking for nios2-linux-uclibc-strip
configure:2626: result: no
configure:2636: checking for strip
configure:2652: found /usr/bin/strip
configure:2663: result: strip
configure:2688: checking for a thread-safe mkdir -p
configure:2727: result: /bin/mkdir -p
configure:2734: checking for gawk
configure:2750: found /usr/bin/gawk
configure:2761: result: gawk
configure:2772: checking whether make sets $(MAKE)
configure:2794: result: yes
configure:2823: checking whether make supports nested variables
configure:2840: result: yes
configure:2920: checking whether to enable maintainer-specific
portions of Makefiles
configure:2929: result: no
configure:2958: checking whether make supports nested variables
configure:2975: result: yes
configure:2996: checking for nios2-linux-uclibc-gcc
configure:3023: result: /home/mav/nios2/bin/nios2-linux-gcc
configure:3292: checking for C compiler version
configure:3301: /home/mav/nios2/bin/nios2-linux-gcc --version >&5
nios2-linux-gcc (GCC) 3.4.6
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3312: $? = 0
configure:3301: /home/mav/nios2/bin/nios2-linux-gcc -v >&5
Reading specs from /home/mav/nios2/bin/../lib/gcc/nios2-linux-uclibc/3.4.6/specs
Configured with:
/home/mav/nios2-linux/toolchain-build/../gcc3/configure
--prefix=/home/mav/nios2-linux/toolchain-build/build/nios2
--target=nios2-linux-uclibc --enable-languages=c,c++
--disable-__cxa_atexit --enable-target-optspace --with-gnu-ld
--disable-shared --disable-nls --enable-threads --enable-multilib
--enable-cxx-flags=-static
Thread model: posix
gcc version 3.4.6
configure:3312: $? = 0
configure:3301: /home/mav/nios2/bin/nios2-linux-gcc -V >&5
nios2-linux-gcc: `-V' option must have argument
configure:3312: $? = 1
configure:3301: /home/mav/nios2/bin/nios2-linux-gcc -qversion >&5
nios2-linux-gcc: unrecognized option `-qversion'
nios2-linux-gcc: no input files
configure:3312: $? = 1
configure:3332: checking whether the C compiler works
configure:3354: /home/mav/nios2/bin/nios2-linux-gcc conftest.c >&5
configure:3358: $? = 0
configure:3406: result: yes
configure:3409: checking for C compiler default output file name
configure:3411: result: a.out
configure:3417: checking for suffix of executables
configure:3424: /home/mav/nios2/bin/nios2-linux-gcc -o conftest
conftest.c >&5
configure:3428: $? = 0
configure:3450: result:
configure:3472: checking whether we are cross compiling
configure:3480: /home/mav/nios2/bin/nios2-linux-gcc -o conftest
conftest.c >&5
configure:3484: $? = 0
configure:3491: ./conftest
./configure: line 3493: ./conftest: cannot execute binary file
configure:3495: $? = 126
configure:3510: result: yes
configure:3515: checking for suffix of object files
configure:3537: /home/mav/nios2/bin/nios2-linux-gcc -c conftest.c >&5
configure:3541: $? = 0
configure:3562: result: o
configure:3566: checking whether we are using the GNU C compiler
configure:3585: /home/mav/nios2/bin/nios2-linux-gcc -c conftest.c >&5
configure:3585: $? = 0
configure:3594: result: yes
configure:3603: checking whether /home/mav/nios2/bin/nios2-linux-gcc accepts -g
configure:3623: /home/mav/nios2/bin/nios2-linux-gcc -c -g conftest.c >&5
configure:3623: $? = 0
configure:3664: result: yes
configure:3681: checking for /home/mav/nios2/bin/nios2-linux-gcc
option to accept ISO C89
configure:3744: /home/mav/nios2/bin/nios2-linux-gcc -c -g -O2 conftest.c >&5
configure:3744: $? = 0
configure:3757: result: none needed
configure:3788: checking for style of include used by make
configure:3816: result: GNU
configure:3842: checking dependency style of /home/mav/nios2/bin/nios2-linux-gcc
configure:3953: result: gcc3
configure:3997: checking build system type
configure:4011: result: i686-pc-linux-gnu
configure:4031: checking host system type
configure:4044: result: nios2-unknown-linux-uclibc
configure:4085: checking how to print strings
configure:4112: result: printf
configure:4133: checking for a sed that does not truncate output
configure:4197: result: /bin/sed
configure:4215: checking for grep that handles long lines and -e
configure:4273: result: /bin/grep
configure:4278: checking for egrep
configure:4340: result: /bin/grep -E
configure:4345: checking for fgrep
configure:4407: result: /bin/grep -F
configure:4442: checking for ld used by /home/mav/nios2/bin/nios2-linux-gcc
configure:4509: result: /home/mav/nios2/bin/nios2-linux-ld
configure:4516: checking if the linker
(/home/mav/nios2/bin/nios2-linux-ld) is GNU ld
configure:4531: result: yes
configure:4543: checking for BSD- or MS-compatible name lister (nm)
configure:4592: result: /home/mav/nios2/bin/nios2-linux-nm
configure:4722: checking the name lister
(/home/mav/nios2/bin/nios2-linux-nm) interface
configure:4729: /home/mav/nios2/bin/nios2-linux-gcc -c -g -O2 conftest.c >&5
configure:4732: /home/mav/nios2/bin/nios2-linux-nm "conftest.o"
configure:4735: output
00000000 G some_variable
configure:4742: result: BSD nm
configure:4745: checking whether ln -s works
configure:4749: result: yes
configure:4757: checking the maximum length of command line arguments
configure:4887: result: 98304
configure:4904: checking whether the shell understands some XSI constructs
configure:4914: result: yes
configure:4918: checking whether the shell understands "+="
configure:4924: result: yes
configure:4959: checking how to convert i686-pc-linux-gnu file names
to nios2-unknown-linux-uclibc format
configure:4999: result: func_convert_file_noop
configure:5006: checking how to convert i686-pc-linux-gnu file names
to toolchain format
configure:5026: result: func_convert_file_noop
configure:5033: checking for /home/mav/nios2/bin/nios2-linux-ld option
to reload object files
configure:5040: result: -r
configure:5074: checking for nios2-linux-uclibc-objdump
configure:5104: result: no
configure:5114: checking for objdump
configure:5130: found /usr/bin/objdump
configure:5141: result: objdump
configure:5153: WARNING: using cross tools not prefixed with host triplet
configure:5173: checking how to recognize dependent libraries
configure:5375: result: pass_all
configure:5420: checking for nios2-linux-uclibc-dlltool
configure:5450: result: no
configure:5460: checking for dlltool
configure:5490: result: no
configure:5520: checking how to associate runtime and link libraries
configure:5547: result: printf %s\n
configure:5564: checking for nios2-linux-uclibc-ar
configure:5591: result: /home/mav/nios2/bin/nios2-linux-ar
configure:5672: checking for archiver @FILE support
configure:5689: /home/mav/nios2/bin/nios2-linux-gcc -c -g -O2 conftest.c >&5
configure:5689: $? = 0
configure:5692: /home/mav/nios2/bin/nios2-linux-ar cru libconftest.a
@conftest.lst >&5
/home/mav/nios2/bin/nios2-linux-ar: '@conftest.lst': No such file
configure:5695: $? = 0
configure:5700: /home/mav/nios2/bin/nios2-linux-ar cru libconftest.a
@conftest.lst >&5
/home/mav/nios2/bin/nios2-linux-ar: '@conftest.lst': No such file
configure:5703: $? = 0
configure:5715: result: no
configure:5733: checking for nios2-linux-uclibc-strip
configure:5760: result: strip
configure:5832: checking for nios2-linux-uclibc-ranlib
configure:5859: result: /home/mav/nios2/bin/nios2-linux-ranlib
configure:6001: checking command to parse
/home/mav/nios2/bin/nios2-linux-nm output from
/home/mav/nios2/bin/nios2-linux-gcc object
configure:6121: /home/mav/nios2/bin/nios2-linux-gcc -c -g -O2 conftest.c >&5
configure:6124: $? = 0
configure:6128: /home/mav/nios2/bin/nios2-linux-nm conftest.o \| sed
-n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][
]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \>
conftest.nm
configure:6131: $? = 0
configure:6197: /home/mav/nios2/bin/nios2-linux-gcc -o conftest -g -O2
conftest.c conftstm.o >&5
configure:6200: $? = 0
configure:6238: result: ok
configure:6275: checking for sysroot
configure:6305: result: no
configure:6521: checking for nios2-linux-uclibc-mt
configure:6551: result: no
configure:6561: checking for mt
configure:6577: found /bin/mt
configure:6588: result: mt
configure:6611: checking if mt is a manifest tool
configure:6617: mt '-?'
mt: invalid option -- ?
configure:6625: result: no
configure:7267: checking how to run the C preprocessor
configure:7298: /home/mav/nios2/bin/nios2-linux-gcc -E conftest.c
configure:7298: $? = 0
configure:7312: /home/mav/nios2/bin/nios2-linux-gcc -E conftest.c
conftest.c:11:28: ac_nonexistent.h: No such file or directory
configure:7312: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libusb"
| #define PACKAGE_TARNAME "libusb"
| #define PACKAGE_VERSION "1.0.16-rc10"
| #define PACKAGE_STRING "libusb 1.0.16-rc10"
| #define PACKAGE_BUGREPORT "libusb-***@lists.sourceforge.net"
| #define PACKAGE_URL "http://www.libusb.org/"
| #define PACKAGE "libusb"
| #define VERSION "1.0.16-rc10"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:7337: result: /home/mav/nios2/bin/nios2-linux-gcc -E
configure:7357: /home/mav/nios2/bin/nios2-linux-gcc -E conftest.c
configure:7357: $? = 0
configure:7371: /home/mav/nios2/bin/nios2-linux-gcc -E conftest.c
conftest.c:11:28: ac_nonexistent.h: No such file or directory
configure:7371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libusb"
| #define PACKAGE_TARNAME "libusb"
| #define PACKAGE_VERSION "1.0.16-rc10"
| #define PACKAGE_STRING "libusb 1.0.16-rc10"
| #define PACKAGE_BUGREPORT "libusb-***@lists.sourceforge.net"
| #define PACKAGE_URL "http://www.libusb.org/"
| #define PACKAGE "libusb"
| #define VERSION "1.0.16-rc10"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:7400: checking for ANSI C header files
configure:7420: /home/mav/nios2/bin/nios2-linux-gcc -c -g -O2 conftest.c >&5
configure:7420: $? = 0
configure:7504: result: yes
configure:7517: checking for sys/types.h
configure:7517: /home/mav/nios2/bin/nios2-linux-gcc -c -g -O2 conftest.c >&5
configure:7517: $? = 0
configure:7517: result: yes
configure:7517: checking for sys/stat.h
configure:7517: /home/mav/nios2/bin/nios2-linux-gcc -c -g -O2 conftest.c >&5
configure:7517: $? = 0
configure:7517: result: yes
configure:7517: checking for stdlib.h
configure:7517: /home/mav/nios2/bin/nios2-linux-gcc -c -g -O2 conftest.c >&5
configure:7517: $? = 0
configure:7517: result: yes
configure:7517: checking for string.h
configure:7517: /home/mav/nios2/bin/nios2-linux-gcc -c -g -O2 conftest.c >&5
configure:7517: $? = 0
configure:7517: result: yes
configure:7517: checking for memory.h
configure:7517: /home/mav/nios2/bin/nios2-linux-gcc -c -g -O2 conftest.c >&5
configure:7517: $? = 0
configure:7517: result: yes
configure:7517: checking for strings.h
configure:7517: /home/mav/nios2/bin/nios2-linux-gcc -c -g -O2 conftest.c >&5
configure:7517: $? = 0
configure:7517: result: yes
configure:7517: checking for inttypes.h
configure:7517: /home/mav/nios2/bin/nios2-linux-gcc -c -g -O2 conftest.c >&5
configure:7517: $? = 0
configure:7517: result: yes
configure:7517: checking for stdint.h
configure:7517: /home/mav/nios2/bin/nios2-linux-gcc -c -g -O2 conftest.c >&5
configure:7517: $? = 0
configure:7517: result: yes
configure:7517: checking for unistd.h
configure:7517: /home/mav/nios2/bin/nios2-linux-gcc -c -g -O2 conftest.c >&5
configure:7517: $? = 0
configure:7517: result: yes
configure:7531: checking for dlfcn.h
configure:7531: /home/mav/nios2/bin/nios2-linux-gcc -c -g -O2 conftest.c >&5
configure:7531: $? = 0
configure:7531: result: yes
configure:7737: checking for objdir
configure:7752: result: .libs
configure:8023: checking if /home/mav/nios2/bin/nios2-linux-gcc
supports -fno-rtti -fno-exceptions
configure:8041: /home/mav/nios2/bin/nios2-linux-gcc -c -g -O2
-fno-rtti -fno-exceptions conftest.c >&5
cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++
but not for C
configure:8045: $? = 0
configure:8058: result: no
configure:8385: checking for /home/mav/nios2/bin/nios2-linux-gcc
option to produce PIC
configure:8392: result: -fPIC -DPIC
configure:8400: checking if /home/mav/nios2/bin/nios2-linux-gcc PIC
flag -fPIC -DPIC works
configure:8418: /home/mav/nios2/bin/nios2-linux-gcc -c -g -O2 -fPIC
-DPIC -DPIC conftest.c >&5
configure:8422: $? = 0
configure:8435: result: yes
configure:8464: checking if /home/mav/nios2/bin/nios2-linux-gcc static
flag -static works
configure:8492: result: yes
configure:8507: checking if /home/mav/nios2/bin/nios2-linux-gcc
supports -c -o file.o
configure:8528: /home/mav/nios2/bin/nios2-linux-gcc -c -g -O2 -o
out/conftest2.o conftest.c >&5
configure:8532: $? = 0
configure:8554: result: yes
configure:8562: checking if /home/mav/nios2/bin/nios2-linux-gcc
supports -c -o file.o
configure:8609: result: yes
configure:8642: checking whether the
/home/mav/nios2/bin/nios2-linux-gcc linker
(/home/mav/nios2/bin/nios2-linux-ld) supports shared libraries
configure:9795: result: yes
configure:10035: checking dynamic linker characteristics
configure:10546: /home/mav/nios2/bin/nios2-linux-gcc -o conftest -g
-O2 -Wl,-rpath -Wl,/foo conftest.c >&5
configure:10546: $? = 0
configure:10768: result: GNU/Linux ld.so
configure:10875: checking how to hardcode library paths into programs
configure:10900: result: immediate
configure:11440: checking whether stripping libraries is possible
configure:11445: result: yes
configure:11480: checking if libtool supports shared libraries
configure:11482: result: yes
configure:11485: checking whether to build shared libraries
configure:11506: result: no
configure:11509: checking whether to build static libraries
configure:11513: result: yes
configure:11553: checking for nios2-linux-uclibc-windres
configure:11583: result: no
configure:11593: checking for windres
configure:11623: result: no
configure:11727: checking for inline
configure:11743: /home/mav/nios2/bin/nios2-linux-gcc -c -g -O2 conftest.c >&5
configure:11743: $? = 0
configure:11751: result: inline
configure:11770: checking whether /home/mav/nios2/bin/nios2-linux-gcc
and cc understand -c and -o together
configure:11801: /home/mav/nios2/bin/nios2-linux-gcc -c conftest.c -o
conftest2.o >&5
configure:11805: $? = 0
configure:11811: /home/mav/nios2/bin/nios2-linux-gcc -c conftest.c -o
conftest2.o >&5
configure:11815: $? = 0
configure:11826: cc -c conftest.c >&5
configure:11830: $? = 0
configure:11838: cc -c conftest.c -o conftest2.o >&5
configure:11842: $? = 0
configure:11848: cc -c conftest.c -o conftest2.o >&5
configure:11852: $? = 0
configure:11870: result: yes
configure:11901: checking operating system
configure:11905: result: Linux
configure:11944: checking for clock_gettime in -lrt
configure:11969: /home/mav/nios2/bin/nios2-linux-gcc -o conftest -g
-O2 conftest.c -lrt >&5
configure:11969: $? = 0
configure:11978: result: yes
configure:12061: checking linux/netlink.h usability
configure:12061: /home/mav/nios2/bin/nios2-linux-gcc -c -g -O2 conftest.c >&5
In file included from conftest.c:58:
/home/mav/nios2/bin/../lib/gcc/nios2-linux-uclibc/3.4.6/../../../../nios2-linux-uclibc/sys-include/linux/netlink.h:34:
error: syntax error before "sa_family_t"
/home/mav/nios2/bin/../lib/gcc/nios2-linux-uclibc/3.4.6/../../../../nios2-linux-uclibc/sys-include/linux/netlink.h:38:
error: syntax error before '}' token
configure:12061: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libusb"
| #define PACKAGE_TARNAME "libusb"
| #define PACKAGE_VERSION "1.0.16-rc10"
| #define PACKAGE_STRING "libusb 1.0.16-rc10"
| #define PACKAGE_BUGREPORT "libusb-***@lists.sourceforge.net"
| #define PACKAGE_URL "http://www.libusb.org/"
| #define PACKAGE "libusb"
| #define VERSION "1.0.16-rc10"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define _GNU_SOURCE 1
| #define OS_LINUX 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <linux/netlink.h>
configure:12061: result: no
configure:12061: checking linux/netlink.h presence
configure:12061: /home/mav/nios2/bin/nios2-linux-gcc -E conftest.c
configure:12061: $? = 0
configure:12061: result: yes
configure:12061: WARNING: linux/netlink.h: present but cannot be compiled
configure:12061: WARNING: linux/netlink.h: check for missing
prerequisite headers?
configure:12061: WARNING: linux/netlink.h: see the Autoconf documentation
configure:12061: WARNING: linux/netlink.h: section "Present But
Cannot Be Compiled"
configure:12061: WARNING: linux/netlink.h: proceeding with the compiler's result
configure:12061: checking for linux/netlink.h
configure:12061: result: no
configure:12068: error: "Linux netlink headers not found"

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_c_inline=inline
ac_cv_env_CC_set=set
ac_cv_env_CC_value=/home/mav/nios2/bin/nios2-linux-gcc
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=nios2-linux-uclibc
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_linux_netlink_h=no
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=nios2-unknown-linux-uclibc
ac_cv_lib_rt_clock_gettime=yes
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_FGREP='/bin/grep -F'
ac_cv_path_GREP=/bin/grep
ac_cv_path_SED=/bin/sed
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AR=/home/mav/nios2/bin/nios2-linux-ar
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=/home/mav/nios2/bin/nios2-linux-gcc
ac_cv_prog_CPP='/home/mav/nios2/bin/nios2-linux-gcc -E'
ac_cv_prog_RANLIB=/home/mav/nios2/bin/nios2-linux-ranlib
ac_cv_prog_STRIP=strip
ac_cv_prog_ac_ct_MANIFEST_TOOL=mt
ac_cv_prog_ac_ct_OBJDUMP=objdump
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc__home_mav_nios2_bin_nios2_linux_gcc_c_o=yes
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_make_support_nested_variables=yes
lt_cv_ar_at_file=no
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=/home/mav/nios2/bin/nios2-linux-ld
lt_cv_path_NM=/home/mav/nios2/bin/nios2-linux-nm
lt_cv_path_mainfest_tool=no
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_c_o_RC=yes
lt_cv_prog_compiler_pic='-fPIC -DPIC'
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_compiler_static_works=yes
lt_cv_prog_gnu_ld=yes
lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
lt_cv_shlibpath_overrides_runpath=no
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[
]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][
]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/
__gnu_lto/d'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^
]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^
]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e
'\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e
'\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *)
\&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2",
(void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern
int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char
\1;/p'\'''
lt_cv_sys_max_cmd_len=98304
lt_cv_to_host_file_cmd=func_convert_file_noop
lt_cv_to_tool_file_cmd=func_convert_file_noop

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL}
/home/mav/uClinux-dist/user/test/libftdi_1/libusb-1.0.16-rc10/missing
aclocal-1.13'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_CFLAGS=''
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='0'
AM_V='$(V)'
AR='/home/mav/nios2/bin/nios2-linux-ar'
AUTOCONF='${SHELL}
/home/mav/uClinux-dist/user/test/libftdi_1/libusb-1.0.16-rc10/missing
autoconf'
AUTOHEADER='${SHELL}
/home/mav/uClinux-dist/user/test/libftdi_1/libusb-1.0.16-rc10/missing
autoheader'
AUTOMAKE='${SHELL}
/home/mav/uClinux-dist/user/test/libftdi_1/libusb-1.0.16-rc10/missing
automake-1.13'
AWK='gawk'
BUILD_EXAMPLES_FALSE=''
BUILD_EXAMPLES_TRUE=''
CC='/home/mav/nios2/bin/nios2-linux-gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CPP='/home/mav/nios2/bin/nios2-linux-gcc -E'
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DLLTOOL='false'
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
EXEEXT=''
FGREP='/bin/grep -F'
GREP='/bin/grep'
HAVE_SIGACTION_FALSE=''
HAVE_SIGACTION_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD='/home/mav/nios2/bin/nios2-linux-ld'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIPO=''
LN_S='ln -s'
LTLDFLAGS='-version-info 2:0:0 -no-undefined'
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL}
/home/mav/uClinux-dist/user/test/libftdi_1/libusb-1.0.16-rc10/missing
makeinfo'
MANIFEST_TOOL=':'
MKDIR_P='/bin/mkdir -p'
NM='/home/mav/nios2/bin/nios2-linux-nm'
NMEDIT=''
OBJDUMP='objdump'
OBJEXT='o'
OS_DARWIN=''
OS_DARWIN_FALSE=''
OS_DARWIN_TRUE=''
OS_LINUX=''
OS_LINUX_FALSE=''
OS_LINUX_TRUE=''
OS_OPENBSD=''
OS_OPENBSD_FALSE=''
OS_OPENBSD_TRUE=''
OS_WINDOWS=''
OS_WINDOWS_FALSE=''
OS_WINDOWS_TRUE=''
OTOOL64=''
OTOOL=''
PACKAGE='libusb'
PACKAGE_BUGREPORT='libusb-***@lists.sourceforge.net'
PACKAGE_NAME='libusb'
PACKAGE_STRING='libusb 1.0.16-rc10'
PACKAGE_TARNAME='libusb'
PACKAGE_URL='http://www.libusb.org/'
PACKAGE_VERSION='1.0.16-rc10'
PATH_SEPARATOR=':'
RANLIB='/home/mav/nios2/bin/nios2-linux-ranlib'
RC=''
SED='/bin/sed'
SET_MAKE=''
SHELL='/bin/sh'
STRIP='strip'
THREADS_POSIX_FALSE=''
THREADS_POSIX_TRUE=''
USE_UDEV=''
USE_UDEV_FALSE=''
USE_UDEV_TRUE=''
VERSION='1.0.16-rc10'
ac_ct_AR=''
ac_ct_CC=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='nios2-unknown-linux-uclibc'
host_alias='nios2-linux-uclibc'
host_cpu='nios2'
host_os='linux-uclibc'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL}
/home/mav/uClinux-dist/user/test/libftdi_1/libusb-1.0.16-rc10/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/home/mav/uClinux-dist/user/test/libftdi_1/inst/nios2-linux-uclibc/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "libusb"
#define PACKAGE_TARNAME "libusb"
#define PACKAGE_VERSION "1.0.16-rc10"
#define PACKAGE_STRING "libusb 1.0.16-rc10"
#define PACKAGE_BUGREPORT "libusb-***@lists.sourceforge.net"
#define PACKAGE_URL "http://www.libusb.org/"
#define PACKAGE "libusb"
#define VERSION "1.0.16-rc10"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define _GNU_SOURCE 1
#define OS_LINUX 1

configure: exit 1
Post by mav
./configure --prefix="/home/mav/uClinux-dist/user/test/libftdi_1/inst/nios2-linux-uclibc/usr"
--host="nios2-linux-uclibc" --disable-shared --with-pic --disable-udev
Post by Nathan Hjelm
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
-----------
Output for "./configure --host="nios2-linux-uclibc" --disable-shared
<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: ## ------------------------------------------------- ##
checking for linux/netlink.h... no
configure: error: "Linux netlink headers not found"
-----------
Output for "./configure --host="nios2-linux-uclibc" --disable-shared
<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"
Post by Nathan Hjelm
Post by mav
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: 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.
Post by mav
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
--
hi,
- mav
--
hi,


- mav
jakubon2
2013-07-24 11:40:56 UTC
Permalink
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-***@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.

It was created by libusbx configure 1.0.16, which was
generated by GNU Autoconf 2.68. Invocation command line was

$ ./configure --host arm-linux --disable-udev

## --------- ##
## Platform. ##
## --------- ##

hostname = ojpc
uname -m = x86_64
uname -r = 3.2.0-38-generic
uname -s = Linux
uname -v = #61-Ubuntu SMP Tue Feb 19 12:18:21 UTC 2013

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /bin/lin64
PATH: /gnu/microblaze/lin64/bin
PATH: /gnu/powerpc-eabi/lin64/bin
PATH: /gnu/arm/lin64/bin
PATH: /bin/lin64
PATH: /gnu/microblaze/lin64/bin
PATH: /gnu/powerpc-eabi/lin64/bin
PATH: /gnu/arm/lin64/bin
PATH: /bin/lin64
PATH: /sysgen/util
PATH: /sysgen/bin
PATH: /../../../DocNav
PATH: /opt/Xilinx/14.3/ISE_DS/ISE/bin/lin64
PATH: /opt/Xilinx/14.3/ISE_DS/ISE/sysgen/util
PATH: /opt/Xilinx/14.3/ISE_DS/ISE/sysgen/bin
PATH: /opt/Xilinx/14.3/ISE_DS/ISE/../../../DocNav
PATH: /opt/Xilinx/14.3/ISE_DS/../../Vivado/2012.3/bin
PATH: /opt/Xilinx/14.3/ISE_DS/PlanAhead/bin
PATH: /opt/Xilinx/14.3/ISE_DS/EDK/bin/lin64
PATH: /opt/Xilinx/14.3/ISE_DS/EDK/gnu/microblaze/lin64/bin
PATH: /opt/Xilinx/14.3/ISE_DS/EDK/gnu/powerpc-eabi/lin64/bin
PATH: /opt/Xilinx/14.3/ISE_DS/EDK/gnu/arm/lin64/bin
PATH: /opt/Xilinx/14.3/ISE_DS/common/bin/lin64
PATH: /usr/lib/lightdm/lightdm
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /opt/altera12.0/quartus/bin
PATH: /home/ondrej/Links
PATH: /home/ondrej/eagle-6.3.0/bin
PATH: /opt/Xilinx/14.3/ISE_DS/EDK/gnu/arm/lin64/bin
PATH: /home/ondrej/Documents/V3CTOR/Source/u-boot-xlnx/tools
PATH: /home/ondrej/Products/v3ctor/source/scripts/
PATH: /opt/Xilinx/14.3/ISE_DS/EDK/gnu/arm/lin64/arm-xilinx-linux-gnueabi/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2388: checking for a BSD-compatible install
configure:2456: result: /usr/bin/install -c
configure:2467: checking whether build environment is sane
configure:2517: result: yes
configure:2566: checking for arm-linux-strip
configure:2596: result: no
configure:2606: checking for strip
configure:2622: found /usr/bin/strip
configure:2633: result: strip
configure:2658: checking for a thread-safe mkdir -p
configure:2697: result: /bin/mkdir -p
configure:2710: checking for gawk
configure:2740: result: no
configure:2710: checking for mawk
configure:2726: found /usr/bin/mawk
configure:2737: result: mawk
configure:2748: checking whether make sets $(MAKE)
configure:2770: result: yes
configure:2851: checking whether to enable maintainer-specific portions of
Makefiles
configure:2860: result: no
configure:2889: checking whether make supports nested variables
configure:2906: result: yes
configure:2927: checking for arm-linux-gcc
configure:2954: result: arm-xilinx-linux-gnueabi-gcc
configure:3223: checking for C compiler version
configure:3232: arm-xilinx-linux-gnueabi-gcc --version >&5
arm-xilinx-linux-gnueabi-gcc (Sourcery CodeBench Lite 2011.09-50) 4.6.1
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3243: $? = 0
configure:3232: arm-xilinx-linux-gnueabi-gcc -v >&5
Using built-in specs.
COLLECT_GCC=arm-xilinx-linux-gnueabi-gcc
COLLECT_LTO_WRAPPER=/opt/Xilinx/14.3/ISE_DS/EDK/gnu/arm/lin64/bin/../libexec/gcc/arm-xilinx-linux-gnueabi/4.6.1/lto-wrapper
Target: arm-xilinx-linux-gnueabi
Configured with:
/scratch/janisjo/2011.09-xilinx-linux/src/gcc-4.6-2011.09/configure
--build=i686-pc-linux-gnu --host=i686-pc-linux-gnu
--target=arm-xilinx-linux-gnueabi --enable-threads --disable-libmudflap
--disable-libssp --disable-libstdcxx-pch --enable-extra-sgxxlite-multilibs
--with-arch=armv5te --with-cpu=cortex-a9 --with-float=softfp
--with-fpu=neon-fp16 --disable-multilib --with-gnu-as --with-gnu-ld
--with-specs='%{save-temps: -fverbose-asm}
%{funwind-tables|fno-unwind-tables|mabi=*|ffreestanding|nostdlib:;:-funwind-tables}
-D__CS_SOURCERYGXX_MAJ__=2011 -D__CS_SOURCERYGXX_MIN__=9
-D__CS_SOURCERYGXX_REV__=50 %{O2:%{!fno-remove-local-statics:
-fremove-local-statics}} %{O*:%{O|O0|O1|O2|Os:;:%{!fno-remove-local-statics:
-fremove-local-statics}}}' --enable-languages=c,c++ --enable-shared
--enable-lto --enable-symvers=gnu --enable-__cxa_atexit
--with-pkgversion='Sourcery CodeBench Lite 2011.09-50'
--with-bugurl=https://support.codesourcery.com/GNUToolchain/ --disable-nls
--prefix=/opt/codesourcery
--with-sysroot=/opt/codesourcery/arm-xilinx-linux-gnueabi/libc
--with-build-sysroot=/scratch/janisjo/2011.09-xilinx-linux/install/arm-xilinx-linux-gnueabi/libc
--with-gmp=/scratch/janisjo/2011.09-xilinx-linux/obj/host-libs-2011.09-50-arm-xilinx-linux-gnueabi-i686-pc-linux-gnu/usr
--with-mpfr=/scratch/janisjo/2011.09-xilinx-linux/obj/host-libs-2011.09-50-arm-xilinx-linux-gnueabi-i686-pc-linux-gnu/usr
--with-mpc=/scratch/janisjo/2011.09-xilinx-linux/obj/host-libs-2011.09-50-arm-xilinx-linux-gnueabi-i686-pc-linux-gnu/usr
--with-ppl=/scratch/janisjo/2011.09-xilinx-linux/obj/host-libs-2011.09-50-arm-xilinx-linux-gnueabi-i686-pc-linux-gnu/usr
--with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm'
--with-cloog=/scratch/janisjo/2011.09-xilinx-linux/obj/host-libs-2011.09-50-arm-xilinx-linux-gnueabi-i686-pc-linux-gnu/usr
--with-libelf=/scratch/janisjo/2011.09-xilinx-linux/obj/host-libs-2011.09-50-arm-xilinx-linux-gnueabi-i686-pc-linux-gnu/usr
--disable-libgomp --enable-poison-system-directories
--with-build-time-tools=/scratch/janisjo/2011.09-xilinx-linux/install/arm-xilinx-linux-gnueabi/bin
--with-build-time-tools=/scratch/janisjo/2011.09-xilinx-linux/install/arm-xilinx-linux-gnueabi/bin
Thread model: posix
gcc version 4.6.1 (Sourcery CodeBench Lite 2011.09-50)
configure:3243: $? = 0
configure:3232: arm-xilinx-linux-gnueabi-gcc -V >&5
arm-xilinx-linux-gnueabi-gcc: error: unrecognized option '-V'
arm-xilinx-linux-gnueabi-gcc: fatal error: no input files
compilation terminated.
configure:3243: $? = 1
configure:3232: arm-xilinx-linux-gnueabi-gcc -qversion >&5
arm-xilinx-linux-gnueabi-gcc: error: unrecognized option '-qversion'
arm-xilinx-linux-gnueabi-gcc: fatal error: no input files
compilation terminated.
configure:3243: $? = 1
configure:3263: checking whether the C compiler works
configure:3285: arm-xilinx-linux-gnueabi-gcc conftest.c >&5
configure:3289: $? = 0
configure:3337: result: yes
configure:3340: checking for C compiler default output file name
configure:3342: result: a.out
configure:3348: checking for suffix of executables
configure:3355: arm-xilinx-linux-gnueabi-gcc -o conftest conftest.c >&5
configure:3359: $? = 0
configure:3381: result:
configure:3403: checking whether we are cross compiling
configure:3411: arm-xilinx-linux-gnueabi-gcc -o conftest conftest.c >&5
configure:3415: $? = 0
configure:3422: ./conftest
./configure: line 3424: ./conftest: cannot execute binary file
configure:3426: $? = 126
configure:3441: result: yes
configure:3446: checking for suffix of object files
configure:3468: arm-xilinx-linux-gnueabi-gcc -c conftest.c >&5
configure:3472: $? = 0
configure:3493: result: o
configure:3497: checking whether we are using the GNU C compiler
configure:3516: arm-xilinx-linux-gnueabi-gcc -c conftest.c >&5
configure:3516: $? = 0
configure:3525: result: yes
configure:3534: checking whether arm-xilinx-linux-gnueabi-gcc accepts -g
configure:3554: arm-xilinx-linux-gnueabi-gcc -c -g conftest.c >&5
configure:3554: $? = 0
configure:3595: result: yes
configure:3612: checking for arm-xilinx-linux-gnueabi-gcc option to accept
ISO C89
configure:3676: arm-xilinx-linux-gnueabi-gcc -c -g -O2 conftest.c >&5
configure:3676: $? = 0
configure:3689: result: none needed
configure:3720: checking for style of include used by make
configure:3748: result: GNU
configure:3774: checking dependency style of arm-xilinx-linux-gnueabi-gcc
configure:3885: result: gcc3
configure:3929: checking build system type
configure:3943: result: x86_64-unknown-linux-gnu
configure:3963: checking host system type
configure:3976: result: arm-unknown-linux-gnu
configure:4017: checking how to print strings
configure:4044: result: printf
configure:4065: checking for a sed that does not truncate output
configure:4129: result: /bin/sed
configure:4147: checking for grep that handles long lines and -e
configure:4205: result: /bin/grep
configure:4210: checking for egrep
configure:4272: result: /bin/grep -E
configure:4277: checking for fgrep
configure:4339: result: /bin/grep -F
configure:4374: checking for ld used by arm-xilinx-linux-gnueabi-gcc
configure:4441: result:
/opt/Xilinx/14.3/ISE_DS/EDK/gnu/arm/lin64/arm-xilinx-linux-gnueabi/bin/ld
configure:4448: checking if the linker
(/opt/Xilinx/14.3/ISE_DS/EDK/gnu/arm/lin64/arm-xilinx-linux-gnueabi/bin/ld)
is GNU ld
configure:4463: result: yes
configure:4475: checking for BSD- or MS-compatible name lister (nm)
configure:4524: result: no
configure:4538: checking for arm-linux-dumpbin
configure:4568: result: no
configure:4538: checking for arm-linux-link
configure:4568: result: no
configure:4582: checking for dumpbin
configure:4612: result: no
configure:4582: checking for link
configure:4598: found /usr/bin/link
configure:4609: result: link -dump
configure:4625: WARNING: using cross tools not prefixed with host triplet
configure:4654: checking the name lister (nm) interface
configure:4661: arm-xilinx-linux-gnueabi-gcc -c -g -O2 conftest.c >&5
configure:4664: nm "conftest.o"
configure:4667: output
00000000 b $d
00000000 B some_variable
configure:4674: result: BSD nm
configure:4677: checking whether ln -s works
configure:4681: result: yes
configure:4689: checking the maximum length of command line arguments
configure:4819: result: 1572864
configure:4836: checking whether the shell understands some XSI constructs
configure:4846: result: yes
configure:4850: checking whether the shell understands "+="
configure:4856: result: yes
configure:4891: checking how to convert x86_64-unknown-linux-gnu file names
to arm-unknown-linux-gnu format
configure:4931: result: func_convert_file_noop
configure:4938: checking how to convert x86_64-unknown-linux-gnu file names
to toolchain format
configure:4958: result: func_convert_file_noop
configure:4965: checking for
/opt/Xilinx/14.3/ISE_DS/EDK/gnu/arm/lin64/arm-xilinx-linux-gnueabi/bin/ld
option to reload object files
configure:4972: result: -r
configure:5006: checking for arm-linux-objdump
configure:5036: result: no
configure:5046: checking for objdump
configure:5062: found /usr/bin/objdump
configure:5073: result: objdump
configure:5105: checking how to recognize dependent libraries
configure:5307: result: pass_all
configure:5352: checking for arm-linux-dlltool
configure:5382: result: no
configure:5392: checking for dlltool
configure:5422: result: no
configure:5452: checking how to associate runtime and link libraries
configure:5479: result: printf %s\n
configure:5496: checking for arm-linux-ar
configure:5526: result: no
configure:5540: checking for ar
configure:5556: found /usr/bin/ar
configure:5567: result: ar
configure:5604: checking for archiver @FILE support
configure:5621: arm-xilinx-linux-gnueabi-gcc -c -g -O2 conftest.c >&5
configure:5621: $? = 0
configure:5624: ar cru libconftest.a @conftest.lst >&5
configure:5627: $? = 0
configure:5632: ar cru libconftest.a @conftest.lst >&5
ar: conftest.o: No such file or directory
configure:5635: $? = 1
configure:5647: result: @
configure:5665: checking for arm-linux-strip
configure:5692: result: strip
configure:5764: checking for arm-linux-ranlib
configure:5794: result: no
configure:5804: checking for ranlib
configure:5820: found /usr/bin/ranlib
configure:5831: result: ranlib
configure:5933: checking command to parse nm output from
arm-xilinx-linux-gnueabi-gcc object
configure:6053: arm-xilinx-linux-gnueabi-gcc -c -g -O2 conftest.c >&5
configure:6056: $? = 0
configure:6060: nm conftest.o \| sed -n -e 's/^.*[
]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'
| sed '/ __gnu_lto/d' \> conftest.nm
configure:6063: $? = 0
configure:6129: arm-xilinx-linux-gnueabi-gcc -o conftest -g -O2 conftest.c
conftstm.o >&5
configure:6132: $? = 0
configure:6170: result: ok
configure:6207: checking for sysroot
configure:6237: result: no
configure:6453: checking for arm-linux-mt
configure:6483: result: no
configure:6493: checking for mt
configure:6509: found /bin/mt
configure:6520: result: mt
configure:6543: checking if mt is a manifest tool
configure:6549: mt '-?'
configure:6557: result: no
configure:7199: checking how to run the C preprocessor
configure:7230: arm-xilinx-linux-gnueabi-gcc -E conftest.c
configure:7230: $? = 0
configure:7244: arm-xilinx-linux-gnueabi-gcc -E conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:7244: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libusbx"
| #define PACKAGE_TARNAME "libusbx"
| #define PACKAGE_VERSION "1.0.16"
| #define PACKAGE_STRING "libusbx 1.0.16"
| #define PACKAGE_BUGREPORT "libusbx-***@lists.sourceforge.net"
| #define PACKAGE_URL "http://libusbx.org"
| #define PACKAGE "libusbx"
| #define VERSION "1.0.16"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:7269: result: arm-xilinx-linux-gnueabi-gcc -E
configure:7289: arm-xilinx-linux-gnueabi-gcc -E conftest.c
configure:7289: $? = 0
configure:7303: arm-xilinx-linux-gnueabi-gcc -E conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:7303: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libusbx"
| #define PACKAGE_TARNAME "libusbx"
| #define PACKAGE_VERSION "1.0.16"
| #define PACKAGE_STRING "libusbx 1.0.16"
| #define PACKAGE_BUGREPORT "libusbx-***@lists.sourceforge.net"
| #define PACKAGE_URL "http://libusbx.org"
| #define PACKAGE "libusbx"
| #define VERSION "1.0.16"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:7332: checking for ANSI C header files
configure:7352: arm-xilinx-linux-gnueabi-gcc -c -g -O2 conftest.c >&5
configure:7352: $? = 0
configure:7436: result: yes
configure:7449: checking for sys/types.h
configure:7449: arm-xilinx-linux-gnueabi-gcc -c -g -O2 conftest.c >&5
configure:7449: $? = 0
configure:7449: result: yes
configure:7449: checking for sys/stat.h
configure:7449: arm-xilinx-linux-gnueabi-gcc -c -g -O2 conftest.c >&5
configure:7449: $? = 0
configure:7449: result: yes
configure:7449: checking for stdlib.h
configure:7449: arm-xilinx-linux-gnueabi-gcc -c -g -O2 conftest.c >&5
configure:7449: $? = 0
configure:7449: result: yes
configure:7449: checking for string.h
configure:7449: arm-xilinx-linux-gnueabi-gcc -c -g -O2 conftest.c >&5
configure:7449: $? = 0
configure:7449: result: yes
configure:7449: checking for memory.h
configure:7449: arm-xilinx-linux-gnueabi-gcc -c -g -O2 conftest.c >&5
configure:7449: $? = 0
configure:7449: result: yes
configure:7449: checking for strings.h
configure:7449: arm-xilinx-linux-gnueabi-gcc -c -g -O2 conftest.c >&5
configure:7449: $? = 0
configure:7449: result: yes
configure:7449: checking for inttypes.h
configure:7449: arm-xilinx-linux-gnueabi-gcc -c -g -O2 conftest.c >&5
configure:7449: $? = 0
configure:7449: result: yes
configure:7449: checking for stdint.h
configure:7449: arm-xilinx-linux-gnueabi-gcc -c -g -O2 conftest.c >&5
configure:7449: $? = 0
configure:7449: result: yes
configure:7449: checking for unistd.h
configure:7449: arm-xilinx-linux-gnueabi-gcc -c -g -O2 conftest.c >&5
configure:7449: $? = 0
configure:7449: result: yes
configure:7463: checking for dlfcn.h
configure:7463: arm-xilinx-linux-gnueabi-gcc -c -g -O2 conftest.c >&5
configure:7463: $? = 0
configure:7463: result: yes
configure:7669: checking for objdir
configure:7684: result: .libs
configure:7951: checking if arm-xilinx-linux-gnueabi-gcc supports -fno-rtti
-fno-exceptions
configure:7969: arm-xilinx-linux-gnueabi-gcc -c -g -O2 -fno-rtti
-fno-exceptions conftest.c >&5
cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but
not for C [enabled by default]
configure:7973: $? = 0
configure:7986: result: no
configure:8313: checking for arm-xilinx-linux-gnueabi-gcc option to produce
PIC
configure:8320: result: -fPIC -DPIC
configure:8328: checking if arm-xilinx-linux-gnueabi-gcc PIC flag -fPIC
-DPIC works
configure:8346: arm-xilinx-linux-gnueabi-gcc -c -g -O2 -fPIC -DPIC -DPIC
conftest.c >&5
configure:8350: $? = 0
configure:8363: result: yes
configure:8392: checking if arm-xilinx-linux-gnueabi-gcc static flag -static
works
configure:8420: result: yes
configure:8435: checking if arm-xilinx-linux-gnueabi-gcc supports -c -o
file.o
configure:8456: arm-xilinx-linux-gnueabi-gcc -c -g -O2 -o out/conftest2.o
conftest.c >&5
configure:8460: $? = 0
configure:8482: result: yes
configure:8490: checking if arm-xilinx-linux-gnueabi-gcc supports -c -o
file.o
configure:8537: result: yes
configure:8570: checking whether the arm-xilinx-linux-gnueabi-gcc linker
(/opt/Xilinx/14.3/ISE_DS/EDK/gnu/arm/lin64/arm-xilinx-linux-gnueabi/bin/ld)
supports shared libraries
configure:9727: result: yes
configure:9764: checking whether -lc should be explicitly linked in
configure:9772: arm-xilinx-linux-gnueabi-gcc -c -g -O2 conftest.c >&5
configure:9775: $? = 0
configure:9790: arm-xilinx-linux-gnueabi-gcc -shared -fPIC -DPIC conftest.o
-v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc
\>/dev/null 2\>\&1
configure:9793: $? = 0
configure:9807: result: no
configure:9967: checking dynamic linker characteristics
configure:10478: arm-xilinx-linux-gnueabi-gcc -o conftest -g -O2
-Wl,-rpath -Wl,/foo conftest.c >&5
configure:10478: $? = 0
configure:10712: result: GNU/Linux ld.so
configure:10819: checking how to hardcode library paths into programs
configure:10844: result: immediate
configure:11384: checking whether stripping libraries is possible
configure:11389: result: yes
configure:11424: checking if libtool supports shared libraries
configure:11426: result: yes
configure:11429: checking whether to build shared libraries
configure:11450: result: yes
configure:11453: checking whether to build static libraries
configure:11457: result: yes
configure:11497: checking for arm-linux-windres
configure:11527: result: no
configure:11537: checking for windres
configure:11567: result: no
configure:11671: checking for inline
configure:11687: arm-xilinx-linux-gnueabi-gcc -c -g -O2 conftest.c >&5
configure:11687: $? = 0
configure:11695: result: inline
configure:11714: checking whether arm-xilinx-linux-gnueabi-gcc and cc
understand -c and -o together
configure:11745: arm-xilinx-linux-gnueabi-gcc -c conftest.c -o conftest2.o
&5
configure:11749: $? = 0
configure:11755: arm-xilinx-linux-gnueabi-gcc -c conftest.c -o conftest2.o
&5
configure:11759: $? = 0
configure:11770: cc -c conftest.c >&5
configure:11774: $? = 0
configure:11782: cc -c conftest.c -o conftest2.o >&5
configure:11786: $? = 0
configure:11792: cc -c conftest.c -o conftest2.o >&5
configure:11796: $? = 0
configure:11814: result: yes
configure:11845: checking operating system
configure:11850: result: Linux
configure:11897: checking for library containing clock_gettime
configure:11928: arm-xilinx-linux-gnueabi-gcc -o conftest -g -O2
conftest.c >&5
/tmp/ccGuNUH0.o: In function `main':
/home/ondrej/Products/v3ctor/source/os/libusbx/conftest.c:36: undefined
reference to `clock_gettime'
collect2: ld returned 1 exit status
configure:11928: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libusbx"
| #define PACKAGE_TARNAME "libusbx"
| #define PACKAGE_VERSION "1.0.16"
| #define PACKAGE_STRING "libusbx 1.0.16"
| #define PACKAGE_BUGREPORT "libusbx-***@lists.sourceforge.net"
| #define PACKAGE_URL "http://libusbx.org"
| #define PACKAGE "libusbx"
| #define VERSION "1.0.16"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define _GNU_SOURCE 1
| #define OS_LINUX 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char clock_gettime ();
| int
| main ()
| {
| return clock_gettime ();
| ;
| return 0;
| }
configure:11928: arm-xilinx-linux-gnueabi-gcc -o conftest -g -O2
conftest.c -lrt -pthread >&5
configure:11928: $? = 0
configure:11945: result: -lrt
configure:12030: checking linux/netlink.h usability
configure:12030: arm-xilinx-linux-gnueabi-gcc -c -g -O2 conftest.c >&5
In file included from conftest.c:58:0:
/opt/Xilinx/14.3/ISE_DS/EDK/gnu/arm/lin64/bin/../arm-xilinx-linux-gnueabi/libc/usr/include/linux/netlink.h:32:2:
error: unknown type name 'sa_family_t'
configure:12030: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libusbx"
| #define PACKAGE_TARNAME "libusbx"
| #define PACKAGE_VERSION "1.0.16"
| #define PACKAGE_STRING "libusbx 1.0.16"
| #define PACKAGE_BUGREPORT "libusbx-***@lists.sourceforge.net"
| #define PACKAGE_URL "http://libusbx.org"
| #define PACKAGE "libusbx"
| #define VERSION "1.0.16"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define _GNU_SOURCE 1
| #define OS_LINUX 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <linux/netlink.h>
configure:12030: result: no
configure:12030: checking linux/netlink.h presence
configure:12030: arm-xilinx-linux-gnueabi-gcc -E conftest.c
configure:12030: $? = 0
configure:12030: result: yes
configure:12030: WARNING: linux/netlink.h: present but cannot be compiled
configure:12030: WARNING: linux/netlink.h: check for missing
prerequisite headers?
configure:12030: WARNING: linux/netlink.h: see the Autoconf documentation
configure:12030: WARNING: linux/netlink.h: section "Present But Cannot
Be Compiled"
configure:12030: WARNING: linux/netlink.h: proceeding with the compiler's
result
configure:12030: checking for linux/netlink.h
configure:12030: result: no
configure:12037: error: "Linux netlink headers not found"

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_c_inline=inline
ac_cv_env_CC_set=set
ac_cv_env_CC_value=arm-xilinx-linux-gnueabi-gcc
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=arm-linux
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_linux_netlink_h=no
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=arm-unknown-linux-gnu
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_FGREP='/bin/grep -F'
ac_cv_path_GREP=/bin/grep
ac_cv_path_SED=/bin/sed
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=mawk
ac_cv_prog_CC=arm-xilinx-linux-gnueabi-gcc
ac_cv_prog_CPP='arm-xilinx-linux-gnueabi-gcc -E'
ac_cv_prog_STRIP=strip
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_DUMPBIN='link -dump'
ac_cv_prog_ac_ct_MANIFEST_TOOL=mt
ac_cv_prog_ac_ct_OBJDUMP=objdump
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_arm_xilinx_linux_gnueabi_gcc_c_o=yes
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_search_clock_gettime=-lrt
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_make_support_nested_variables=yes
lt_cv_ar_at_file=@
lt_cv_archive_cmds_need_lc=no
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=/opt/Xilinx/14.3/ISE_DS/EDK/gnu/arm/lin64/arm-xilinx-linux-gnueabi/bin/ld
lt_cv_path_NM=no
lt_cv_path_mainfest_tool=no
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_c_o_RC=yes
lt_cv_prog_compiler_pic='-fPIC -DPIC'
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_compiler_static_works=yes
lt_cv_prog_gnu_ld=yes
lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
lt_cv_shlibpath_overrides_runpath=no
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[
]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2
\2/p'\'' | sed '\''/ __gnu_lto/d'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[
]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^
]*\)$/ {"\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^:
\([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^
]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]*
\([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int
\1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
lt_cv_sys_max_cmd_len=1572864
lt_cv_to_host_file_cmd=func_convert_file_noop
lt_cv_to_tool_file_cmd=func_convert_file_noop

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/ondrej/Products/v3ctor/source/os/libusbx/missing
--run aclocal-1.11'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_CFLAGS=''
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='0'
AM_V='$(V)'
AR='ar'
AUTOCONF='${SHELL} /home/ondrej/Products/v3ctor/source/os/libusbx/missing
--run autoconf'
AUTOHEADER='${SHELL} /home/ondrej/Products/v3ctor/source/os/libusbx/missing
--run autoheader'
AUTOMAKE='${SHELL} /home/ondrej/Products/v3ctor/source/os/libusbx/missing
--run automake-1.11'
AWK='mawk'
BUILD_EXAMPLES_FALSE=''
BUILD_EXAMPLES_TRUE=''
BUILD_TESTS_FALSE=''
BUILD_TESTS_TRUE=''
CC='arm-xilinx-linux-gnueabi-gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CPP='arm-xilinx-linux-gnueabi-gcc -E'
CPPFLAGS=''
CREATE_IMPORT_LIB_FALSE=''
CREATE_IMPORT_LIB_TRUE=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DLLTOOL='false'
DSYMUTIL=''
DUMPBIN=':'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
EXEEXT=''
FGREP='/bin/grep -F'
GREP='/bin/grep'
HAVE_SIGACTION_FALSE=''
HAVE_SIGACTION_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD='/opt/Xilinx/14.3/ISE_DS/EDK/gnu/arm/lin64/arm-xilinx-linux-gnueabi/bin/ld'
LDFLAGS=''
LIBOBJS=''
LIBS='-lrt '
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIPO=''
LN_S='ln -s'
LTLDFLAGS='-version-info 1:0:1 -no-undefined'
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /home/ondrej/Products/v3ctor/source/os/libusbx/missing
--run makeinfo'
MANIFEST_TOOL=':'
MKDIR_P='/bin/mkdir -p'
NM='nm'
NMEDIT=''
OBJDUMP='objdump'
OBJEXT='o'
OS_DARWIN=''
OS_DARWIN_FALSE=''
OS_DARWIN_TRUE=''
OS_LINUX=''
OS_LINUX_FALSE=''
OS_LINUX_TRUE=''
OS_OPENBSD=''
OS_OPENBSD_FALSE=''
OS_OPENBSD_TRUE=''
OS_WINDOWS=''
OS_WINDOWS_FALSE=''
OS_WINDOWS_TRUE=''
OTOOL64=''
OTOOL=''
PACKAGE='libusbx'
PACKAGE_BUGREPORT='libusbx-***@lists.sourceforge.net'
PACKAGE_NAME='libusbx'
PACKAGE_STRING='libusbx 1.0.16'
PACKAGE_TARNAME='libusbx'
PACKAGE_URL='http://libusbx.org'
PACKAGE_VERSION='1.0.16'
PATH_SEPARATOR=':'
RANLIB='ranlib'
RC=''
SED='/bin/sed'
SET_MAKE=''
SHELL='/bin/sh'
STRIP='strip'
THREADS_POSIX_FALSE=''
THREADS_POSIX_TRUE=''
USE_UDEV=''
USE_UDEV_FALSE=''
USE_UDEV_TRUE=''
VERSION='1.0.16'
ac_ct_AR='ar'
ac_ct_CC=''
ac_ct_DUMPBIN='link -dump'
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='arm-unknown-linux-gnu'
host_alias='arm-linux'
host_cpu='arm'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL}
/home/ondrej/Products/v3ctor/source/os/libusbx/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "libusbx"
#define PACKAGE_TARNAME "libusbx"
#define PACKAGE_VERSION "1.0.16"
#define PACKAGE_STRING "libusbx 1.0.16"
#define PACKAGE_BUGREPORT "libusbx-***@lists.sourceforge.net"
#define PACKAGE_URL "http://libusbx.org"
#define PACKAGE "libusbx"
#define VERSION "1.0.16"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define _GNU_SOURCE 1
#define OS_LINUX 1







--
View this message in context: http://libusb.6.n5.nabble.com/libusb-1-0-16-rc10-without-udev-tp5711991p5712254.html
Sent from the LibUSB Dev mailing list archive at Nabble.com.
Xiaofan Chen
2013-07-25 02:57:38 UTC
Permalink
Post by jakubon2
Hi there, I am reporting the same problem with Xilinx Linux for ARM. I am
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/
...
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
configure: WARNING: ##
-------------------------------------------------- ##
checking for linux/netlink.h... no
configure: error: "Linux netlink headers not found"
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
jakubon2
2013-07-26 08:11:45 UTC
Permalink
Hi Xiaofan,

Thank you for your answer. Is there any solution or work around, or shall
wait for it be fixed by some time?

Cheers,
Ondrej



--
View this message in context: http://libusb.6.n5.nabble.com/libusb-1-0-16-rc10-without-udev-tp5711991p5712275.html
Sent from the LibUSB Dev mailing list archive at Nabble.com.
jakubon2
2013-07-26 16:04:49 UTC
Permalink
Or alternatively,

does it mean I should revert in Git to the version of old /libusb/ (=not
/libusbx/)?

Ondrej



--
View this message in context: http://libusb.6.n5.nabble.com/libusb-1-0-16-rc10-without-udev-tp5711991p5712281.html
Sent from the LibUSB Dev mailing list archive at Nabble.com.
Xiaofan Chen
2013-07-27 02:45:25 UTC
Permalink
Post by jakubon2
Or alternatively,
does it mean I should revert in Git to the version of old /libusb/ (=not
/libusbx/)?
Since you do not need hotplug support, you can revert to
libusbx 1.0.15 release (previous stable release).
--
Xiaofan
Xiaofan Chen
2013-07-27 03:32:05 UTC
Permalink
Post by Xiaofan Chen
Post by jakubon2
Or alternatively,
does it mean I should revert in Git to the version of old /libusb/ (=not
/libusbx/)?
Since you do not need hotplug support, you can revert to
libusbx 1.0.15 release (previous stable release).
Issue created here:
https://github.com/libusbx/libusbx/issues/124
--
Xiaofan
Nathan Hjelm
2013-07-27 18:37:43 UTC
Permalink
I have a possible fix. Please try the netlink_test branch @ https://github.com/hjelmn/libusbx.git

Let me know if it resolves the issue.

-Nathan
Post by Xiaofan Chen
Post by Xiaofan Chen
Post by jakubon2
Or alternatively,
does it mean I should revert in Git to the version of old /libusb/ (=not
/libusbx/)?
Since you do not need hotplug support, you can revert to
libusbx 1.0.15 release (previous stable release).
https://github.com/libusbx/libusbx/issues/124
--
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
https://lists.sourceforge.net/lists/listinfo/libusbx-devel
jakubon2
2013-07-29 16:04:59 UTC
Permalink
Hi Xiaofan and Nathan,

Reverting to version 1.0.15 resolved the issue for me. I have not tried the
suggested clone yet.
Thank you very much!

Ondrej



--
View this message in context: http://libusb.6.n5.nabble.com/libusb-1-0-16-rc10-without-udev-tp5711991p5712310.html
Sent from the LibUSB Dev mailing list archive at Nabble.com.
Xiaofan Chen
2013-07-27 02:44:07 UTC
Permalink
Post by jakubon2
Thank you for your answer. Is there any solution or work around, or shall
wait for it be fixed by some time?
Maybe you can try to move the netlink header away
and see if that helps.
--
Xiaofan
mav
2013-05-24 19:26:22 UTC
Permalink
-----------
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 libusb-***@lists.sourceforge.net ##
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"
Post by Nathan Hjelm
Post by mav
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: 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.
Post by mav
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
Nathan Hjelm
2013-07-29 16:31:41 UTC
Permalink
Please give the clone a try. The configure issue is fixed as well as an issue with compiling the netlink code on some versions of embedded Linux. Let me know if it works for you.

-Nathan

On Jul 29, 2013, at 10:04 AM, jakubon2 <***@nsl.eu.com> wrote:

Hi Xiaofan and Nathan,

Reverting to version 1.0.15 resolved the issue for me. I have not tried the
suggested clone yet.
Thank you very much!

Ondrej



--
View this message in context: http://libusb.6.n5.nabble.com/libusb-1-0-16-rc10-without-udev-tp5711991p5712310.html
Sent from the LibUSB Dev mailing list archive at Nabble.com.
jakubon2
2013-07-29 17:01:57 UTC
Permalink
Hi Nathan,

I tried that, and it works! I just needed to install /libudev-dev/ to go
through the /autoconf/.

Thank you very much!
Ondrej





--
View this message in context: http://libusb.6.n5.nabble.com/libusb-1-0-16-rc10-without-udev-tp5711991p5712312.html
Sent from the LibUSB Dev mailing list archive at Nabble.com.
Eugene Rudoy
2013-08-05 19:31:28 UTC
Permalink
Hi Nathan,
Post by Nathan Hjelm
the netlink code on some versions of embedded Linux. Let me know if it
works for you.
not sure whether you get notifications from github thus crossposting here...

Please see my comment
<https://github.com/libusbx/libusbx/issues/124#issuecomment-22079186> on
the github issue corresponding to the discussion in this thread.

Best,
Gene



--
View this message in context: http://libusb.6.n5.nabble.com/libusb-1-0-16-rc10-without-udev-tp5711991p5712349.html
Sent from the LibUSB Dev mailing list archive at Nabble.com.
Nathan Hjelm
2013-08-05 21:24:18 UTC
Permalink
Yeah, I will integrate a similar change soon. Thanks for identifying the problem. I don't have any systems pre-2.6.27 so I never ran into any issues.

-Nathan

On Aug 05, 2013, at 01:31 PM, Eugene Rudoy <***@gmail.com> wrote:

Hi Nathan,

the netlink code on some versions of embedded Linux. Let me know if it
works for you.

not sure whether you get notifications from github thus crossposting here...

Please see my comment
<https://github.com/libusbx/libusbx/issues/124#issuecomment-22079186> on
the github issue corresponding to the discussion in this thread.

Best,
Gene



--
View this message in context: http://libusb.6.n5.nabble.com/libusb-1-0-16-rc10-without-udev-tp5711991p5712349.html
Sent from the LibUSB Dev mailing list archive at Nabble.com.

Loading...