[Click] skbuff security member in kernel click

Bob Keyes bob at sinister.com
Wed May 24 17:19:21 EDT 2006



On Tue, 23 May 2006, Eddie Kohler wrote:

> Hi Bob,
>
> I took a look at this.  There are a couple more mips-specific parts of the
> patch that were missing; I've attached the patch, which should be applied on
> top of the existing patch.

I just patched it by hand.

> Here's how to make progress if problems continue.  Search through the
> config.log for "checking for C++-includable kernel header files".  The error
> messages following that are the relevant ones; you don't need to send the
> whole config.log.

OK, here's the log attached. If you don't get a chance to work on this
problem, I'll tackle it when I come back from vacation on the 9th.
-------------- next part --------------
configure:13588: checking for C++-includable kernel header files
configure:13615: /home/bob/openwrt-kernmod/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -w  -fno-exceptions -fno-rtti  -c -static -O2 -MD -I/home/bob/openwrt-kernmod/openwrt/staging_dir_mipsel/usr/include -D__KERNEL__ -I/home/bob/openwrt-kernmod/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include -Wall -Wundef  -Wno-trigraphs -fno-strict-aliasing  -ffreestanding -Os -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -pipe -msoft-float -mabi=32 -march=mips32 -Wa,-32 -Wa,-march=mips32 -Wa,-mips32 -Wa,--trap -Iarch/mips/bcm947xx/include -I/home/bob/openwrt-kernmod/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm-mips/mach-generic -funit-at-a-time  conftest.cc >&5
configure:13621: $? = 0
configure:13625: test -z 
			 || test ! -s conftest.err
configure:13628: $? = 0
configure:13631: test -s conftest.o
configure:13634: $? = 0
configure:13646: result: yes
configure:13652: checking whether -fpermissive is required
configure:13692: /home/bob/openwrt-kernmod/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -w  -fno-exceptions -fno-rtti  -o conftest -static -O2 -MD -I/home/bob/openwrt-kernmod/openwrt/staging_dir_mipsel/usr/include -D__KERNEL__ -I/home/bob/openwrt-kernmod/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include -Wall -Wundef  -Wno-trigraphs -fno-strict-aliasing  -ffreestanding -Os -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -pipe -msoft-float -mabi=32 -march=mips32 -Wa,-32 -Wa,-march=mips32 -Wa,-mips32 -Wa,--trap -Iarch/mips/bcm947xx/include -I/home/bob/openwrt-kernmod/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm-mips/mach-generic -funit-at-a-time  -L/home/bob/openwrt-kernmod/openwrt/staging_dir_mipsel/usr/lib conftest.cc  >&5
In file included from /home/bob/openwrt-kernmod/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/linux/hrtimer.h:19,
                 from /home/bob/openwrt-kernmod/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/linux/sched.h:108,
                 from /home/bob/openwrt-kernmod/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/linux/mm.h:4,
                 from /home/bob/openwrt-kernmod/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/linux/skbuff.h:26,
                 from conftest.cc:88:
