>From config.log of user mav.
````
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-de...@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"
````


---
Reply to this email directly or view it on GitHub:
https://github.com/libusbx/libusbx/issues/124#issuecomment-21661542
------------------------------------------------------------------------------
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