/home/bob/openwrt-kernmod/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/linux/ktime.h: In function `timespec ktime_to_timespec(ktime_t)':
/home/bob/openwrt-kernmod/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/linux/ktime.h:243: error: conversion from `ktime_t' to non-scalar type `timespec' requested
configure:13698: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "click"
| #define PACKAGE_TARNAME "click"
| #define PACKAGE_VERSION "1.5.0"
| #define PACKAGE_STRING "click 1.5.0"
| #define PACKAGE_BUGREPORT ""
| #define CLICK_VERSION "1.5.0"
| #if defined(__cplusplus) && !defined(__KERNEL__)
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define HAVE_NEW_HDR 1
| #define LINUX_SRCDIR "/home/bob/openwrt-kernmod/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7"
| #define FREEBSD_INCLUDEDIR "/usr/include"
| #define HAVE_STRERROR 1
| #define HAVE_SNPRINTF 1
| #define HAVE_STRTOUL 1
| #define HAVE_TCGETPGRP 1
| #define HAVE_VSNPRINTF 1
| #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 SIZEOF_INT 4
| #define SIZEOF_LONG 4
| #define HAVE_INTTYPES_H 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_LONG_LONG 1
| #define HAVE_INT64_TYPES 1
| #define SIZEOF_STRUCT_TIMEVAL 8
| #define HAVE_STRUCT_TIMESPEC 1
| #define SIZEOF_STRUCT_TIMESPEC 8
| #define HAVE_ENDIAN_H 1
| #define CLICK_BYTE_ORDER 1234
| #define HAVE_BYTESWAP_H 1
| #define HAVE_ADDRESSABLE_VA_LIST 1
| #define HAVE___BUILTIN_CLZ 1
| #define HAVE___BUILTIN_CLZL 1
| #define HAVE___BUILTIN_CLZLL 1
| #define HAVE___BUILTIN_FFS 1
| #define HAVE___BUILTIN_FFSL 1
| #define HAVE___BUILTIN_FFSLL 1
| #define HAVE_STRINGS_H 1
| #define HAVE_FFS 1
| #define HAVE_UNISTD_H 1
| #define HAVE_TERMIO_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_PWD_H 1
| #define HAVE_GRP_H 1
| #define HAVE_POLL_H 1
| #define HAVE_SIGACTION 1
| #define HAVE_LARGE_FILE_SUPPORT 1
| #define SIZEOF_OFF_T 8
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MADVISE 1
| #define HAVE_DECL_MADVISE 1
| #define NUM_CLICK_CPUS 1
| #define HAVE_CLICKFS 1
| #define HAVE_LINUXMODULE_2_6 1
| #define HAVE_CLICK_KERNEL 1
| #define HAVE_LINUX_STRLEN_EXPOSED 1
| #define HAVE_LINUX_POLLING 1
| #define HAVE_STRIDE_SCHED 1
| #define HAVE_LINUX_IF_TUN_H 1
| /* end confdefs.h.  */
| #define MODULE
| #define KBUILD_BASENAME "whatever"
| #define _FEATURES_H
| #define new xxx_new
| #define this xxx_this
| #define delete xxx_delete
| #define class xxx_class
| #define virtual xxx_virtual
| #define typename xxx_typename
| #define private xxx_private
| #define protected xxx_protected
| #define public xxx_public
| #define namespace xxx_namespace
| #include <linux/skbuff.h>
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:13723: result: yes
configure:13728: checking whether -fpermissive is allowed
configure:13767: /home/bob/openwrt-kernmod/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -w  -fno-exceptions -fno-rtti  -fpermissive -o conftest -static -O2 -MD -I/home/bob/openwrt-kernmod/openwrt/staging_dir_mipsel/usr/include -D__KERNEL__ -I/home/bob/openwrt-kernmod/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include -Wall -Wundef  -Wno-trigraphs -fno-strict-aliasing  -ffreestanding -Os -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -pipe -msoft-float -mabi=32 -march=mips32 -Wa,-32 -Wa,-march=mips32 -Wa,-mips32 -Wa,--trap -Iarch/mips/bcm947xx/include -I/home/bob/openwrt-kernmod/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm-mips/mach-generic -funit-at-a-time  -L/home/bob/openwrt-kernmod/openwrt/staging_dir_mipsel/usr/lib conftest.cc  >&5
In file included from /home/bob/openwrt-kernmod/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/linux/hrtimer.h:19,
                 from /home/bob/openwrt-kernmod/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/linux/sched.h:108,
                 from /home/bob/openwrt-kernmod/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/linux/mm.h:4,
                 from /home/bob/openwrt-kernmod/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/linux/skbuff.h:26,
                 from conftest.cc:87:
/home/bob/openwrt-kernmod/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/linux/ktime.h: In function `timespec ktime_to_timespec(ktime_t)':
/home/bob/openwrt-kernmod/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/linux/ktime.h:243: error: conversion from `ktime_t' to non-scalar type `timespec' requested
configure:13773: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "click"
| #define PACKAGE_TARNAME "click"
| #define PACKAGE_VERSION "1.5.0"
| #define PACKAGE_STRING "click 1.5.0"
| #define PACKAGE_BUGREPORT ""
| #define CLICK_VERSION "1.5.0"
| #if defined(__cplusplus) && !defined(__KERNEL__)
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define HAVE_NEW_HDR 1
| #define LINUX_SRCDIR "/home/bob/openwrt-kernmod/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7"
| #define FREEBSD_INCLUDEDIR "/usr/include"
| #define HAVE_STRERROR 1
| #define HAVE_SNPRINTF 1
| #define HAVE_STRTOUL 1
| #define HAVE_TCGETPGRP 1
| #define HAVE_VSNPRINTF 1
| #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 SIZEOF_INT 4
| #define SIZEOF_LONG 4
| #define HAVE_INTTYPES_H 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_LONG_LONG 1
| #define HAVE_INT64_TYPES 1
| #define SIZEOF_STRUCT_TIMEVAL 8
| #define HAVE_STRUCT_TIMESPEC 1
| #define SIZEOF_STRUCT_TIMESPEC 8
| #define HAVE_ENDIAN_H 1
| #define CLICK_BYTE_ORDER 1234
| #define HAVE_BYTESWAP_H 1
| #define HAVE_ADDRESSABLE_VA_LIST 1
| #define HAVE___BUILTIN_CLZ 1
| #define HAVE___BUILTIN_CLZL 1
| #define HAVE___BUILTIN_CLZLL 1
| #define HAVE___BUILTIN_FFS 1
| #define HAVE___BUILTIN_FFSL 1
| #define HAVE___BUILTIN_FFSLL 1
| #define HAVE_STRINGS_H 1
| #define HAVE_FFS 1
| #define HAVE_UNISTD_H 1
| #define HAVE_TERMIO_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_PWD_H 1
| #define HAVE_GRP_H 1
| #define HAVE_POLL_H 1
| #define HAVE_SIGACTION 1
| #define HAVE_LARGE_FILE_SUPPORT 1
| #define SIZEOF_OFF_T 8
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MADVISE 1
| #define HAVE_DECL_MADVISE 1
| #define NUM_CLICK_CPUS 1
| #define HAVE_CLICKFS 1
| #define HAVE_LINUXMODULE_2_6 1
| #define HAVE_CLICK_KERNEL 1
| #define HAVE_LINUX_STRLEN_EXPOSED 1
| #define HAVE_LINUX_POLLING 1
| #define HAVE_STRIDE_SCHED 1
| #define HAVE_LINUX_IF_TUN_H 1
| /* end confdefs.h.  */
| #define MODULE
| #define _FEATURES_H
| #define new xxx_new
| #define this xxx_this
| #define delete xxx_delete
| #define class xxx_class
| #define virtual xxx_virtual
| #define typename xxx_typename
| #define private xxx_private
| #define protected xxx_protected
| #define public xxx_public
| #define namespace xxx_namespace
| #include <linux/skbuff.h>
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:13798: result: no
configure:13810: checking whether long and int64_t are the same type in the Linux kernel
configure:13835: /home/bob/openwrt-kernmod/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -w  -fno-exceptions -fno-rtti  -fpermissive -c -static -O2 -MD -I/home/bob/openwrt-kernmod/openwrt/staging_dir_mipsel/usr/include -D__KERNEL__ -I/home/bob/openwrt-kernmod/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include -Wall -Wundef  -Wno-trigraphs -fno-strict-aliasing  -ffreestanding -Os -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -pipe -msoft-float -mabi=32 -march=mips32 -Wa,-32 -Wa,-march=mips32 -Wa,-mips32 -Wa,--trap -Iarch/mips/bcm947xx/include -I/home/bob/openwrt-kernmod/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm-mips/mach-generic -funit-at-a-time  conftest.cc >&5
configure:13841: $? = 0
configure:13845: test -z 
			 || test ! -s conftest.err
configure:13848: $? = 0
configure:13851: test -s conftest.o
configure:13854: $? = 0
configure:13865: result: no
configure:13876: checking whether struct sk_buff has a security member
configure:13903: /home/bob/openwrt-kernmod/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -c -static -MD -I/home/bob/openwrt-kernmod/openwrt/staging_dir_mipsel/usr/include -D__KERNEL__ -I/home/bob/openwrt-kernmod/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include -Wall -Wundef  -Wno-trigraphs -fno-strict-aliasing  -ffreestanding -Os -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -pipe -msoft-float -mabi=32 -march=mips32 -Wa,-32 -Wa,-march=mips32 -Wa,-mips32 -Wa,--trap -Iarch/mips/bcm947xx/include -I/home/bob/openwrt-kernmod/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm-mips/mach-generic -funit-at-a-time  conftest.c >&5
In file included from /home/bob/openwrt-kernmod/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/linux/hrtimer.h:19,
                 from /home/bob/openwrt-kernmod/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/linux/sched.h:108,
                 from /home/bob/openwrt-kernmod/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/linux/mm.h:4,
                 from /home/bob/openwrt-kernmod/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/linux/skbuff.h:26,
                 from conftest.c:75:
/home/bob/openwrt-kernmod/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/linux/ktime.h: In function `ktime_to_timespec':
/home/bob/openwrt-kernmod/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/linux/ktime.h:243: error: incompatible types in return
conftest.c: In function `main':
conftest.c:79: error: structure has no member named `security'
configure:13909: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "click"
| #define PACKAGE_TARNAME "click"
| #define PACKAGE_VERSION "1.5.0"
| #define PACKAGE_STRING "click 1.5.0"
| #define PACKAGE_BUGREPORT ""
| #define CLICK_VERSION "1.5.0"
| #if defined(__cplusplus) && !defined(__KERNEL__)
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define HAVE_NEW_HDR 1
| #define LINUX_SRCDIR "/home/bob/openwrt-kernmod/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7"
| #define FREEBSD_INCLUDEDIR "/usr/include"
| #define HAVE_STRERROR 1
| #define HAVE_SNPRINTF 1
| #define HAVE_STRTOUL 1
| #define HAVE_TCGETPGRP 1
| #define HAVE_VSNPRINTF 1
| #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 SIZEOF_INT 4
| #define SIZEOF_LONG 4
| #define HAVE_INTTYPES_H 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_LONG_LONG 1
| #define HAVE_INT64_TYPES 1
| #define SIZEOF_STRUCT_TIMEVAL 8
| #define HAVE_STRUCT_TIMESPEC 1
| #define SIZEOF_STRUCT_TIMESPEC 8
| #define HAVE_ENDIAN_H 1
| #define CLICK_BYTE_ORDER 1234
| #define HAVE_BYTESWAP_H 1
| #define HAVE_ADDRESSABLE_VA_LIST 1
| #define HAVE___BUILTIN_CLZ 1
| #define HAVE___BUILTIN_CLZL 1
| #define HAVE___BUILTIN_CLZLL 1
| #define HAVE___BUILTIN_FFS 1
| #define HAVE___BUILTIN_FFSL 1
| #define HAVE___BUILTIN_FFSLL 1
| #define HAVE_STRINGS_H 1
| #define HAVE_FFS 1
| #define HAVE_UNISTD_H 1
| #define HAVE_TERMIO_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_PWD_H 1
| #define HAVE_GRP_H 1
| #define HAVE_POLL_H 1
| #define HAVE_SIGACTION 1
| #define HAVE_LARGE_FILE_SUPPORT 1
| #define SIZEOF_OFF_T 8
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MADVISE 1
| #define HAVE_DECL_MADVISE 1
| #define NUM_CLICK_CPUS 1
| #define HAVE_CLICKFS 1
| #define HAVE_LINUXMODULE_2_6 1
| #define HAVE_CLICK_KERNEL 1
| #define HAVE_LINUX_STRLEN_EXPOSED 1
| #define HAVE_LINUX_POLLING 1
| #define HAVE_STRIDE_SCHED 1
| #define HAVE_LINUX_IF_TUN_H 1
| /* end confdefs.h.  */
| #include <linux/skbuff.h>
| int
| main ()
| {
| extern struct sk_buff *s; s->security = 0;
|   ;
|   return 0;
| }
configure:13933: result: no
configure:14003: error:
=========================================

Your Linux kernel header files cause errors when included by a C++ program.

There are two common reasons for this error:
1. You have not applied the Linux kernel patch that comes with this
   distribution.  Apply the right patch and try again.  See the INSTALL
   file for more information.
2. Your Linux configuration enables some functionality that is not yet
   covered by our patches.  Turn off this functionality and try again,
   or fix the error and tell us how you did it.  See the config.log file
   for more detailed information on the error.

=========================================

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

ac_cv_alignment_indifferent=no
ac_cv_build=i386-pc-linux-gnu
ac_cv_build_alias=i386-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_c_inline=inline
ac_cv_click_kernel=yes
ac_cv_click_kernel_tx_notify=no
ac_cv_cxx_aware_system=no
ac_cv_cxx_compiler_gnu=yes
ac_cv_emulated_poll_h=no
ac_cv_endian=1234
ac_cv_env_CC_set=set
ac_cv_env_CC_value=/home/bob/openwrt-kernmod/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-static -MD'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=-I/home/bob/openwrt-kernmod/openwrt/staging_dir_mipsel/usr/include
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-static -O2 -MD'
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=/home/bob/openwrt-kernmod/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=-L/home/bob/openwrt-kernmod/openwrt/staging_dir_mipsel/usr/lib
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i386-pc-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=mipsel-linux
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=mipsel-linux
ac_cv_exeext=
ac_cv_f_permissive=yes
ac_cv_f_permissive_ok=no
ac_cv_func_ffs=yes
ac_cv_func_ffsl=no
ac_cv_func_ffsll=no
ac_cv_func_getpagesize=yes
ac_cv_func_kqueue=no
ac_cv_func_madvise=yes
ac_cv_func_mmap_fixed_mapped=no
ac_cv_func_sigaction=yes
ac_cv_func_snprintf=yes
ac_cv_func_strerror=yes
ac_cv_func_strtoul=yes
ac_cv_func_tcgetpgrp=yes
ac_cv_func_vsnprintf=yes
ac_cv_good_new_hdr=yes
ac_cv_have___builtin_clz=yes
ac_cv_have___builtin_clzl=yes
ac_cv_have___builtin_clzll=yes
ac_cv_have___builtin_ffs=yes
ac_cv_have___builtin_ffsl=yes
ac_cv_have___builtin_ffsll=yes
ac_cv_have_decl_madvise=yes
ac_cv_header_byteswap_h=yes
ac_cv_header_endian_h=yes
ac_cv_header_expat_h=no
ac_cv_header_grp_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_linux_if_tun_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_net_bpf_h=no
ac_cv_header_net_if_tun_h=no
ac_cv_header_netdb_h=yes
ac_cv_header_poll_h=yes
ac_cv_header_pwd_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_event_h=no
ac_cv_header_sys_mman_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_termio_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=mipsel-unknown-linux-gnu
ac_cv_host_alias=mipsel-linux
ac_cv_if_data_ifi_datalen=no
ac_cv_int64_t=yes
ac_cv_large_file_support=yes
ac_cv_lib_expat_XML_ParserCreateNS=no
ac_cv_linux26=1
ac_cv_linux_poll_extension=yes
ac_cv_linux_read_net_skbcount=no
ac_cv_linux_strlen_exposed=yes
ac_cv_linux_tulip_intr_hook=no
ac_cv_linuxmodule_skbuff_security=no
ac_cv_long_64=no
ac_cv_long_64_linuxmodule=no
ac_cv_objext=o
ac_cv_poll_h=yes
ac_cv_prog_AR=/home/bob/openwrt-kernmod/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-ar
ac_cv_prog_BUILD_AR=ar
ac_cv_prog_BUILD_CC=gcc
ac_cv_prog_BUILD_CXX=g++
ac_cv_prog_BUILD_RANLIB=ranlib
ac_cv_prog_CC=/home/bob/openwrt-kernmod/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc
ac_cv_prog_CPP='/home/bob/openwrt-kernmod/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -E'
ac_cv_prog_CXX=/home/bob/openwrt-kernmod/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++
ac_cv_prog_CXXCPP='/home/bob/openwrt-kernmod/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -E'
ac_cv_prog_LD=/home/bob/openwrt-kernmod/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-ld
ac_cv_prog_RANLIB=/home/bob/openwrt-kernmod/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-ranlib
ac_cv_prog_STRIP=mipsel-linux-strip
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_cxx_g=yes
ac_cv_prog_egrep='grep -E'
ac_cv_sizeof_int=4
ac_cv_sizeof_long=4
ac_cv_sizeof_long_long=8
ac_cv_sizeof_off_t=8
ac_cv_sizeof_struct_timespec=8
ac_cv_sizeof_struct_timeval=8
ac_cv_smp=no
ac_cv_target=mipsel-unknown-linux-gnu
ac_cv_target_alias=mipsel-linux
ac_cv_type_int=yes
ac_cv_type_long=yes
ac_cv_type_long_long=yes
ac_cv_type_off_t=yes
ac_cv_type_struct_timespec=yes
ac_cv_type_struct_timeval=yes
ac_cv_uint64_t=yes
ac_cv_under_linux=yes
ac_cv_va_list_addr=yes

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

AR='/home/bob/openwrt-kernmod/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-ar'
AR_CREATEFLAGS='cru'
AUTOCONF=''
BUILD_AR='ar'
BUILD_CC='gcc'
BUILD_CXX='g++  '
BUILD_DL_LIBS=''
BUILD_RANLIB='ranlib'
CC='/home/bob/openwrt-kernmod/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc'
CFLAGS='-static -MD'
CFLAGS_NDEBUG='-static -MD'
CLICKINSTALL=''
CLICK_VERSION='1.5.0'
CPP='/home/bob/openwrt-kernmod/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -E'
CPPFLAGS='-I/home/bob/openwrt-kernmod/openwrt/staging_dir_mipsel/usr/include'
CXX='/home/bob/openwrt-kernmod/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++'
CXXCPP='/home/bob/openwrt-kernmod/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -E'
CXXFLAGS='-static -O2 -MD'
CXXFLAGS_NDEBUG='-static -O2 -MD'
DEFS=''
DEPCFLAGS=''
DL_LIBS=''
DRIVERS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='grep -E'
EXEEXT=''
EXPAT_INCLUDES=''
EXPAT_LIBS=''
EXTRA_DRIVER_OBJS=''
EXTRA_TOOL_OBJS=''
GMAKE=''
HAVE_BSDMODULE_DRIVER='0'
HAVE_LINUXMODULE_DRIVER='0'
HAVE_USERLEVEL_DRIVER='0'
HOST_TOOLS='mixed'
INSTALL_DATA=''
INSTALL_IF_CHANGED=''
INSTALL_INFO=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
KERNEL_CC='/home/bob/openwrt-kernmod/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -w '
KERNEL_CXX='/home/bob/openwrt-kernmod/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -w  -fno-exceptions -fno-rtti '
LD='/home/bob/openwrt-kernmod/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-ld'
LDFLAGS='-L/home/bob/openwrt-kernmod/openwrt/staging_dir_mipsel/usr/lib'
LDMODULEFLAGS=''
LIBOBJS=''
LIBS=''
LINUXMODULE_2_6='1'
LINUX_CFLAGS='-Wall -Wundef  -Wno-trigraphs -fno-strict-aliasing  -ffreestanding -Os -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -pipe -msoft-float -mabi=32 -march=mips32 -Wa,-32 -Wa,-march=mips32 -Wa,-mips32 -Wa,--trap -Iarch/mips/bcm947xx/include -I/home/bob/openwrt-kernmod/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm-mips/mach-generic -funit-at-a-time '
LTLIBOBJS=''
MAKEINFO=''
OBJEXT='o'
OTHER_TARGETS=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME='click'
PACKAGE_STRING='click 1.5.0'
PACKAGE_TARNAME='click'
PACKAGE_VERSION='1.5.0'
PATH_SEPARATOR=':'
PCAP_INCLUDES=''
PCAP_LIBS=''
PERL=''
POSSIBLE_DRIVERS=' bsdmodule linuxmodule ns userlevel'
RANLIB='/home/bob/openwrt-kernmod/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-ranlib'
SHELL='/bin/sh'
SOCKET_LIBS=''
STRIP='mipsel-linux-strip'
SUBMAKE=''
TEXI2DVI=''
TOOLDIRS=' click-align click-check click-combine click-devirtualize click-fastclassifier click-flatten click-mkmindriver click-pretty click-undead click-xform click2xml click-install'
TOOL_TARGETS=' click-align click-check click-combine click-devirtualize click-fastclassifier click-flatten click-mkmindriver click-pretty click-undead click-xform click2xml'
XML2CLICK=''
ac_configure_args=''--prefix=/usr' '--target=mipsel-linux' '--disable-intel-cpu' '--host=mipsel-linux' '--build=i386-pc-linux-gnu' '--with-linux=/home/bob/openwrt-kernmod/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7' '--enable-wifi' '--enable-linuxmodule' '--enable-tools=mixed' '--disable-userlevel' '--disable-dynamic-linking' 'CC=/home/bob/openwrt-kernmod/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc' 'CFLAGS=-static -MD' 'CPPFLAGS=-I/home/bob/openwrt-kernmod/openwrt/staging_dir_mipsel/usr/include' 'CXXFLAGS=-static -O2 -MD' 'CXX=/home/bob/openwrt-kernmod/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++' 'LDFLAGS=-L/home/bob/openwrt-kernmod/openwrt/staging_dir_mipsel/usr/lib' 'build_alias=i386-pc-linux-gnu' 'host_alias=mipsel-linux' 'target_alias=mipsel-linux''
ac_ct_AR=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_LD=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
bindir='${exec_prefix}/bin'
build='i386-pc-linux-gnu'
build_alias='i386-pc-linux-gnu'
build_cpu='i386'
build_os='linux-gnu'
build_vendor='pc'
clickdatadir=''
conf_auxdir='$(top_srcdir)'
datadir='${prefix}/share'
element_groups=' app aqm ethernet icmp ip standard tcpudp wifi'
exec_prefix='NONE'
freebsd_includedir='/usr/include'
freebsd_srcdir='NONE'
host='mipsel-unknown-linux-gnu'
host_alias='mipsel-linux'
host_cpu='mipsel'
host_os='linux-gnu'
host_vendor='unknown'
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
linuxdir='/home/bob/openwrt-kernmod/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7'
localperl5=''
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
perl5=''
prefix='/usr'
program_transform_name='s,x,x,'
provisions=''
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='mipsel-unknown-linux-gnu'
target_alias='mipsel-linux'
target_cpu='mipsel'
target_os='linux-gnu'
target_vendor='unknown'

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

#define CLICK_BYTE_ORDER 1234
#define CLICK_VERSION "1.5.0"
#define FREEBSD_INCLUDEDIR "/usr/include"
#define HAVE_ADDRESSABLE_VA_LIST 1
#define HAVE_BYTESWAP_H 1
#define HAVE_CLICKFS 1
#define HAVE_CLICK_KERNEL 1
#define HAVE_DECL_MADVISE 1
#define HAVE_ENDIAN_H 1
#define HAVE_FFS 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GRP_H 1
#define HAVE_INT64_TYPES 1
#define HAVE_INTTYPES_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_LARGE_FILE_SUPPORT 1
#define HAVE_LINUXMODULE_2_6 1
#define HAVE_LINUX_IF_TUN_H 1
#define HAVE_LINUX_POLLING 1
#define HAVE_LINUX_STRLEN_EXPOSED 1
#define HAVE_LONG_LONG 1
#define HAVE_MADVISE 1
#define HAVE_MEMORY_H 1
#define HAVE_NETDB_H 1
#define HAVE_NEW_HDR 1
#define HAVE_POLL_H 1
#define HAVE_PWD_H 1
#define HAVE_SIGACTION 1
#define HAVE_SNPRINTF 1
#define HAVE_STDINT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRERROR 1
#define HAVE_STRIDE_SCHED 1
#define HAVE_STRINGS_H 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_STRTOUL 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_TCGETPGRP 1
#define HAVE_TERMIO_H 1
#define HAVE_UNISTD_H 1
#define HAVE_UNISTD_H 1
#define HAVE_UNISTD_H 1
#define HAVE_VSNPRINTF 1
#define HAVE___BUILTIN_CLZ 1
#define HAVE___BUILTIN_CLZL 1
#define HAVE___BUILTIN_CLZLL 1
#define HAVE___BUILTIN_FFS 1
#define HAVE___BUILTIN_FFSL 1
#define HAVE___BUILTIN_FFSLL 1
#define LINUX_SRCDIR "/home/bob/openwrt-kernmod/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7"
#define NUM_CLICK_CPUS 1
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME "click"
#define PACKAGE_STRING "click 1.5.0"
#define PACKAGE_TARNAME "click"
#define PACKAGE_VERSION "1.5.0"
#define SIZEOF_INT 4
#define SIZEOF_LONG 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_OFF_T 8
#define SIZEOF_STRUCT_TIMESPEC 8
#define SIZEOF_STRUCT_TIMEVAL 8
#define STDC_HEADERS 1
#endif
#if defined(__cplusplus) && !defined(__KERNEL__)
extern "C" void std::exit (int) throw (); using std::exit;

configure: exit 1


More information about the click mailing list