[Click] skbuff security member in kernel click

Eddie Kohler kohler at cs.ucla.edu
Tue May 16 02:50:40 EDT 2006


Hi Bob,

It looks like we missed some required patches in the MIPS assembly files.  In 
particular there is a use of "new" as a variable name, and an unpatched void* 
conversion.

Try applying the following patch fragment to your already patched kernel.  If 
you encounter more problmes like this, we'd love it if you examined config.log 
and helped us find the problem.

Eddie




Bob Keyes wrote:
> 
> On Fri, 12 May 2006, Eddie Kohler wrote:
> 
>> Hi Bob,
>>
>> Please send config.log in -- at least the portion around the error -- so we
>> can take a more detailed look.
> 
> 
> See attached. It looks as though it isn't a security member problem,
> because if I force the test to pass, I still get the message. I can send
> you that as well, just let me know if you need it. Or anything else.
> 
> Thanks for whatever help/insight you can give.
> 
> Regards,
> Bob Keyes
> 
>> Eddie
>>
>>
>> Bob Keyes wrote:
>>> I am applying the latest 2.6.16 click kernel patch and compiling click as
>>> a linux kernel module. When I do this in x86 native, the click configure
>>> script notes that there is no security member in skbuff and continues. Yet
>>> when cross-compiling, this is a fatal error, giving the "Your Linux kernel
>>> header files cause errors when included by a C++ program" message at line
>>> 14001. There hasn't been a security member in skbuff since at least
>>> 2.6.13. Does anyone know why this error occurs on cross-compilation, or
>>> where I might look for further information on the configuration
>>> requirements (I know config.log exists and look in it).
>>> _______________________________________________
>>> click mailing list
>>> click at amsterdam.lcs.mit.edu
>>> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>>
> 
> 
> ------------------------------------------------------------------------
> 
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
> 
> It was created by click configure 1.5pre, which was
> generated by GNU Autoconf 2.59.  Invocation command line was
> 
>   $ ./configure --prefix=/usr --target=mipsel-linux --host=mipsel-linux --build=i386-pc-linux-gnu --disable-intel-cpu --enable-wifi --enable-linuxmodule --disable-userlevel --enable-tools=mixed --with-linux=/home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7
> 
> ## --------- ##
> ## Platform. ##
> ## --------- ##
> 
> hostname = mail
> uname -m = i686
> uname -r = 2.6.8-2-686-smp
> uname -s = Linux
> uname -v = #1 SMP Tue Aug 16 12:08:30 UTC 2005
> 
> /usr/bin/uname -p = unknown
> /bin/uname -X     = unknown
> 
> /bin/arch              = i686
> /usr/bin/arch -k       = unknown
> /usr/convex/getsysinfo = unknown
> hostinfo               = unknown
> /bin/machine           = unknown
> /usr/bin/oslevel       = unknown
> /bin/universe          = unknown
> 
> PATH: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/bin
> PATH: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin
> PATH: /bin
> PATH: /sbin
> PATH: /usr/bin
> PATH: /usr/sbin
> 
> 
> ## ----------- ##
> ## Core tests. ##
> ## ----------- ##
> 
> configure:1423: checking build system type
> configure:1441: result: i386-pc-linux-gnu
> configure:1449: checking host system type
> configure:1463: result: mipsel-unknown-linux-gnu
> configure:1471: checking target system type
> configure:1485: result: mipsel-unknown-linux-gnu
> configure:1503: checking for mipsel-linux-gcc
> configure:1529: result: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc
> configure:1582: checking for mipsel-linux-g++
> configure:1608: result: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++
> configure:1667: checking for mipsel-linux-gcc
> configure:1693: result: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc
> configure:1975: checking for C compiler version
> configure:1978: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc --version </dev/null >&5
> mipsel-linux-uclibc-gcc (GCC) 3.4.6 (OpenWrt-2.0)
> 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:1981: $? = 0
> configure:1983: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -v </dev/null >&5
> Reading specs from /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/lib/gcc/mipsel-linux-uclibc/3.4.6/specs
> Configured with: /home/bob/openwrt-3758/openwrt/toolchain_build_mipsel/gcc-3.4.6/configure --prefix=/home/bob/openwrt-3758/openwrt/staging_dir_mipsel --build=i386-pc-linux-gnu --host=i386-pc-linux-gnu --target=mipsel-linux-uclibc --enable-languages=c,c++ --enable-shared --disable-__cxa_atexit --enable-target-optspace --with-gnu-ld --disable-nls
> Thread model: posix
> gcc version 3.4.6 (OpenWrt-2.0)
> configure:1986: $? = 0
> configure:1988: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -V </dev/null >&5
> mipsel-linux-uclibc-gcc: `-V' option must have argument
> configure:1991: $? = 1
> configure:2014: checking for C compiler default output file name
> configure:2017: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include -L/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/lib conftest.c  >&5
> configure:2020: $? = 0
> configure:2066: result: a.out
> configure:2071: checking whether the C compiler works
> configure:2097: result: yes
> configure:2104: checking whether we are cross compiling
> configure:2106: result: yes
> configure:2109: checking for suffix of executables
> configure:2111: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -o conftest -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include -L/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/lib conftest.c  >&5
> configure:2114: $? = 0
> configure:2139: result: 
> configure:2145: checking for suffix of object files
> configure:2166: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -c -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.c >&5
> configure:2169: $? = 0
> configure:2191: result: o
> configure:2195: checking whether we are using the GNU C compiler
> configure:2219: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -c -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.c >&5
> configure:2225: $? = 0
> configure:2229: test -z 
> 			 || test ! -s conftest.err
> configure:2232: $? = 0
> configure:2235: test -s conftest.o
> configure:2238: $? = 0
> configure:2251: result: yes
> configure:2257: checking whether /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc accepts -g
> configure:2278: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -c -g -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.c >&5
> configure:2284: $? = 0
> configure:2288: test -z 
> 			 || test ! -s conftest.err
> configure:2291: $? = 0
> configure:2294: test -s conftest.o
> configure:2297: $? = 0
> configure:2308: result: yes
> configure:2325: checking for /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc option to accept ANSI C
> configure:2395: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc  -c -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.c >&5
> configure:2401: $? = 0
> configure:2405: test -z 
> 			 || test ! -s conftest.err
> configure:2408: $? = 0
> configure:2411: test -s conftest.o
> configure:2414: $? = 0
> configure:2432: result: none needed
> configure:2450: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -c -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.c >&5
> conftest.c:2: error: syntax error before "me"
> configure:2456: $? = 1
> configure: failed program was:
> | #ifndef __cplusplus
> |   choke me
> | #endif
> configure:2608: checking how to run the C preprocessor
> configure:2643: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -E -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.c
> configure:2649: $? = 0
> configure:2681: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -E -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.c
> conftest.c:10:28: ac_nonexistent.h: No such file or directory
> configure:2687: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "click"
> | #define PACKAGE_TARNAME "click"
> | #define PACKAGE_VERSION "1.5pre"
> | #define PACKAGE_STRING "click 1.5pre"
> | #define PACKAGE_BUGREPORT ""
> | #define CLICK_VERSION "1.5pre"
> | /* end confdefs.h.  */
> | #include <ac_nonexistent.h>
> configure:2726: result: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -E
> configure:2750: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -E -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.c
> configure:2756: $? = 0
> configure:2788: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -E -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.c
> conftest.c:10:28: ac_nonexistent.h: No such file or directory
> configure:2794: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "click"
> | #define PACKAGE_TARNAME "click"
> | #define PACKAGE_VERSION "1.5pre"
> | #define PACKAGE_STRING "click 1.5pre"
> | #define PACKAGE_BUGREPORT ""
> | #define CLICK_VERSION "1.5pre"
> | /* end confdefs.h.  */
> | #include <ac_nonexistent.h>
> configure:2838: checking for inline
> configure:2859: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -c -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.c >&5
> configure:2865: $? = 0
> configure:2869: test -z 
> 			 || test ! -s conftest.err
> configure:2872: $? = 0
> configure:2875: test -s conftest.o
> configure:2878: $? = 0
> configure:2890: result: inline
> configure:2920: checking for mipsel-linux-g++
> configure:2946: result: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++
> configure:3004: checking for C++ compiler version
> configure:3007: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ --version </dev/null >&5
> mipsel-linux-uclibc-g++ (GCC) 3.4.6 (OpenWrt-2.0)
> 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:3010: $? = 0
> configure:3012: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -v </dev/null >&5
> Reading specs from /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/lib/gcc/mipsel-linux-uclibc/3.4.6/specs
> Configured with: /home/bob/openwrt-3758/openwrt/toolchain_build_mipsel/gcc-3.4.6/configure --prefix=/home/bob/openwrt-3758/openwrt/staging_dir_mipsel --build=i386-pc-linux-gnu --host=i386-pc-linux-gnu --target=mipsel-linux-uclibc --enable-languages=c,c++ --enable-shared --disable-__cxa_atexit --enable-target-optspace --with-gnu-ld --disable-nls
> Thread model: posix
> gcc version 3.4.6 (OpenWrt-2.0)
> configure:3015: $? = 0
> configure:3017: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -V </dev/null >&5
> mipsel-linux-uclibc-g++: `-V' option must have argument
> configure:3020: $? = 1
> configure:3023: checking whether we are using the GNU C++ compiler
> configure:3047: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:3053: $? = 0
> configure:3057: test -z 
> 			 || test ! -s conftest.err
> configure:3060: $? = 0
> configure:3063: test -s conftest.o
> configure:3066: $? = 0
> configure:3079: result: yes
> configure:3085: checking whether /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ accepts -g
> configure:3106: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -g -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:3112: $? = 0
> configure:3116: test -z 
> 			 || test ! -s conftest.err
> configure:3119: $? = 0
> configure:3122: test -s conftest.o
> configure:3125: $? = 0
> configure:3136: result: yes
> configure:3178: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:3184: $? = 0
> configure:3188: test -z 
> 			 || test ! -s conftest.err
> configure:3191: $? = 0
> configure:3194: test -s conftest.o
> configure:3197: $? = 0
> configure:3223: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> conftest.cc: In function `int main()':
> conftest.cc:14: error: `exit' was not declared in this scope
> configure:3229: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "click"
> | #define PACKAGE_TARNAME "click"
> | #define PACKAGE_VERSION "1.5pre"
> | #define PACKAGE_STRING "click 1.5pre"
> | #define PACKAGE_BUGREPORT ""
> | #define CLICK_VERSION "1.5pre"
> | /* end confdefs.h.  */
> | 
> | int
> | main ()
> | {
> | exit (42);
> |   ;
> |   return 0;
> | }
> configure:3178: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:3184: $? = 0
> configure:3188: test -z 
> 			 || test ! -s conftest.err
> configure:3191: $? = 0
> configure:3194: test -s conftest.o
> configure:3197: $? = 0
> configure:3223: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:3229: $? = 0
> configure:3233: test -z 
> 			 || test ! -s conftest.err
> configure:3236: $? = 0
> configure:3239: test -s conftest.o
> configure:3242: $? = 0
> configure:3330: checking whether <new> works
> configure:3356: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -o conftest -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include -L/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/lib conftest.cc  >&5
> configure:3362: $? = 0
> configure:3366: test -z 
> 			 || test ! -s conftest.err
> configure:3369: $? = 0
> configure:3372: test -s conftest
> configure:3375: $? = 0
> configure:3387: result: yes
> configure:3485: checking how to run the C++ preprocessor
> configure:3516: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -E -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc
> configure:3522: $? = 0
> configure:3554: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -E -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc
> conftest.cc:14:28: ac_nonexistent.h: No such file or directory
> configure:3560: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "click"
> | #define PACKAGE_TARNAME "click"
> | #define PACKAGE_VERSION "1.5pre"
> | #define PACKAGE_STRING "click 1.5pre"
> | #define PACKAGE_BUGREPORT ""
> | #define CLICK_VERSION "1.5pre"
> | #if defined(__cplusplus) && !defined(__KERNEL__)
> | extern "C" void std::exit (int) throw (); using std::exit;
> | #endif
> | #define HAVE_NEW_HDR 1
> | /* end confdefs.h.  */
> | #include <ac_nonexistent.h>
> configure:3599: result: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -E
> configure:3623: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -E -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc
> configure:3629: $? = 0
> configure:3661: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -E -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc
> conftest.cc:14:28: ac_nonexistent.h: No such file or directory
> configure:3667: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "click"
> | #define PACKAGE_TARNAME "click"
> | #define PACKAGE_VERSION "1.5pre"
> | #define PACKAGE_STRING "click 1.5pre"
> | #define PACKAGE_BUGREPORT ""
> | #define CLICK_VERSION "1.5pre"
> | #if defined(__cplusplus) && !defined(__KERNEL__)
> | extern "C" void std::exit (int) throw (); using std::exit;
> | #endif
> | #define HAVE_NEW_HDR 1
> | /* end confdefs.h.  */
> | #include <ac_nonexistent.h>
> configure:3732: checking for mipsel-linux-ar
> configure:3758: result: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-ar
> configure:3811: checking for mipsel-linux-ld
> configure:3837: result: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-ld
> configure:3890: checking for mipsel-linux-ranlib
> configure:3916: result: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-ranlib
> configure:3970: checking for mipsel-linux-strip
> configure:3986: found /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-strip
> configure:3996: result: mipsel-linux-strip
> configure:4481: checking whether we are compiling for Linux
> configure:4505: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:4511: $? = 0
> configure:4515: test -z 
> 			 || test ! -s conftest.err
> configure:4518: $? = 0
> configure:4521: test -s conftest.o
> configure:4524: $? = 0
> configure:4535: result: yes
> configure:4550: checking for strerror
> configure:4607: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -o conftest -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include -L/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/lib conftest.c  >&5
> configure:4613: $? = 0
> configure:4617: test -z 
> 			 || test ! -s conftest.err
> configure:4620: $? = 0
> configure:4623: test -s conftest
> configure:4626: $? = 0
> configure:4638: result: yes
> configure:4665: checking for snprintf
> configure:4722: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -o conftest -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include -L/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/lib conftest.c  >&5
> conftest.c:41: warning: conflicting types for built-in function 'snprintf'
> configure:4728: $? = 0
> configure:4732: test -z 
> 			 || test ! -s conftest.err
> configure:4735: $? = 0
> configure:4738: test -s conftest
> configure:4741: $? = 0
> configure:4753: result: yes
> configure:4665: checking for strtoul
> configure:4722: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -o conftest -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include -L/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/lib conftest.c  >&5
> configure:4728: $? = 0
> configure:4732: test -z 
> 			 || test ! -s conftest.err
> configure:4735: $? = 0
> configure:4738: test -s conftest
> configure:4741: $? = 0
> configure:4753: result: yes
> configure:4665: checking for tcgetpgrp
> configure:4722: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -o conftest -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include -L/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/lib conftest.c  >&5
> configure:4728: $? = 0
> configure:4732: test -z 
> 			 || test ! -s conftest.err
> configure:4735: $? = 0
> configure:4738: test -s conftest
> configure:4741: $? = 0
> configure:4753: result: yes
> configure:4665: checking for vsnprintf
> configure:4722: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -o conftest -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include -L/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/lib conftest.c  >&5
> conftest.c:44: warning: conflicting types for built-in function 'vsnprintf'
> configure:4728: $? = 0
> configure:4732: test -z 
> 			 || test ! -s conftest.err
> configure:4735: $? = 0
> configure:4738: test -s conftest
> configure:4741: $? = 0
> configure:4753: result: yes
> configure:4781: checking whether machine is indifferent to alignment
> configure:4841: result: no
> configure:4851: checking for egrep
> configure:4861: result: grep -E
> configure:4866: checking for ANSI C header files
> configure:4891: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:4897: $? = 0
> configure:4901: test -z 
> 			 || test ! -s conftest.err
> configure:4904: $? = 0
> configure:4907: test -s conftest.o
> configure:4910: $? = 0
> configure:5019: result: yes
> configure:5043: checking for sys/types.h
> configure:5059: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:5065: $? = 0
> configure:5069: test -z 
> 			 || test ! -s conftest.err
> configure:5072: $? = 0
> configure:5075: test -s conftest.o
> configure:5078: $? = 0
> configure:5089: result: yes
> configure:5043: checking for sys/stat.h
> configure:5059: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:5065: $? = 0
> configure:5069: test -z 
> 			 || test ! -s conftest.err
> configure:5072: $? = 0
> configure:5075: test -s conftest.o
> configure:5078: $? = 0
> configure:5089: result: yes
> configure:5043: checking for stdlib.h
> configure:5059: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:5065: $? = 0
> configure:5069: test -z 
> 			 || test ! -s conftest.err
> configure:5072: $? = 0
> configure:5075: test -s conftest.o
> configure:5078: $? = 0
> configure:5089: result: yes
> configure:5043: checking for string.h
> configure:5059: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:5065: $? = 0
> configure:5069: test -z 
> 			 || test ! -s conftest.err
> configure:5072: $? = 0
> configure:5075: test -s conftest.o
> configure:5078: $? = 0
> configure:5089: result: yes
> configure:5043: checking for memory.h
> configure:5059: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:5065: $? = 0
> configure:5069: test -z 
> 			 || test ! -s conftest.err
> configure:5072: $? = 0
> configure:5075: test -s conftest.o
> configure:5078: $? = 0
> configure:5089: result: yes
> configure:5043: checking for strings.h
> configure:5059: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:5065: $? = 0
> configure:5069: test -z 
> 			 || test ! -s conftest.err
> configure:5072: $? = 0
> configure:5075: test -s conftest.o
> configure:5078: $? = 0
> configure:5089: result: yes
> configure:5043: checking for inttypes.h
> configure:5059: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:5065: $? = 0
> configure:5069: test -z 
> 			 || test ! -s conftest.err
> configure:5072: $? = 0
> configure:5075: test -s conftest.o
> configure:5078: $? = 0
> configure:5089: result: yes
> configure:5043: checking for stdint.h
> configure:5059: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:5065: $? = 0
> configure:5069: test -z 
> 			 || test ! -s conftest.err
> configure:5072: $? = 0
> configure:5075: test -s conftest.o
> configure:5078: $? = 0
> configure:5089: result: yes
> configure:5043: checking for unistd.h
> configure:5059: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:5065: $? = 0
> configure:5069: test -z 
> 			 || test ! -s conftest.err
> configure:5072: $? = 0
> configure:5075: test -s conftest.o
> configure:5078: $? = 0
> configure:5089: result: yes
> configure:5101: checking for int
> configure:5125: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:5131: $? = 0
> configure:5135: test -z 
> 			 || test ! -s conftest.err
> configure:5138: $? = 0
> configure:5141: test -s conftest.o
> configure:5144: $? = 0
> configure:5155: result: yes
> configure:5158: checking size of int
> configure:5188: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:5194: $? = 0
> configure:5198: test -z 
> 			 || test ! -s conftest.err
> configure:5201: $? = 0
> configure:5204: test -s conftest.o
> configure:5207: $? = 0
> configure:5229: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> conftest.cc: In function `int main()':
> conftest.cc:68: error: size of array `test_array' is negative
> configure:5235: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "click"
> | #define PACKAGE_TARNAME "click"
> | #define PACKAGE_VERSION "1.5pre"
> | #define PACKAGE_STRING "click 1.5pre"
> | #define PACKAGE_BUGREPORT ""
> | #define CLICK_VERSION "1.5pre"
> | #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-3758/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
> | /* end confdefs.h.  */
> | #include <stdio.h>
> | #if HAVE_SYS_TYPES_H
> | # include <sys/types.h>
> | #endif
> | #if HAVE_SYS_STAT_H
> | # include <sys/stat.h>
> | #endif
> | #if STDC_HEADERS
> | # include <stdlib.h>
> | # include <stddef.h>
> | #else
> | # if HAVE_STDLIB_H
> | #  include <stdlib.h>
> | # endif
> | #endif
> | #if HAVE_STRING_H
> | # if !STDC_HEADERS && HAVE_MEMORY_H
> | #  include <memory.h>
> | # endif
> | # include <string.h>
> | #endif
> | #if HAVE_STRINGS_H
> | # include <strings.h>
> | #endif
> | #if HAVE_INTTYPES_H
> | # include <inttypes.h>
> | #else
> | # if HAVE_STDINT_H
> | #  include <stdint.h>
> | # endif
> | #endif
> | #if HAVE_UNISTD_H
> | # include <unistd.h>
> | #endif
> | int
> | main ()
> | {
> | static int test_array [1 - 2 * !(((long) (sizeof (int))) <= 0)];
> | test_array [0] = 0
> | 
> |   ;
> |   return 0;
> | }
> configure:5229: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> conftest.cc: In function `int main()':
> conftest.cc:68: error: size of array `test_array' is negative
> configure:5235: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "click"
> | #define PACKAGE_TARNAME "click"
> | #define PACKAGE_VERSION "1.5pre"
> | #define PACKAGE_STRING "click 1.5pre"
> | #define PACKAGE_BUGREPORT ""
> | #define CLICK_VERSION "1.5pre"
> | #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-3758/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
> | /* end confdefs.h.  */
> | #include <stdio.h>
> | #if HAVE_SYS_TYPES_H
> | # include <sys/types.h>
> | #endif
> | #if HAVE_SYS_STAT_H
> | # include <sys/stat.h>
> | #endif
> | #if STDC_HEADERS
> | # include <stdlib.h>
> | # include <stddef.h>
> | #else
> | # if HAVE_STDLIB_H
> | #  include <stdlib.h>
> | # endif
> | #endif
> | #if HAVE_STRING_H
> | # if !STDC_HEADERS && HAVE_MEMORY_H
> | #  include <memory.h>
> | # endif
> | # include <string.h>
> | #endif
> | #if HAVE_STRINGS_H
> | # include <strings.h>
> | #endif
> | #if HAVE_INTTYPES_H
> | # include <inttypes.h>
> | #else
> | # if HAVE_STDINT_H
> | #  include <stdint.h>
> | # endif
> | #endif
> | #if HAVE_UNISTD_H
> | # include <unistd.h>
> | #endif
> | int
> | main ()
> | {
> | static int test_array [1 - 2 * !(((long) (sizeof (int))) <= 1)];
> | test_array [0] = 0
> | 
> |   ;
> |   return 0;
> | }
> configure:5229: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> conftest.cc: In function `int main()':
> conftest.cc:68: error: size of array `test_array' is negative
> configure:5235: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "click"
> | #define PACKAGE_TARNAME "click"
> | #define PACKAGE_VERSION "1.5pre"
> | #define PACKAGE_STRING "click 1.5pre"
> | #define PACKAGE_BUGREPORT ""
> | #define CLICK_VERSION "1.5pre"
> | #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-3758/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
> | /* end confdefs.h.  */
> | #include <stdio.h>
> | #if HAVE_SYS_TYPES_H
> | # include <sys/types.h>
> | #endif
> | #if HAVE_SYS_STAT_H
> | # include <sys/stat.h>
> | #endif
> | #if STDC_HEADERS
> | # include <stdlib.h>
> | # include <stddef.h>
> | #else
> | # if HAVE_STDLIB_H
> | #  include <stdlib.h>
> | # endif
> | #endif
> | #if HAVE_STRING_H
> | # if !STDC_HEADERS && HAVE_MEMORY_H
> | #  include <memory.h>
> | # endif
> | # include <string.h>
> | #endif
> | #if HAVE_STRINGS_H
> | # include <strings.h>
> | #endif
> | #if HAVE_INTTYPES_H
> | # include <inttypes.h>
> | #else
> | # if HAVE_STDINT_H
> | #  include <stdint.h>
> | # endif
> | #endif
> | #if HAVE_UNISTD_H
> | # include <unistd.h>
> | #endif
> | int
> | main ()
> | {
> | static int test_array [1 - 2 * !(((long) (sizeof (int))) <= 3)];
> | test_array [0] = 0
> | 
> |   ;
> |   return 0;
> | }
> configure:5229: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:5235: $? = 0
> configure:5239: test -z 
> 			 || test ! -s conftest.err
> configure:5242: $? = 0
> configure:5245: test -s conftest.o
> configure:5248: $? = 0
> configure:5392: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:5398: $? = 0
> configure:5402: test -z 
> 			 || test ! -s conftest.err
> configure:5405: $? = 0
> configure:5408: test -s conftest.o
> configure:5411: $? = 0
> configure:5392: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:5398: $? = 0
> configure:5402: test -z 
> 			 || test ! -s conftest.err
> configure:5405: $? = 0
> configure:5408: test -s conftest.o
> configure:5411: $? = 0
> configure:5508: result: 4
> configure:5515: checking for long
> configure:5539: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:5545: $? = 0
> configure:5549: test -z 
> 			 || test ! -s conftest.err
> configure:5552: $? = 0
> configure:5555: test -s conftest.o
> configure:5558: $? = 0
> configure:5569: result: yes
> configure:5572: checking size of long
> configure:5602: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:5608: $? = 0
> configure:5612: test -z 
> 			 || test ! -s conftest.err
> configure:5615: $? = 0
> configure:5618: test -s conftest.o
> configure:5621: $? = 0
> configure:5643: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> conftest.cc: In function `int main()':
> conftest.cc:69: error: size of array `test_array' is negative
> configure:5649: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "click"
> | #define PACKAGE_TARNAME "click"
> | #define PACKAGE_VERSION "1.5pre"
> | #define PACKAGE_STRING "click 1.5pre"
> | #define PACKAGE_BUGREPORT ""
> | #define CLICK_VERSION "1.5pre"
> | #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-3758/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
> | /* end confdefs.h.  */
> | #include <stdio.h>
> | #if HAVE_SYS_TYPES_H
> | # include <sys/types.h>
> | #endif
> | #if HAVE_SYS_STAT_H
> | # include <sys/stat.h>
> | #endif
> | #if STDC_HEADERS
> | # include <stdlib.h>
> | # include <stddef.h>
> | #else
> | # if HAVE_STDLIB_H
> | #  include <stdlib.h>
> | # endif
> | #endif
> | #if HAVE_STRING_H
> | # if !STDC_HEADERS && HAVE_MEMORY_H
> | #  include <memory.h>
> | # endif
> | # include <string.h>
> | #endif
> | #if HAVE_STRINGS_H
> | # include <strings.h>
> | #endif
> | #if HAVE_INTTYPES_H
> | # include <inttypes.h>
> | #else
> | # if HAVE_STDINT_H
> | #  include <stdint.h>
> | # endif
> | #endif
> | #if HAVE_UNISTD_H
> | # include <unistd.h>
> | #endif
> | int
> | main ()
> | {
> | static int test_array [1 - 2 * !(((long) (sizeof (long))) <= 0)];
> | test_array [0] = 0
> | 
> |   ;
> |   return 0;
> | }
> configure:5643: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> conftest.cc: In function `int main()':
> conftest.cc:69: error: size of array `test_array' is negative
> configure:5649: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "click"
> | #define PACKAGE_TARNAME "click"
> | #define PACKAGE_VERSION "1.5pre"
> | #define PACKAGE_STRING "click 1.5pre"
> | #define PACKAGE_BUGREPORT ""
> | #define CLICK_VERSION "1.5pre"
> | #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-3758/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
> | /* end confdefs.h.  */
> | #include <stdio.h>
> | #if HAVE_SYS_TYPES_H
> | # include <sys/types.h>
> | #endif
> | #if HAVE_SYS_STAT_H
> | # include <sys/stat.h>
> | #endif
> | #if STDC_HEADERS
> | # include <stdlib.h>
> | # include <stddef.h>
> | #else
> | # if HAVE_STDLIB_H
> | #  include <stdlib.h>
> | # endif
> | #endif
> | #if HAVE_STRING_H
> | # if !STDC_HEADERS && HAVE_MEMORY_H
> | #  include <memory.h>
> | # endif
> | # include <string.h>
> | #endif
> | #if HAVE_STRINGS_H
> | # include <strings.h>
> | #endif
> | #if HAVE_INTTYPES_H
> | # include <inttypes.h>
> | #else
> | # if HAVE_STDINT_H
> | #  include <stdint.h>
> | # endif
> | #endif
> | #if HAVE_UNISTD_H
> | # include <unistd.h>
> | #endif
> | int
> | main ()
> | {
> | static int test_array [1 - 2 * !(((long) (sizeof (long))) <= 1)];
> | test_array [0] = 0
> | 
> |   ;
> |   return 0;
> | }
> configure:5643: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> conftest.cc: In function `int main()':
> conftest.cc:69: error: size of array `test_array' is negative
> configure:5649: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "click"
> | #define PACKAGE_TARNAME "click"
> | #define PACKAGE_VERSION "1.5pre"
> | #define PACKAGE_STRING "click 1.5pre"
> | #define PACKAGE_BUGREPORT ""
> | #define CLICK_VERSION "1.5pre"
> | #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-3758/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
> | /* end confdefs.h.  */
> | #include <stdio.h>
> | #if HAVE_SYS_TYPES_H
> | # include <sys/types.h>
> | #endif
> | #if HAVE_SYS_STAT_H
> | # include <sys/stat.h>
> | #endif
> | #if STDC_HEADERS
> | # include <stdlib.h>
> | # include <stddef.h>
> | #else
> | # if HAVE_STDLIB_H
> | #  include <stdlib.h>
> | # endif
> | #endif
> | #if HAVE_STRING_H
> | # if !STDC_HEADERS && HAVE_MEMORY_H
> | #  include <memory.h>
> | # endif
> | # include <string.h>
> | #endif
> | #if HAVE_STRINGS_H
> | # include <strings.h>
> | #endif
> | #if HAVE_INTTYPES_H
> | # include <inttypes.h>
> | #else
> | # if HAVE_STDINT_H
> | #  include <stdint.h>
> | # endif
> | #endif
> | #if HAVE_UNISTD_H
> | # include <unistd.h>
> | #endif
> | int
> | main ()
> | {
> | static int test_array [1 - 2 * !(((long) (sizeof (long))) <= 3)];
> | test_array [0] = 0
> | 
> |   ;
> |   return 0;
> | }
> configure:5643: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:5649: $? = 0
> configure:5653: test -z 
> 			 || test ! -s conftest.err
> configure:5656: $? = 0
> configure:5659: test -s conftest.o
> configure:5662: $? = 0
> configure:5806: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:5812: $? = 0
> configure:5816: test -z 
> 			 || test ! -s conftest.err
> configure:5819: $? = 0
> configure:5822: test -s conftest.o
> configure:5825: $? = 0
> configure:5806: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:5812: $? = 0
> configure:5816: test -z 
> 			 || test ! -s conftest.err
> configure:5819: $? = 0
> configure:5822: test -s conftest.o
> configure:5825: $? = 0
> configure:5922: result: 4
> configure:5935: checking for inttypes.h
> configure:5940: result: yes
> configure:6160: checking for long long
> configure:6184: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:6190: $? = 0
> configure:6194: test -z 
> 			 || test ! -s conftest.err
> configure:6197: $? = 0
> configure:6200: test -s conftest.o
> configure:6203: $? = 0
> configure:6214: result: yes
> configure:6217: checking size of long long
> configure:6247: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:6253: $? = 0
> configure:6257: test -z 
> 			 || test ! -s conftest.err
> configure:6260: $? = 0
> configure:6263: test -s conftest.o
> configure:6266: $? = 0
> configure:6288: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> conftest.cc: In function `int main()':
> conftest.cc:71: error: size of array `test_array' is negative
> configure:6294: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "click"
> | #define PACKAGE_TARNAME "click"
> | #define PACKAGE_VERSION "1.5pre"
> | #define PACKAGE_STRING "click 1.5pre"
> | #define PACKAGE_BUGREPORT ""
> | #define CLICK_VERSION "1.5pre"
> | #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-3758/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
> | /* end confdefs.h.  */
> | #include <stdio.h>
> | #if HAVE_SYS_TYPES_H
> | # include <sys/types.h>
> | #endif
> | #if HAVE_SYS_STAT_H
> | # include <sys/stat.h>
> | #endif
> | #if STDC_HEADERS
> | # include <stdlib.h>
> | # include <stddef.h>
> | #else
> | # if HAVE_STDLIB_H
> | #  include <stdlib.h>
> | # endif
> | #endif
> | #if HAVE_STRING_H
> | # if !STDC_HEADERS && HAVE_MEMORY_H
> | #  include <memory.h>
> | # endif
> | # include <string.h>
> | #endif
> | #if HAVE_STRINGS_H
> | # include <strings.h>
> | #endif
> | #if HAVE_INTTYPES_H
> | # include <inttypes.h>
> | #else
> | # if HAVE_STDINT_H
> | #  include <stdint.h>
> | # endif
> | #endif
> | #if HAVE_UNISTD_H
> | # include <unistd.h>
> | #endif
> | int
> | main ()
> | {
> | static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= 0)];
> | test_array [0] = 0
> | 
> |   ;
> |   return 0;
> | }
> configure:6288: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> conftest.cc: In function `int main()':
> conftest.cc:71: error: size of array `test_array' is negative
> configure:6294: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "click"
> | #define PACKAGE_TARNAME "click"
> | #define PACKAGE_VERSION "1.5pre"
> | #define PACKAGE_STRING "click 1.5pre"
> | #define PACKAGE_BUGREPORT ""
> | #define CLICK_VERSION "1.5pre"
> | #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-3758/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
> | /* end confdefs.h.  */
> | #include <stdio.h>
> | #if HAVE_SYS_TYPES_H
> | # include <sys/types.h>
> | #endif
> | #if HAVE_SYS_STAT_H
> | # include <sys/stat.h>
> | #endif
> | #if STDC_HEADERS
> | # include <stdlib.h>
> | # include <stddef.h>
> | #else
> | # if HAVE_STDLIB_H
> | #  include <stdlib.h>
> | # endif
> | #endif
> | #if HAVE_STRING_H
> | # if !STDC_HEADERS && HAVE_MEMORY_H
> | #  include <memory.h>
> | # endif
> | # include <string.h>
> | #endif
> | #if HAVE_STRINGS_H
> | # include <strings.h>
> | #endif
> | #if HAVE_INTTYPES_H
> | # include <inttypes.h>
> | #else
> | # if HAVE_STDINT_H
> | #  include <stdint.h>
> | # endif
> | #endif
> | #if HAVE_UNISTD_H
> | # include <unistd.h>
> | #endif
> | int
> | main ()
> | {
> | static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= 1)];
> | test_array [0] = 0
> | 
> |   ;
> |   return 0;
> | }
> configure:6288: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> conftest.cc: In function `int main()':
> conftest.cc:71: error: size of array `test_array' is negative
> configure:6294: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "click"
> | #define PACKAGE_TARNAME "click"
> | #define PACKAGE_VERSION "1.5pre"
> | #define PACKAGE_STRING "click 1.5pre"
> | #define PACKAGE_BUGREPORT ""
> | #define CLICK_VERSION "1.5pre"
> | #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-3758/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
> | /* end confdefs.h.  */
> | #include <stdio.h>
> | #if HAVE_SYS_TYPES_H
> | # include <sys/types.h>
> | #endif
> | #if HAVE_SYS_STAT_H
> | # include <sys/stat.h>
> | #endif
> | #if STDC_HEADERS
> | # include <stdlib.h>
> | # include <stddef.h>
> | #else
> | # if HAVE_STDLIB_H
> | #  include <stdlib.h>
> | # endif
> | #endif
> | #if HAVE_STRING_H
> | # if !STDC_HEADERS && HAVE_MEMORY_H
> | #  include <memory.h>
> | # endif
> | # include <string.h>
> | #endif
> | #if HAVE_STRINGS_H
> | # include <strings.h>
> | #endif
> | #if HAVE_INTTYPES_H
> | # include <inttypes.h>
> | #else
> | # if HAVE_STDINT_H
> | #  include <stdint.h>
> | # endif
> | #endif
> | #if HAVE_UNISTD_H
> | # include <unistd.h>
> | #endif
> | int
> | main ()
> | {
> | static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= 3)];
> | test_array [0] = 0
> | 
> |   ;
> |   return 0;
> | }
> configure:6288: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> conftest.cc: In function `int main()':
> conftest.cc:71: error: size of array `test_array' is negative
> configure:6294: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "click"
> | #define PACKAGE_TARNAME "click"
> | #define PACKAGE_VERSION "1.5pre"
> | #define PACKAGE_STRING "click 1.5pre"
> | #define PACKAGE_BUGREPORT ""
> | #define CLICK_VERSION "1.5pre"
> | #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-3758/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
> | /* end confdefs.h.  */
> | #include <stdio.h>
> | #if HAVE_SYS_TYPES_H
> | # include <sys/types.h>
> | #endif
> | #if HAVE_SYS_STAT_H
> | # include <sys/stat.h>
> | #endif
> | #if STDC_HEADERS
> | # include <stdlib.h>
> | # include <stddef.h>
> | #else
> | # if HAVE_STDLIB_H
> | #  include <stdlib.h>
> | # endif
> | #endif
> | #if HAVE_STRING_H
> | # if !STDC_HEADERS && HAVE_MEMORY_H
> | #  include <memory.h>
> | # endif
> | # include <string.h>
> | #endif
> | #if HAVE_STRINGS_H
> | # include <strings.h>
> | #endif
> | #if HAVE_INTTYPES_H
> | # include <inttypes.h>
> | #else
> | # if HAVE_STDINT_H
> | #  include <stdint.h>
> | # endif
> | #endif
> | #if HAVE_UNISTD_H
> | # include <unistd.h>
> | #endif
> | int
> | main ()
> | {
> | static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= 7)];
> | test_array [0] = 0
> | 
> |   ;
> |   return 0;
> | }
> configure:6288: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:6294: $? = 0
> configure:6298: test -z 
> 			 || test ! -s conftest.err
> configure:6301: $? = 0
> configure:6304: test -s conftest.o
> configure:6307: $? = 0
> configure:6451: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:6457: $? = 0
> configure:6461: test -z 
> 			 || test ! -s conftest.err
> configure:6464: $? = 0
> configure:6467: test -s conftest.o
> configure:6470: $? = 0
> configure:6451: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:6457: $? = 0
> configure:6461: test -z 
> 			 || test ! -s conftest.err
> configure:6464: $? = 0
> configure:6467: test -s conftest.o
> configure:6470: $? = 0
> configure:6451: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:6457: $? = 0
> configure:6461: test -z 
> 			 || test ! -s conftest.err
> configure:6464: $? = 0
> configure:6467: test -s conftest.o
> configure:6470: $? = 0
> configure:6567: result: 8
> configure:6581: checking for long long
> configure:6635: result: yes
> configure:6646: checking for int64_t typedef
> configure:6669: result: yes
> configure:6671: checking for uint64_t typedef
> configure:6694: result: yes
> configure:6722: checking whether long and int64_t are the same type
> configure:6753: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:6759: $? = 0
> configure:6763: test -z 
> 			 || test ! -s conftest.err
> configure:6766: $? = 0
> configure:6769: test -s conftest.o
> configure:6772: $? = 0
> configure:6783: result: no
> configure:6794: checking for struct timeval
> configure:6818: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:6824: $? = 0
> configure:6828: test -z 
> 			 || test ! -s conftest.err
> configure:6831: $? = 0
> configure:6834: test -s conftest.o
> configure:6837: $? = 0
> configure:6848: result: yes
> configure:6851: checking size of struct timeval
> configure:6881: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:6887: $? = 0
> configure:6891: test -z 
> 			 || test ! -s conftest.err
> configure:6894: $? = 0
> configure:6897: test -s conftest.o
> configure:6900: $? = 0
> configure:6922: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> conftest.cc: In function `int main()':
> conftest.cc:74: error: size of array `test_array' is negative
> configure:6928: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "click"
> | #define PACKAGE_TARNAME "click"
> | #define PACKAGE_VERSION "1.5pre"
> | #define PACKAGE_STRING "click 1.5pre"
> | #define PACKAGE_BUGREPORT ""
> | #define CLICK_VERSION "1.5pre"
> | #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-3758/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
> | /* end confdefs.h.  */
> | #include <stdio.h>
> | #if HAVE_SYS_TYPES_H
> | # include <sys/types.h>
> | #endif
> | #if HAVE_SYS_STAT_H
> | # include <sys/stat.h>
> | #endif
> | #if STDC_HEADERS
> | # include <stdlib.h>
> | # include <stddef.h>
> | #else
> | # if HAVE_STDLIB_H
> | #  include <stdlib.h>
> | # endif
> | #endif
> | #if HAVE_STRING_H
> | # if !STDC_HEADERS && HAVE_MEMORY_H
> | #  include <memory.h>
> | # endif
> | # include <string.h>
> | #endif
> | #if HAVE_STRINGS_H
> | # include <strings.h>
> | #endif
> | #if HAVE_INTTYPES_H
> | # include <inttypes.h>
> | #else
> | # if HAVE_STDINT_H
> | #  include <stdint.h>
> | # endif
> | #endif
> | #if HAVE_UNISTD_H
> | # include <unistd.h>
> | #endif
> | int
> | main ()
> | {
> | static int test_array [1 - 2 * !(((long) (sizeof (struct timeval))) <= 0)];
> | test_array [0] = 0
> | 
> |   ;
> |   return 0;
> | }
> configure:6922: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> conftest.cc: In function `int main()':
> conftest.cc:74: error: size of array `test_array' is negative
> configure:6928: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "click"
> | #define PACKAGE_TARNAME "click"
> | #define PACKAGE_VERSION "1.5pre"
> | #define PACKAGE_STRING "click 1.5pre"
> | #define PACKAGE_BUGREPORT ""
> | #define CLICK_VERSION "1.5pre"
> | #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-3758/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
> | /* end confdefs.h.  */
> | #include <stdio.h>
> | #if HAVE_SYS_TYPES_H
> | # include <sys/types.h>
> | #endif
> | #if HAVE_SYS_STAT_H
> | # include <sys/stat.h>
> | #endif
> | #if STDC_HEADERS
> | # include <stdlib.h>
> | # include <stddef.h>
> | #else
> | # if HAVE_STDLIB_H
> | #  include <stdlib.h>
> | # endif
> | #endif
> | #if HAVE_STRING_H
> | # if !STDC_HEADERS && HAVE_MEMORY_H
> | #  include <memory.h>
> | # endif
> | # include <string.h>
> | #endif
> | #if HAVE_STRINGS_H
> | # include <strings.h>
> | #endif
> | #if HAVE_INTTYPES_H
> | # include <inttypes.h>
> | #else
> | # if HAVE_STDINT_H
> | #  include <stdint.h>
> | # endif
> | #endif
> | #if HAVE_UNISTD_H
> | # include <unistd.h>
> | #endif
> | int
> | main ()
> | {
> | static int test_array [1 - 2 * !(((long) (sizeof (struct timeval))) <= 1)];
> | test_array [0] = 0
> | 
> |   ;
> |   return 0;
> | }
> configure:6922: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> conftest.cc: In function `int main()':
> conftest.cc:74: error: size of array `test_array' is negative
> configure:6928: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "click"
> | #define PACKAGE_TARNAME "click"
> | #define PACKAGE_VERSION "1.5pre"
> | #define PACKAGE_STRING "click 1.5pre"
> | #define PACKAGE_BUGREPORT ""
> | #define CLICK_VERSION "1.5pre"
> | #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-3758/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
> | /* end confdefs.h.  */
> | #include <stdio.h>
> | #if HAVE_SYS_TYPES_H
> | # include <sys/types.h>
> | #endif
> | #if HAVE_SYS_STAT_H
> | # include <sys/stat.h>
> | #endif
> | #if STDC_HEADERS
> | # include <stdlib.h>
> | # include <stddef.h>
> | #else
> | # if HAVE_STDLIB_H
> | #  include <stdlib.h>
> | # endif
> | #endif
> | #if HAVE_STRING_H
> | # if !STDC_HEADERS && HAVE_MEMORY_H
> | #  include <memory.h>
> | # endif
> | # include <string.h>
> | #endif
> | #if HAVE_STRINGS_H
> | # include <strings.h>
> | #endif
> | #if HAVE_INTTYPES_H
> | # include <inttypes.h>
> | #else
> | # if HAVE_STDINT_H
> | #  include <stdint.h>
> | # endif
> | #endif
> | #if HAVE_UNISTD_H
> | # include <unistd.h>
> | #endif
> | int
> | main ()
> | {
> | static int test_array [1 - 2 * !(((long) (sizeof (struct timeval))) <= 3)];
> | test_array [0] = 0
> | 
> |   ;
> |   return 0;
> | }
> configure:6922: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> conftest.cc: In function `int main()':
> conftest.cc:74: error: size of array `test_array' is negative
> configure:6928: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "click"
> | #define PACKAGE_TARNAME "click"
> | #define PACKAGE_VERSION "1.5pre"
> | #define PACKAGE_STRING "click 1.5pre"
> | #define PACKAGE_BUGREPORT ""
> | #define CLICK_VERSION "1.5pre"
> | #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-3758/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
> | /* end confdefs.h.  */
> | #include <stdio.h>
> | #if HAVE_SYS_TYPES_H
> | # include <sys/types.h>
> | #endif
> | #if HAVE_SYS_STAT_H
> | # include <sys/stat.h>
> | #endif
> | #if STDC_HEADERS
> | # include <stdlib.h>
> | # include <stddef.h>
> | #else
> | # if HAVE_STDLIB_H
> | #  include <stdlib.h>
> | # endif
> | #endif
> | #if HAVE_STRING_H
> | # if !STDC_HEADERS && HAVE_MEMORY_H
> | #  include <memory.h>
> | # endif
> | # include <string.h>
> | #endif
> | #if HAVE_STRINGS_H
> | # include <strings.h>
> | #endif
> | #if HAVE_INTTYPES_H
> | # include <inttypes.h>
> | #else
> | # if HAVE_STDINT_H
> | #  include <stdint.h>
> | # endif
> | #endif
> | #if HAVE_UNISTD_H
> | # include <unistd.h>
> | #endif
> | int
> | main ()
> | {
> | static int test_array [1 - 2 * !(((long) (sizeof (struct timeval))) <= 7)];
> | test_array [0] = 0
> | 
> |   ;
> |   return 0;
> | }
> configure:6922: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:6928: $? = 0
> configure:6932: test -z 
> 			 || test ! -s conftest.err
> configure:6935: $? = 0
> configure:6938: test -s conftest.o
> configure:6941: $? = 0
> configure:7085: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:7091: $? = 0
> configure:7095: test -z 
> 			 || test ! -s conftest.err
> configure:7098: $? = 0
> configure:7101: test -s conftest.o
> configure:7104: $? = 0
> configure:7085: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:7091: $? = 0
> configure:7095: test -z 
> 			 || test ! -s conftest.err
> configure:7098: $? = 0
> configure:7101: test -s conftest.o
> configure:7104: $? = 0
> configure:7085: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:7091: $? = 0
> configure:7095: test -z 
> 			 || test ! -s conftest.err
> configure:7098: $? = 0
> configure:7101: test -s conftest.o
> configure:7104: $? = 0
> configure:7201: result: 8
> configure:7208: checking for struct timespec
> configure:7232: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:7238: $? = 0
> configure:7242: test -z 
> 			 || test ! -s conftest.err
> configure:7245: $? = 0
> configure:7248: test -s conftest.o
> configure:7251: $? = 0
> configure:7262: result: yes
> configure:7276: checking for struct timespec
> configure:7330: result: yes
> configure:7333: checking size of struct timespec
> configure:7363: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:7369: $? = 0
> configure:7373: test -z 
> 			 || test ! -s conftest.err
> configure:7376: $? = 0
> configure:7379: test -s conftest.o
> configure:7382: $? = 0
> configure:7404: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> conftest.cc: In function `int main()':
> conftest.cc:76: error: size of array `test_array' is negative
> configure:7410: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "click"
> | #define PACKAGE_TARNAME "click"
> | #define PACKAGE_VERSION "1.5pre"
> | #define PACKAGE_STRING "click 1.5pre"
> | #define PACKAGE_BUGREPORT ""
> | #define CLICK_VERSION "1.5pre"
> | #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-3758/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
> | /* end confdefs.h.  */
> | #include <stdio.h>
> | #if HAVE_SYS_TYPES_H
> | # include <sys/types.h>
> | #endif
> | #if HAVE_SYS_STAT_H
> | # include <sys/stat.h>
> | #endif
> | #if STDC_HEADERS
> | # include <stdlib.h>
> | # include <stddef.h>
> | #else
> | # if HAVE_STDLIB_H
> | #  include <stdlib.h>
> | # endif
> | #endif
> | #if HAVE_STRING_H
> | # if !STDC_HEADERS && HAVE_MEMORY_H
> | #  include <memory.h>
> | # endif
> | # include <string.h>
> | #endif
> | #if HAVE_STRINGS_H
> | # include <strings.h>
> | #endif
> | #if HAVE_INTTYPES_H
> | # include <inttypes.h>
> | #else
> | # if HAVE_STDINT_H
> | #  include <stdint.h>
> | # endif
> | #endif
> | #if HAVE_UNISTD_H
> | # include <unistd.h>
> | #endif
> | int
> | main ()
> | {
> | static int test_array [1 - 2 * !(((long) (sizeof (struct timespec))) <= 0)];
> | test_array [0] = 0
> | 
> |   ;
> |   return 0;
> | }
> configure:7404: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> conftest.cc: In function `int main()':
> conftest.cc:76: error: size of array `test_array' is negative
> configure:7410: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "click"
> | #define PACKAGE_TARNAME "click"
> | #define PACKAGE_VERSION "1.5pre"
> | #define PACKAGE_STRING "click 1.5pre"
> | #define PACKAGE_BUGREPORT ""
> | #define CLICK_VERSION "1.5pre"
> | #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-3758/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
> | /* end confdefs.h.  */
> | #include <stdio.h>
> | #if HAVE_SYS_TYPES_H
> | # include <sys/types.h>
> | #endif
> | #if HAVE_SYS_STAT_H
> | # include <sys/stat.h>
> | #endif
> | #if STDC_HEADERS
> | # include <stdlib.h>
> | # include <stddef.h>
> | #else
> | # if HAVE_STDLIB_H
> | #  include <stdlib.h>
> | # endif
> | #endif
> | #if HAVE_STRING_H
> | # if !STDC_HEADERS && HAVE_MEMORY_H
> | #  include <memory.h>
> | # endif
> | # include <string.h>
> | #endif
> | #if HAVE_STRINGS_H
> | # include <strings.h>
> | #endif
> | #if HAVE_INTTYPES_H
> | # include <inttypes.h>
> | #else
> | # if HAVE_STDINT_H
> | #  include <stdint.h>
> | # endif
> | #endif
> | #if HAVE_UNISTD_H
> | # include <unistd.h>
> | #endif
> | int
> | main ()
> | {
> | static int test_array [1 - 2 * !(((long) (sizeof (struct timespec))) <= 1)];
> | test_array [0] = 0
> | 
> |   ;
> |   return 0;
> | }
> configure:7404: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> conftest.cc: In function `int main()':
> conftest.cc:76: error: size of array `test_array' is negative
> configure:7410: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "click"
> | #define PACKAGE_TARNAME "click"
> | #define PACKAGE_VERSION "1.5pre"
> | #define PACKAGE_STRING "click 1.5pre"
> | #define PACKAGE_BUGREPORT ""
> | #define CLICK_VERSION "1.5pre"
> | #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-3758/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
> | /* end confdefs.h.  */
> | #include <stdio.h>
> | #if HAVE_SYS_TYPES_H
> | # include <sys/types.h>
> | #endif
> | #if HAVE_SYS_STAT_H
> | # include <sys/stat.h>
> | #endif
> | #if STDC_HEADERS
> | # include <stdlib.h>
> | # include <stddef.h>
> | #else
> | # if HAVE_STDLIB_H
> | #  include <stdlib.h>
> | # endif
> | #endif
> | #if HAVE_STRING_H
> | # if !STDC_HEADERS && HAVE_MEMORY_H
> | #  include <memory.h>
> | # endif
> | # include <string.h>
> | #endif
> | #if HAVE_STRINGS_H
> | # include <strings.h>
> | #endif
> | #if HAVE_INTTYPES_H
> | # include <inttypes.h>
> | #else
> | # if HAVE_STDINT_H
> | #  include <stdint.h>
> | # endif
> | #endif
> | #if HAVE_UNISTD_H
> | # include <unistd.h>
> | #endif
> | int
> | main ()
> | {
> | static int test_array [1 - 2 * !(((long) (sizeof (struct timespec))) <= 3)];
> | test_array [0] = 0
> | 
> |   ;
> |   return 0;
> | }
> configure:7404: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> conftest.cc: In function `int main()':
> conftest.cc:76: error: size of array `test_array' is negative
> configure:7410: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "click"
> | #define PACKAGE_TARNAME "click"
> | #define PACKAGE_VERSION "1.5pre"
> | #define PACKAGE_STRING "click 1.5pre"
> | #define PACKAGE_BUGREPORT ""
> | #define CLICK_VERSION "1.5pre"
> | #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-3758/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
> | /* end confdefs.h.  */
> | #include <stdio.h>
> | #if HAVE_SYS_TYPES_H
> | # include <sys/types.h>
> | #endif
> | #if HAVE_SYS_STAT_H
> | # include <sys/stat.h>
> | #endif
> | #if STDC_HEADERS
> | # include <stdlib.h>
> | # include <stddef.h>
> | #else
> | # if HAVE_STDLIB_H
> | #  include <stdlib.h>
> | # endif
> | #endif
> | #if HAVE_STRING_H
> | # if !STDC_HEADERS && HAVE_MEMORY_H
> | #  include <memory.h>
> | # endif
> | # include <string.h>
> | #endif
> | #if HAVE_STRINGS_H
> | # include <strings.h>
> | #endif
> | #if HAVE_INTTYPES_H
> | # include <inttypes.h>
> | #else
> | # if HAVE_STDINT_H
> | #  include <stdint.h>
> | # endif
> | #endif
> | #if HAVE_UNISTD_H
> | # include <unistd.h>
> | #endif
> | int
> | main ()
> | {
> | static int test_array [1 - 2 * !(((long) (sizeof (struct timespec))) <= 7)];
> | test_array [0] = 0
> | 
> |   ;
> |   return 0;
> | }
> configure:7404: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:7410: $? = 0
> configure:7414: test -z 
> 			 || test ! -s conftest.err
> configure:7417: $? = 0
> configure:7420: test -s conftest.o
> configure:7423: $? = 0
> configure:7567: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:7573: $? = 0
> configure:7577: test -z 
> 			 || test ! -s conftest.err
> configure:7580: $? = 0
> configure:7583: test -s conftest.o
> configure:7586: $? = 0
> configure:7567: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:7573: $? = 0
> configure:7577: test -z 
> 			 || test ! -s conftest.err
> configure:7580: $? = 0
> configure:7583: test -s conftest.o
> configure:7586: $? = 0
> configure:7567: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:7573: $? = 0
> configure:7577: test -z 
> 			 || test ! -s conftest.err
> configure:7580: $? = 0
> configure:7583: test -s conftest.o
> configure:7586: $? = 0
> configure:7683: result: 8
> configure:7707: checking endian.h usability
> configure:7719: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:7725: $? = 0
> configure:7729: test -z 
> 			 || test ! -s conftest.err
> configure:7732: $? = 0
> configure:7735: test -s conftest.o
> configure:7738: $? = 0
> configure:7748: result: yes
> configure:7752: checking endian.h presence
> configure:7762: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -E -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc
> configure:7768: $? = 0
> configure:7788: result: yes
> configure:7823: checking for endian.h
> configure:7830: result: yes
> configure:7851: checking endianness
> configure:7871: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -E -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >conftest.result 2>conftest.out
> configure:7874: $? = 0
> configure:7887: result: 1234
> configure:7967: checking byteswap.h usability
> configure:7979: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:7985: $? = 0
> configure:7989: test -z 
> 			 || test ! -s conftest.err
> configure:7992: $? = 0
> configure:7995: test -s conftest.o
> configure:7998: $? = 0
> configure:8008: result: yes
> configure:8012: checking byteswap.h presence
> configure:8022: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -E -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc
> configure:8028: $? = 0
> configure:8048: result: yes
> configure:8083: checking for byteswap.h
> configure:8090: result: yes
> configure:8111: checking for addressable va_list type
> configure:8143: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:8149: $? = 0
> configure:8153: test -z 
> 			 || test ! -s conftest.err
> configure:8156: $? = 0
> configure:8159: test -s conftest.o
> configure:8162: $? = 0
> configure:8173: result: yes
> configure:8184: checking for __builtin_clz
> configure:8205: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:8211: $? = 0
> configure:8215: test -z 
> 			 || test ! -s conftest.err
> configure:8218: $? = 0
> configure:8221: test -s conftest.o
> configure:8224: $? = 0
> configure:8235: result: yes
> configure:8244: checking for __builtin_clzl
> configure:8265: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:8271: $? = 0
> configure:8275: test -z 
> 			 || test ! -s conftest.err
> configure:8278: $? = 0
> configure:8281: test -s conftest.o
> configure:8284: $? = 0
> configure:8295: result: yes
> configure:8304: checking for __builtin_clzll
> configure:8325: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:8331: $? = 0
> configure:8335: test -z 
> 			 || test ! -s conftest.err
> configure:8338: $? = 0
> configure:8341: test -s conftest.o
> configure:8344: $? = 0
> configure:8355: result: yes
> configure:8365: checking for __builtin_ffs
> configure:8386: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:8392: $? = 0
> configure:8396: test -z 
> 			 || test ! -s conftest.err
> configure:8399: $? = 0
> configure:8402: test -s conftest.o
> configure:8405: $? = 0
> configure:8416: result: yes
> configure:8425: checking for __builtin_ffsl
> configure:8446: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:8452: $? = 0
> configure:8456: test -z 
> 			 || test ! -s conftest.err
> configure:8459: $? = 0
> configure:8462: test -s conftest.o
> configure:8465: $? = 0
> configure:8476: result: yes
> configure:8485: checking for __builtin_ffsll
> configure:8506: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:8512: $? = 0
> configure:8516: test -z 
> 			 || test ! -s conftest.err
> configure:8519: $? = 0
> configure:8522: test -s conftest.o
> configure:8525: $? = 0
> configure:8536: result: yes
> configure:8551: checking for strings.h
> configure:8556: result: yes
> configure:8702: checking for ffs
> configure:8759: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -o conftest -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include -L/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/lib conftest.cc  >&5
> configure:8765: $? = 0
> configure:8769: test -z 
> 			 || test ! -s conftest.err
> configure:8772: $? = 0
> configure:8775: test -s conftest
> configure:8778: $? = 0
> configure:8790: result: yes
> configure:8702: checking for ffsl
> configure:8759: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -o conftest -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include -L/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/lib conftest.cc  >&5
> /tmp/ccMgBgG7.o: In function `main':
> conftest.cc:(.text+0x10): undefined reference to `ffsl'
> /tmp/ccMgBgG7.o:(.data.rel+0x0): undefined reference to `ffsl'
> collect2: ld returned 1 exit status
> configure:8765: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "click"
> | #define PACKAGE_TARNAME "click"
> | #define PACKAGE_VERSION "1.5pre"
> | #define PACKAGE_STRING "click 1.5pre"
> | #define PACKAGE_BUGREPORT ""
> | #define CLICK_VERSION "1.5pre"
> | #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-3758/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
> | /* end confdefs.h.  */
> | /* Define ffsl to an innocuous variant, in case <limits.h> declares ffsl.
> |    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
> | #define ffsl innocuous_ffsl
> | 
> | /* System header to define __stub macros and hopefully few prototypes,
> |     which can conflict with char ffsl (); below.
> |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
> |     <limits.h> exists even on freestanding compilers.  */
> | 
> | #ifdef __STDC__
> | # include <limits.h>
> | #else
> | # include <assert.h>
> | #endif
> | 
> | #undef ffsl
> | 
> | /* Override any gcc2 internal prototype to avoid an error.  */
> | #ifdef __cplusplus
> | extern "C"
> | {
> | #endif
> | /* We use char because int might match the return type of a gcc2
> |    builtin and then its argument prototype would still apply.  */
> | char ffsl ();
> | /* The GNU C library defines this for functions which it implements
> |     to always fail with ENOSYS.  Some functions are actually named
> |     something starting with __ and the normal name is an alias.  */
> | #if defined (__stub_ffsl) || defined (__stub___ffsl)
> | choke me
> | #else
> | char (*f) () = ffsl;
> | #endif
> | #ifdef __cplusplus
> | }
> | #endif
> | 
> | int
> | main ()
> | {
> | return f != ffsl;
> |   ;
> |   return 0;
> | }
> configure:8790: result: no
> configure:8702: checking for ffsll
> configure:8759: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -o conftest -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include -L/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/lib conftest.cc  >&5
> /tmp/ccatPzhu.o: In function `main':
> conftest.cc:(.text+0x10): undefined reference to `ffsll'
> /tmp/ccatPzhu.o:(.data.rel+0x0): undefined reference to `ffsll'
> collect2: ld returned 1 exit status
> configure:8765: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "click"
> | #define PACKAGE_TARNAME "click"
> | #define PACKAGE_VERSION "1.5pre"
> | #define PACKAGE_STRING "click 1.5pre"
> | #define PACKAGE_BUGREPORT ""
> | #define CLICK_VERSION "1.5pre"
> | #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-3758/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
> | /* end confdefs.h.  */
> | /* Define ffsll to an innocuous variant, in case <limits.h> declares ffsll.
> |    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
> | #define ffsll innocuous_ffsll
> | 
> | /* System header to define __stub macros and hopefully few prototypes,
> |     which can conflict with char ffsll (); below.
> |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
> |     <limits.h> exists even on freestanding compilers.  */
> | 
> | #ifdef __STDC__
> | # include <limits.h>
> | #else
> | # include <assert.h>
> | #endif
> | 
> | #undef ffsll
> | 
> | /* Override any gcc2 internal prototype to avoid an error.  */
> | #ifdef __cplusplus
> | extern "C"
> | {
> | #endif
> | /* We use char because int might match the return type of a gcc2
> |    builtin and then its argument prototype would still apply.  */
> | char ffsll ();
> | /* The GNU C library defines this for functions which it implements
> |     to always fail with ENOSYS.  Some functions are actually named
> |     something starting with __ and the normal name is an alias.  */
> | #if defined (__stub_ffsll) || defined (__stub___ffsll)
> | choke me
> | #else
> | char (*f) () = ffsll;
> | #endif
> | #ifdef __cplusplus
> | }
> | #endif
> | 
> | int
> | main ()
> | {
> | return f != ffsll;
> |   ;
> |   return 0;
> | }
> configure:8790: result: no
> configure:8849: checking for gcc
> configure:8865: found /usr/bin/gcc
> configure:8875: result: gcc
> configure:8889: checking for g++
> configure:8905: found /usr/bin/g++
> configure:8915: result: g++
> configure:8934: checking for ar
> configure:8950: found /usr/bin/ar
> configure:8960: result: ar
> configure:8974: checking for ranlib
> configure:8990: found /usr/bin/ranlib
> configure:9000: result: ranlib
> configure:9027: checking for unistd.h
> configure:9032: result: yes
> configure:9036: checking termio.h usability
> configure:9048: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:9054: $? = 0
> configure:9058: test -z 
> 			 || test ! -s conftest.err
> configure:9061: $? = 0
> configure:9064: test -s conftest.o
> configure:9067: $? = 0
> configure:9077: result: yes
> configure:9081: checking termio.h presence
> configure:9091: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -E -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc
> configure:9097: $? = 0
> configure:9117: result: yes
> configure:9152: checking for termio.h
> configure:9159: result: yes
> configure:9036: checking netdb.h usability
> configure:9048: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:9054: $? = 0
> configure:9058: test -z 
> 			 || test ! -s conftest.err
> configure:9061: $? = 0
> configure:9064: test -s conftest.o
> configure:9067: $? = 0
> configure:9077: result: yes
> configure:9081: checking netdb.h presence
> configure:9091: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -E -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc
> configure:9097: $? = 0
> configure:9117: result: yes
> configure:9152: checking for netdb.h
> configure:9159: result: yes
> configure:9036: checking sys/event.h usability
> configure:9048: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> conftest.cc:89:23: sys/event.h: No such file or directory
> configure:9054: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "click"
> | #define PACKAGE_TARNAME "click"
> | #define PACKAGE_VERSION "1.5pre"
> | #define PACKAGE_STRING "click 1.5pre"
> | #define PACKAGE_BUGREPORT ""
> | #define CLICK_VERSION "1.5pre"
> | #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-3758/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
> | /* end confdefs.h.  */
> | #include <stdio.h>
> | #if HAVE_SYS_TYPES_H
> | # include <sys/types.h>
> | #endif
> | #if HAVE_SYS_STAT_H
> | # include <sys/stat.h>
> | #endif
> | #if STDC_HEADERS
> | # include <stdlib.h>
> | # include <stddef.h>
> | #else
> | # if HAVE_STDLIB_H
> | #  include <stdlib.h>
> | # endif
> | #endif
> | #if HAVE_STRING_H
> | # if !STDC_HEADERS && HAVE_MEMORY_H
> | #  include <memory.h>
> | # endif
> | # include <string.h>
> | #endif
> | #if HAVE_STRINGS_H
> | # include <strings.h>
> | #endif
> | #if HAVE_INTTYPES_H
> | # include <inttypes.h>
> | #else
> | # if HAVE_STDINT_H
> | #  include <stdint.h>
> | # endif
> | #endif
> | #if HAVE_UNISTD_H
> | # include <unistd.h>
> | #endif
> | #include <sys/event.h>
> configure:9077: result: no
> configure:9081: checking sys/event.h presence
> configure:9091: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -E -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc
> conftest.cc:55:23: sys/event.h: No such file or directory
> configure:9097: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "click"
> | #define PACKAGE_TARNAME "click"
> | #define PACKAGE_VERSION "1.5pre"
> | #define PACKAGE_STRING "click 1.5pre"
> | #define PACKAGE_BUGREPORT ""
> | #define CLICK_VERSION "1.5pre"
> | #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-3758/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
> | /* end confdefs.h.  */
> | #include <sys/event.h>
> configure:9117: result: no
> configure:9152: checking for sys/event.h
> configure:9159: result: no
> configure:9036: checking pwd.h usability
> configure:9048: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:9054: $? = 0
> configure:9058: test -z 
> 			 || test ! -s conftest.err
> configure:9061: $? = 0
> configure:9064: test -s conftest.o
> configure:9067: $? = 0
> configure:9077: result: yes
> configure:9081: checking pwd.h presence
> configure:9091: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -E -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc
> configure:9097: $? = 0
> configure:9117: result: yes
> configure:9152: checking for pwd.h
> configure:9159: result: yes
> configure:9036: checking grp.h usability
> configure:9048: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:9054: $? = 0
> configure:9058: test -z 
> 			 || test ! -s conftest.err
> configure:9061: $? = 0
> configure:9064: test -s conftest.o
> configure:9067: $? = 0
> configure:9077: result: yes
> configure:9081: checking grp.h presence
> configure:9091: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -E -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc
> configure:9097: $? = 0
> configure:9117: result: yes
> configure:9152: checking for grp.h
> configure:9159: result: yes
> configure:9183: checking poll.h usability
> configure:9195: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:9201: $? = 0
> configure:9205: test -z 
> 			 || test ! -s conftest.err
> configure:9208: $? = 0
> configure:9211: test -s conftest.o
> configure:9214: $? = 0
> configure:9224: result: yes
> configure:9228: checking poll.h presence
> configure:9238: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -E -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc
> configure:9244: $? = 0
> configure:9264: result: yes
> configure:9299: checking for poll.h
> configure:9306: result: yes
> configure:9318: checking whether <poll.h> is emulated
> configure:9343: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:9349: $? = 0
> configure:9353: test -z 
> 			 || test ! -s conftest.err
> configure:9356: $? = 0
> configure:9359: test -s conftest.o
> configure:9362: $? = 0
> configure:9373: result: no
> configure:9388: checking for sigaction
> configure:9445: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -o conftest -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include -L/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/lib conftest.cc  >&5
> configure:9451: $? = 0
> configure:9455: test -z 
> 			 || test ! -s conftest.err
> configure:9458: $? = 0
> configure:9461: test -s conftest
> configure:9464: $? = 0
> configure:9476: result: yes
> configure:9491: checking for kqueue
> configure:9548: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -o conftest -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include -L/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/lib conftest.cc  >&5
> /tmp/cc8w5WTM.o: In function `main':
> conftest.cc:(.text+0x10): undefined reference to `kqueue'
> /tmp/cc8w5WTM.o:(.data.rel+0x0): undefined reference to `kqueue'
> collect2: ld returned 1 exit status
> configure:9554: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "click"
> | #define PACKAGE_TARNAME "click"
> | #define PACKAGE_VERSION "1.5pre"
> | #define PACKAGE_STRING "click 1.5pre"
> | #define PACKAGE_BUGREPORT ""
> | #define CLICK_VERSION "1.5pre"
> | #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-3758/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
> | /* end confdefs.h.  */
> | /* Define kqueue to an innocuous variant, in case <limits.h> declares kqueue.
> |    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
> | #define kqueue innocuous_kqueue
> | 
> | /* System header to define __stub macros and hopefully few prototypes,
> |     which can conflict with char kqueue (); below.
> |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
> |     <limits.h> exists even on freestanding compilers.  */
> | 
> | #ifdef __STDC__
> | # include <limits.h>
> | #else
> | # include <assert.h>
> | #endif
> | 
> | #undef kqueue
> | 
> | /* Override any gcc2 internal prototype to avoid an error.  */
> | #ifdef __cplusplus
> | extern "C"
> | {
> | #endif
> | /* We use char because int might match the return type of a gcc2
> |    builtin and then its argument prototype would still apply.  */
> | char kqueue ();
> | /* The GNU C library defines this for functions which it implements
> |     to always fail with ENOSYS.  Some functions are actually named
> |     something starting with __ and the normal name is an alias.  */
> | #if defined (__stub_kqueue) || defined (__stub___kqueue)
> | choke me
> | #else
> | char (*f) () = kqueue;
> | #endif
> | #ifdef __cplusplus
> | }
> | #endif
> | 
> | int
> | main ()
> | {
> | return f != kqueue;
> |   ;
> |   return 0;
> | }
> configure:9579: result: no
> configure:9679: checking dlfcn.h usability
> configure:9691: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:9697: $? = 0
> configure:9701: test -z 
> 			 || test ! -s conftest.err
> configure:9704: $? = 0
> configure:9707: test -s conftest.o
> configure:9710: $? = 0
> configure:9720: result: yes
> configure:9724: checking dlfcn.h presence
> configure:9734: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -E -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc
> configure:9740: $? = 0
> configure:9760: result: yes
> configure:9795: checking for dlfcn.h
> configure:9802: result: yes
> configure:9817: checking for dlopen
> configure:9874: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -o conftest -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include -L/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/lib conftest.cc  >&5
> /tmp/ccG6W35u.o: In function `main':
> conftest.cc:(.text+0x10): undefined reference to `dlopen'
> /tmp/ccG6W35u.o:(.data.rel+0x0): undefined reference to `dlopen'
> collect2: ld returned 1 exit status
> configure:9880: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "click"
> | #define PACKAGE_TARNAME "click"
> | #define PACKAGE_VERSION "1.5pre"
> | #define PACKAGE_STRING "click 1.5pre"
> | #define PACKAGE_BUGREPORT ""
> | #define CLICK_VERSION "1.5pre"
> | #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-3758/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_DLFCN_H 1
> | /* end confdefs.h.  */
> | /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
> |    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
> | #define dlopen innocuous_dlopen
> | 
> | /* System header to define __stub macros and hopefully few prototypes,
> |     which can conflict with char dlopen (); below.
> |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
> |     <limits.h> exists even on freestanding compilers.  */
> | 
> | #ifdef __STDC__
> | # include <limits.h>
> | #else
> | # include <assert.h>
> | #endif
> | 
> | #undef dlopen
> | 
> | /* Override any gcc2 internal prototype to avoid an error.  */
> | #ifdef __cplusplus
> | extern "C"
> | {
> | #endif
> | /* We use char because int might match the return type of a gcc2
> |    builtin and then its argument prototype would still apply.  */
> | char dlopen ();
> | /* The GNU C library defines this for functions which it implements
> |     to always fail with ENOSYS.  Some functions are actually named
> |     something starting with __ and the normal name is an alias.  */
> | #if defined (__stub_dlopen) || defined (__stub___dlopen)
> | choke me
> | #else
> | char (*f) () = dlopen;
> | #endif
> | #ifdef __cplusplus
> | }
> | #endif
> | 
> | int
> | main ()
> | {
> | return f != dlopen;
> |   ;
> |   return 0;
> | }
> configure:9905: result: no
> configure:9910: checking for dlopen in -ldl
> configure:9940: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -o conftest -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include -L/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/lib conftest.cc -ldl   >&5
> configure:9946: $? = 0
> configure:9950: test -z 
> 			 || test ! -s conftest.err
> configure:9953: $? = 0
> configure:9956: test -s conftest
> configure:9959: $? = 0
> configure:9972: result: yes
> configure:9992: checking compiler flags for building loadable modules
> configure:10000: result: -shared
> configure:10024: checking dlfcn.h usability
> configure:10036: g++   -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:10042: $? = 0
> configure:10046: test -z 
> 			 || test ! -s conftest.err
> configure:10049: $? = 0
> configure:10052: test -s conftest.o
> configure:10055: $? = 0
> configure:10065: result: yes
> configure:10069: checking dlfcn.h presence
> configure:10079: g++   -E -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc
> configure:10085: $? = 0
> configure:10105: result: yes
> configure:10140: checking for dlfcn.h
> configure:10147: result: yes
> configure:10162: checking for dlopen
> configure:10219: g++   -o conftest -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include -L/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/lib conftest.cc  >&5
> /tmp/ccsYxaLd.o(.text+0x11): In function `main':
> : undefined reference to `dlopen'
> /tmp/ccsYxaLd.o(.data+0x0): undefined reference to `dlopen'
> collect2: ld returned 1 exit status
> configure:10225: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "click"
> | #define PACKAGE_TARNAME "click"
> | #define PACKAGE_VERSION "1.5pre"
> | #define PACKAGE_STRING "click 1.5pre"
> | #define PACKAGE_BUGREPORT ""
> | #define CLICK_VERSION "1.5pre"
> | #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-3758/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_DLFCN_H 1
> | #define HAVE_DYNAMIC_LINKING 1
> | #define HAVE_DLFCN_H 1
> | /* end confdefs.h.  */
> | /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
> |    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
> | #define dlopen innocuous_dlopen
> | 
> | /* System header to define __stub macros and hopefully few prototypes,
> |     which can conflict with char dlopen (); below.
> |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
> |     <limits.h> exists even on freestanding compilers.  */
> | 
> | #ifdef __STDC__
> | # include <limits.h>
> | #else
> | # include <assert.h>
> | #endif
> | 
> | #undef dlopen
> | 
> | /* Override any gcc2 internal prototype to avoid an error.  */
> | #ifdef __cplusplus
> | extern "C"
> | {
> | #endif
> | /* We use char because int might match the return type of a gcc2
> |    builtin and then its argument prototype would still apply.  */
> | char dlopen ();
> | /* The GNU C library defines this for functions which it implements
> |     to always fail with ENOSYS.  Some functions are actually named
> |     something starting with __ and the normal name is an alias.  */
> | #if defined (__stub_dlopen) || defined (__stub___dlopen)
> | choke me
> | #else
> | char (*f) () = dlopen;
> | #endif
> | #ifdef __cplusplus
> | }
> | #endif
> | 
> | int
> | main ()
> | {
> | return f != dlopen;
> |   ;
> |   return 0;
> | }
> configure:10250: result: no
> configure:10255: checking for dlopen in -ldl
> configure:10285: g++   -o conftest -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include -L/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/lib conftest.cc -ldl   >&5
> configure:10291: $? = 0
> configure:10295: test -z 
> 			 || test ! -s conftest.err
> configure:10298: $? = 0
> configure:10301: test -s conftest
> configure:10304: $? = 0
> configure:10317: result: yes
> configure:10696: checking for large file support in C library
> configure:10726: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -c -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.c >&5
> configure:10732: $? = 0
> configure:10736: test -z 
> 			 || test ! -s conftest.err
> configure:10739: $? = 0
> configure:10742: test -s conftest.o
> configure:10745: $? = 0
> configure:10756: result: yes
> configure:10766: checking for off_t
> configure:10796: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -c -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.c >&5
> configure:10802: $? = 0
> configure:10806: test -z 
> 			 || test ! -s conftest.err
> configure:10809: $? = 0
> configure:10812: test -s conftest.o
> configure:10815: $? = 0
> configure:10826: result: yes
> configure:10829: checking size of off_t
> configure:10865: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -c -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.c >&5
> configure:10871: $? = 0
> configure:10875: test -z 
> 			 || test ! -s conftest.err
> configure:10878: $? = 0
> configure:10881: test -s conftest.o
> configure:10884: $? = 0
> configure:10912: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -c -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.c >&5
> conftest.c: In function `main':
> conftest.c:73: error: size of array `test_array' is negative
> configure:10918: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "click"
> | #define PACKAGE_TARNAME "click"
> | #define PACKAGE_VERSION "1.5pre"
> | #define PACKAGE_STRING "click 1.5pre"
> | #define PACKAGE_BUGREPORT ""
> | #define CLICK_VERSION "1.5pre"
> | #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-3758/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_DLFCN_H 1
> | #define HAVE_DYNAMIC_LINKING 1
> | #define HAVE_DLFCN_H 1
> | #define HAVE_LARGE_FILE_SUPPORT 1
> | /* end confdefs.h.  */
> | #ifdef HAVE_LARGE_FILE_SUPPORT
> | # define _LARGEFILE_SOURCE 1
> | # define _FILE_OFFSET_BITS 64
> | #endif
> | #include <stdio.h>
> | #include <sys/types.h>
> | 
> | int
> | main ()
> | {
> | static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= 0)];
> | test_array [0] = 0
> | 
> |   ;
> |   return 0;
> | }
> configure:10912: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -c -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.c >&5
> conftest.c: In function `main':
> conftest.c:73: error: size of array `test_array' is negative
> configure:10918: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "click"
> | #define PACKAGE_TARNAME "click"
> | #define PACKAGE_VERSION "1.5pre"
> | #define PACKAGE_STRING "click 1.5pre"
> | #define PACKAGE_BUGREPORT ""
> | #define CLICK_VERSION "1.5pre"
> | #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-3758/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_DLFCN_H 1
> | #define HAVE_DYNAMIC_LINKING 1
> | #define HAVE_DLFCN_H 1
> | #define HAVE_LARGE_FILE_SUPPORT 1
> | /* end confdefs.h.  */
> | #ifdef HAVE_LARGE_FILE_SUPPORT
> | # define _LARGEFILE_SOURCE 1
> | # define _FILE_OFFSET_BITS 64
> | #endif
> | #include <stdio.h>
> | #include <sys/types.h>
> | 
> | int
> | main ()
> | {
> | static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= 1)];
> | test_array [0] = 0
> | 
> |   ;
> |   return 0;
> | }
> configure:10912: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -c -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.c >&5
> conftest.c: In function `main':
> conftest.c:73: error: size of array `test_array' is negative
> configure:10918: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "click"
> | #define PACKAGE_TARNAME "click"
> | #define PACKAGE_VERSION "1.5pre"
> | #define PACKAGE_STRING "click 1.5pre"
> | #define PACKAGE_BUGREPORT ""
> | #define CLICK_VERSION "1.5pre"
> | #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-3758/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_DLFCN_H 1
> | #define HAVE_DYNAMIC_LINKING 1
> | #define HAVE_DLFCN_H 1
> | #define HAVE_LARGE_FILE_SUPPORT 1
> | /* end confdefs.h.  */
> | #ifdef HAVE_LARGE_FILE_SUPPORT
> | # define _LARGEFILE_SOURCE 1
> | # define _FILE_OFFSET_BITS 64
> | #endif
> | #include <stdio.h>
> | #include <sys/types.h>
> | 
> | int
> | main ()
> | {
> | static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= 3)];
> | test_array [0] = 0
> | 
> |   ;
> |   return 0;
> | }
> configure:10912: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -c -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.c >&5
> conftest.c: In function `main':
> conftest.c:73: error: size of array `test_array' is negative
> configure:10918: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "click"
> | #define PACKAGE_TARNAME "click"
> | #define PACKAGE_VERSION "1.5pre"
> | #define PACKAGE_STRING "click 1.5pre"
> | #define PACKAGE_BUGREPORT ""
> | #define CLICK_VERSION "1.5pre"
> | #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-3758/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_DLFCN_H 1
> | #define HAVE_DYNAMIC_LINKING 1
> | #define HAVE_DLFCN_H 1
> | #define HAVE_LARGE_FILE_SUPPORT 1
> | /* end confdefs.h.  */
> | #ifdef HAVE_LARGE_FILE_SUPPORT
> | # define _LARGEFILE_SOURCE 1
> | # define _FILE_OFFSET_BITS 64
> | #endif
> | #include <stdio.h>
> | #include <sys/types.h>
> | 
> | int
> | main ()
> | {
> | static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= 7)];
> | test_array [0] = 0
> | 
> |   ;
> |   return 0;
> | }
> configure:10912: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -c -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.c >&5
> configure:10918: $? = 0
> configure:10922: test -z 
> 			 || test ! -s conftest.err
> configure:10925: $? = 0
> configure:10928: test -s conftest.o
> configure:10931: $? = 0
> configure:11093: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -c -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.c >&5
> configure:11099: $? = 0
> configure:11103: test -z 
> 			 || test ! -s conftest.err
> configure:11106: $? = 0
> configure:11109: test -s conftest.o
> configure:11112: $? = 0
> configure:11093: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -c -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.c >&5
> configure:11099: $? = 0
> configure:11103: test -z 
> 			 || test ! -s conftest.err
> configure:11106: $? = 0
> configure:11109: test -s conftest.o
> configure:11112: $? = 0
> configure:11093: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -c -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.c >&5
> configure:11099: $? = 0
> configure:11103: test -z 
> 			 || test ! -s conftest.err
> configure:11106: $? = 0
> configure:11109: test -s conftest.o
> configure:11112: $? = 0
> configure:11215: result: 8
> configure:11247: checking sys/mman.h usability
> configure:11259: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -c -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.c >&5
> configure:11265: $? = 0
> configure:11269: test -z 
> 			 || test ! -s conftest.err
> configure:11272: $? = 0
> configure:11275: test -s conftest.o
> configure:11278: $? = 0
> configure:11288: result: yes
> configure:11292: checking sys/mman.h presence
> configure:11302: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -E -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.c
> configure:11308: $? = 0
> configure:11328: result: yes
> configure:11363: checking for sys/mman.h
> configure:11370: result: yes
> configure:11389: checking for stdlib.h
> configure:11394: result: yes
> configure:11389: checking for unistd.h
> configure:11394: result: yes
> configure:11538: checking for getpagesize
> configure:11595: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -o conftest -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include -L/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/lib conftest.c  >&5
> configure:11601: $? = 0
> configure:11605: test -z 
> 			 || test ! -s conftest.err
> configure:11608: $? = 0
> configure:11611: test -s conftest
> configure:11614: $? = 0
> configure:11626: result: yes
> configure:11636: checking for working mmap
> configure:11800: result: no
> configure:11821: checking for madvise
> configure:11878: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -o conftest -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include -L/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/lib conftest.cc  >&5
> configure:11884: $? = 0
> configure:11888: test -z 
> 			 || test ! -s conftest.err
> configure:11891: $? = 0
> configure:11894: test -s conftest
> configure:11897: $? = 0
> configure:11909: result: yes
> configure:11919: checking whether madvise is declared
> configure:11947: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:11953: $? = 0
> configure:11957: test -z 
> 			 || test ! -s conftest.err
> configure:11960: $? = 0
> configure:11963: test -s conftest.o
> configure:11966: $? = 0
> configure:11977: result: yes
> configure:12111: checking for Linux 2.6
> configure:12118: result: 1
> configure:12130: checking for Click Linux kernel extensions
> configure:12139: result: yes
> configure:12148: checking for Click Linux kernel extensions for transmit notification
> configure:12157: result: no
> configure:12166: checking for read_net_skbcount kernel extension
> configure:12175: result: no
> configure:12184: checking for strlen kernel symbol
> configure:12193: result: yes
> configure:12202: checking for tulip_interrupt_hook kernel symbol
> configure:12211: result: no
> configure:12220: checking for device polling kernel extension
> configure:12229: result: yes
> configure:12238: checking for SMP
> configure:12247: result: no
> configure:12450: checking linux/if_tun.h usability
> configure:12462: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> configure:12468: $? = 0
> configure:12472: test -z 
> 			 || test ! -s conftest.err
> configure:12475: $? = 0
> configure:12478: test -s conftest.o
> configure:12481: $? = 0
> configure:12491: result: yes
> configure:12495: checking linux/if_tun.h presence
> configure:12505: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -E -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc
> configure:12511: $? = 0
> configure:12531: result: yes
> configure:12566: checking for linux/if_tun.h
> configure:12573: result: yes
> configure:12450: checking net/if_tun.h usability
> configure:12462: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> conftest.cc:112:24: net/if_tun.h: No such file or directory
> configure:12468: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "click"
> | #define PACKAGE_TARNAME "click"
> | #define PACKAGE_VERSION "1.5pre"
> | #define PACKAGE_STRING "click 1.5pre"
> | #define PACKAGE_BUGREPORT ""
> | #define CLICK_VERSION "1.5pre"
> | #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-3758/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_DLFCN_H 1
> | #define HAVE_DYNAMIC_LINKING 1
> | #define HAVE_DLFCN_H 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 <stdio.h>
> | #if HAVE_SYS_TYPES_H
> | # include <sys/types.h>
> | #endif
> | #if HAVE_SYS_STAT_H
> | # include <sys/stat.h>
> | #endif
> | #if STDC_HEADERS
> | # include <stdlib.h>
> | # include <stddef.h>
> | #else
> | # if HAVE_STDLIB_H
> | #  include <stdlib.h>
> | # endif
> | #endif
> | #if HAVE_STRING_H
> | # if !STDC_HEADERS && HAVE_MEMORY_H
> | #  include <memory.h>
> | # endif
> | # include <string.h>
> | #endif
> | #if HAVE_STRINGS_H
> | # include <strings.h>
> | #endif
> | #if HAVE_INTTYPES_H
> | # include <inttypes.h>
> | #else
> | # if HAVE_STDINT_H
> | #  include <stdint.h>
> | # endif
> | #endif
> | #if HAVE_UNISTD_H
> | # include <unistd.h>
> | #endif
> | #include <net/if_tun.h>
> configure:12491: result: no
> configure:12495: checking net/if_tun.h presence
> configure:12505: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -E -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc
> conftest.cc:78:24: net/if_tun.h: No such file or directory
> configure:12511: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "click"
> | #define PACKAGE_TARNAME "click"
> | #define PACKAGE_VERSION "1.5pre"
> | #define PACKAGE_STRING "click 1.5pre"
> | #define PACKAGE_BUGREPORT ""
> | #define CLICK_VERSION "1.5pre"
> | #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-3758/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_DLFCN_H 1
> | #define HAVE_DYNAMIC_LINKING 1
> | #define HAVE_DLFCN_H 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 <net/if_tun.h>
> configure:12531: result: no
> configure:12566: checking for net/if_tun.h
> configure:12573: result: no
> configure:12450: checking net/bpf.h usability
> configure:12462: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> conftest.cc:112:21: net/bpf.h: No such file or directory
> configure:12468: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "click"
> | #define PACKAGE_TARNAME "click"
> | #define PACKAGE_VERSION "1.5pre"
> | #define PACKAGE_STRING "click 1.5pre"
> | #define PACKAGE_BUGREPORT ""
> | #define CLICK_VERSION "1.5pre"
> | #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-3758/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_DLFCN_H 1
> | #define HAVE_DYNAMIC_LINKING 1
> | #define HAVE_DLFCN_H 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 <stdio.h>
> | #if HAVE_SYS_TYPES_H
> | # include <sys/types.h>
> | #endif
> | #if HAVE_SYS_STAT_H
> | # include <sys/stat.h>
> | #endif
> | #if STDC_HEADERS
> | # include <stdlib.h>
> | # include <stddef.h>
> | #else
> | # if HAVE_STDLIB_H
> | #  include <stdlib.h>
> | # endif
> | #endif
> | #if HAVE_STRING_H
> | # if !STDC_HEADERS && HAVE_MEMORY_H
> | #  include <memory.h>
> | # endif
> | # include <string.h>
> | #endif
> | #if HAVE_STRINGS_H
> | # include <strings.h>
> | #endif
> | #if HAVE_INTTYPES_H
> | # include <inttypes.h>
> | #else
> | # if HAVE_STDINT_H
> | #  include <stdint.h>
> | # endif
> | #endif
> | #if HAVE_UNISTD_H
> | # include <unistd.h>
> | #endif
> | #include <net/bpf.h>
> configure:12491: result: no
> configure:12495: checking net/bpf.h presence
> configure:12505: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -E -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc
> conftest.cc:78:21: net/bpf.h: No such file or directory
> configure:12511: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "click"
> | #define PACKAGE_TARNAME "click"
> | #define PACKAGE_VERSION "1.5pre"
> | #define PACKAGE_STRING "click 1.5pre"
> | #define PACKAGE_BUGREPORT ""
> | #define CLICK_VERSION "1.5pre"
> | #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-3758/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_DLFCN_H 1
> | #define HAVE_DYNAMIC_LINKING 1
> | #define HAVE_DLFCN_H 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 <net/bpf.h>
> configure:12531: result: no
> configure:12566: checking for net/bpf.h
> configure:12573: result: no
> configure:13202: checking whether struct if_data has ifi_datalen
> configure:13225: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> conftest.cc:79:24: net/if_var.h: No such file or directory
> conftest.cc: In function `int main()':
> conftest.cc:84: error: aggregate `if_msghdr ifm' has incomplete type and cannot be defined
> configure:13231: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "click"
> | #define PACKAGE_TARNAME "click"
> | #define PACKAGE_VERSION "1.5pre"
> | #define PACKAGE_STRING "click 1.5pre"
> | #define PACKAGE_BUGREPORT ""
> | #define CLICK_VERSION "1.5pre"
> | #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-3758/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_DLFCN_H 1
> | #define HAVE_DYNAMIC_LINKING 1
> | #define HAVE_DLFCN_H 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 <net/if.h>
> | #include <net/if_var.h>
> | 
> | int
> | main ()
> | {
> | struct if_msghdr ifm; ifm.ifm_data.ifi_datalen = 0;
> |   ;
> |   return 0;
> | }
> configure:13255: result: no
> configure:13290: checking expat.h usability
> configure:13302: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc >&5
> conftest.cc:112:19: expat.h: No such file or directory
> configure:13308: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "click"
> | #define PACKAGE_TARNAME "click"
> | #define PACKAGE_VERSION "1.5pre"
> | #define PACKAGE_STRING "click 1.5pre"
> | #define PACKAGE_BUGREPORT ""
> | #define CLICK_VERSION "1.5pre"
> | #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-3758/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_DLFCN_H 1
> | #define HAVE_DYNAMIC_LINKING 1
> | #define HAVE_DLFCN_H 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 <stdio.h>
> | #if HAVE_SYS_TYPES_H
> | # include <sys/types.h>
> | #endif
> | #if HAVE_SYS_STAT_H
> | # include <sys/stat.h>
> | #endif
> | #if STDC_HEADERS
> | # include <stdlib.h>
> | # include <stddef.h>
> | #else
> | # if HAVE_STDLIB_H
> | #  include <stdlib.h>
> | # endif
> | #endif
> | #if HAVE_STRING_H
> | # if !STDC_HEADERS && HAVE_MEMORY_H
> | #  include <memory.h>
> | # endif
> | # include <string.h>
> | #endif
> | #if HAVE_STRINGS_H
> | # include <strings.h>
> | #endif
> | #if HAVE_INTTYPES_H
> | # include <inttypes.h>
> | #else
> | # if HAVE_STDINT_H
> | #  include <stdint.h>
> | # endif
> | #endif
> | #if HAVE_UNISTD_H
> | # include <unistd.h>
> | #endif
> | #include <expat.h>
> configure:13331: result: no
> configure:13335: checking expat.h presence
> configure:13345: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -E -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include conftest.cc
> conftest.cc:78:19: expat.h: No such file or directory
> configure:13351: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "click"
> | #define PACKAGE_TARNAME "click"
> | #define PACKAGE_VERSION "1.5pre"
> | #define PACKAGE_STRING "click 1.5pre"
> | #define PACKAGE_BUGREPORT ""
> | #define CLICK_VERSION "1.5pre"
> | #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-3758/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_DLFCN_H 1
> | #define HAVE_DYNAMIC_LINKING 1
> | #define HAVE_DLFCN_H 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 <expat.h>
> configure:13371: result: no
> configure:13406: checking for expat.h
> configure:13413: result: no
> configure:13433: checking for XML_ParserCreateNS in -lexpat
> configure:13463: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -o conftest -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include -L/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/lib conftest.c -lexpat   >&5
> /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/bin/ld: cannot find -lexpat
> collect2: ld returned 1 exit status
> configure:13469: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "click"
> | #define PACKAGE_TARNAME "click"
> | #define PACKAGE_VERSION "1.5pre"
> | #define PACKAGE_STRING "click 1.5pre"
> | #define PACKAGE_BUGREPORT ""
> | #define CLICK_VERSION "1.5pre"
> | #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-3758/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_DLFCN_H 1
> | #define HAVE_DYNAMIC_LINKING 1
> | #define HAVE_DLFCN_H 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.  */
> | 
> | /* Override any gcc2 internal prototype to avoid an error.  */
> | #ifdef __cplusplus
> | extern "C"
> | #endif
> | /* We use char because int might match the return type of a gcc2
> |    builtin and then its argument prototype would still apply.  */
> | char XML_ParserCreateNS ();
> | int
> | main ()
> | {
> | XML_ParserCreateNS ();
> |   ;
> |   return 0;
> | }
> configure:13495: result: no
> configure:13543: checking for Linux 2.6 compilation flags
> configure:13573: result: -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-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm-mips/mach-generic -funit-at-a-time 
> configure:13586: checking for C++-includable kernel header files
> configure:13613: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -w  -fno-exceptions -fno-rtti  -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include -D__KERNEL__ -I/home/bob/openwrt-3758/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-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm-mips/mach-generic -funit-at-a-time  conftest.cc >&5
> In file included from /home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm/processor.h:20,
>                  from /home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/linux/prefetch.h:14,
>                  from /home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/linux/list.h:7,
>                  from /home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/linux/signal.h:4,
>                  from conftest.cc:78:
> /home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm/mipsregs.h:1395: error: expected `,' or `...' before "new"
> /home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm/mipsregs.h: In function `unsigned int change_c0_status(unsigned int, unsigned int)':
> /home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm/mipsregs.h:1395: error: expected identifier before '&' token
> /home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm/mipsregs.h:1395: error: expected `)' before "change"
> /home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm/mipsregs.h: At global scope:
> /home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm/mipsregs.h:1396: error: expected `,' or `...' before "new"
> /home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm/mipsregs.h: In function `unsigned int change_c0_cause(unsigned int, unsigned int)':
> /home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm/mipsregs.h:1396: error: expected identifier before '&' token
> /home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm/mipsregs.h:1396: error: expected `)' before "change"
> /home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm/mipsregs.h: At global scope:
> /home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm/mipsregs.h:1397: error: expected `,' or `...' before "new"
> /home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm/mipsregs.h: In function `unsigned int change_c0_config(unsigned int, unsigned int)':
> /home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm/mipsregs.h:1397: error: expected identifier before '&' token
> /home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm/mipsregs.h:1397: error: expected `)' before "change"
> /home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm/mipsregs.h: At global scope:
> /home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm/mipsregs.h:1398: error: expected `,' or `...' before "new"
> /home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm/mipsregs.h: In function `unsigned int change_c0_intcontrol(unsigned int, unsigned int)':
> /home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm/mipsregs.h:1398: error: expected identifier before '&' token
> /home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm/mipsregs.h:1398: error: expected `)' before "change"
> /home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm/mipsregs.h: At global scope:
> /home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm/mipsregs.h:1399: error: expected `,' or `...' before "new"
> /home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm/mipsregs.h: In function `unsigned int change_c0_intctl(unsigned int, unsigned int)':
> /home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm/mipsregs.h:1399: error: expected identifier before '&' token
> /home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm/mipsregs.h:1399: error: expected `)' before "change"
> /home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm/mipsregs.h: At global scope:
> /home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm/mipsregs.h:1400: error: expected `,' or `...' before "new"
> /home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm/mipsregs.h: In function `unsigned int change_c0_srsmap(unsigned int, unsigned int)':
> /home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm/mipsregs.h:1400: error: expected identifier before '&' token
> /home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm/mipsregs.h:1400: error: expected `)' before "change"
> In file included from /home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm/processor.h:22,
>                  from /home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/linux/prefetch.h:14,
>                  from /home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/linux/list.h:7,
>                  from /home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/linux/signal.h:4,
>                  from conftest.cc:78:
> /home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm/system.h: In function `long unsigned int __xchg(long unsigned int, volatile void*, int)':
> /home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm/system.h:290: error: invalid conversion from `volatile void*' to `volatile int*'
> /home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm/system.h:290: error:   initializing argument 1 of `long unsigned int __xchg_u32(volatile int*, unsigned int)'
> /home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm/system.h:292: error: invalid conversion from `volatile void*' to `volatile __u64*'
> /home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm/system.h:292: error:   initializing argument 1 of `__u64 __xchg_u64_unsupported_on_32bit_kernels(volatile __u64*, __u64)'
> /home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm/system.h: In function `long unsigned int __cmpxchg(volatile void*, long unsigned int, long unsigned int, int)':
> /home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm/system.h:430: error: invalid conversion from `volatile void*' to `volatile int*'
> /home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm/system.h:430: error:   initializing argument 1 of `long unsigned int __cmpxchg_u32(volatile int*, long unsigned int, long unsigned int)'
> /home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm/system.h:432: error: invalid conversion from `volatile void*' to `volatile int*'
> /home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm/system.h:432: error:   initializing argument 1 of `long unsigned int __cmpxchg_u64_unsupported_on_32bit_kernels(volatile int*, long unsigned int, long unsigned int)'
> configure:13619: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "click"
> | #define PACKAGE_TARNAME "click"
> | #define PACKAGE_VERSION "1.5pre"
> | #define PACKAGE_STRING "click 1.5pre"
> | #define PACKAGE_BUGREPORT ""
> | #define CLICK_VERSION "1.5pre"
> | #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-3758/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_DLFCN_H 1
> | #define HAVE_DYNAMIC_LINKING 1
> | #define HAVE_DLFCN_H 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/signal.h>
> | int
> | main ()
> | {
> | return 0
> |   ;
> |   return 0;
> | }
> configure:13644: result: no
> configure:13808: checking whether long and int64_t are the same type in the Linux kernel
> configure:13833: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -w  -fno-exceptions -fno-rtti  -c -O2 -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include -D__KERNEL__ -I/home/bob/openwrt-3758/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-3758/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:13839: $? = 0
> configure:13843: test -z 
> 			 || test ! -s conftest.err
> configure:13846: $? = 0
> configure:13849: test -s conftest.o
> configure:13852: $? = 0
> configure:13863: result: no
> configure:13874: checking whether struct sk_buff has a security member
> configure:13901: /home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -c -MD -I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include -D__KERNEL__ -I/home/bob/openwrt-3758/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-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7/include/asm-mips/mach-generic -funit-at-a-time  conftest.c >&5
> conftest.c: In function `main':
> conftest.c:82: error: structure has no member named `security'
> configure:13907: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "click"
> | #define PACKAGE_TARNAME "click"
> | #define PACKAGE_VERSION "1.5pre"
> | #define PACKAGE_STRING "click 1.5pre"
> | #define PACKAGE_BUGREPORT ""
> | #define CLICK_VERSION "1.5pre"
> | #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-3758/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_DLFCN_H 1
> | #define HAVE_DYNAMIC_LINKING 1
> | #define HAVE_DLFCN_H 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:13931: result: no
> configure:14001: 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-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc
> ac_cv_env_CFLAGS_set=set
> ac_cv_env_CFLAGS_value=-MD
> ac_cv_env_CPPFLAGS_set=set
> ac_cv_env_CPPFLAGS_value=-I/home/bob/openwrt-3758/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='-O2 -MD'
> ac_cv_env_CXX_set=set
> ac_cv_env_CXX_value=/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++
> ac_cv_env_LDFLAGS_set=set
> ac_cv_env_LDFLAGS_value=-L/home/bob/openwrt-3758/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_func_dlopen=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_dlfcn_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_dl_dlopen=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-3758/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-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc
> ac_cv_prog_CPP='/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -E'
> ac_cv_prog_CXX=/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++
> ac_cv_prog_CXXCPP='/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -E'
> ac_cv_prog_LD=/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-ld
> ac_cv_prog_RANLIB=/home/bob/openwrt-3758/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-3758/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='-ldl'
> BUILD_RANLIB='ranlib'
> CC='/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc'
> CFLAGS='-MD'
> CFLAGS_NDEBUG='-MD'
> CLICK_VERSION='1.5pre'
> CPP='/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -E'
> CPPFLAGS='-I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include'
> CXX='/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++'
> CXXCPP='/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -E'
> CXXFLAGS='-O2 -MD'
> CXXFLAGS_NDEBUG='-O2 -MD'
> DEFS=''
> DEPCFLAGS=''
> DL_LIBS='-ldl'
> 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-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -w '
> KERNEL_CXX='/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++ -w  -fno-exceptions -fno-rtti '
> LD='/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-ld'
> LDFLAGS='-L/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/lib'
> LDMODULEFLAGS='-shared'
> 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-3758/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.5pre'
> PACKAGE_TARNAME='click'
> PACKAGE_VERSION='1.5pre'
> PATH_SEPARATOR=':'
> PCAP_INCLUDES=''
> PCAP_LIBS=''
> PERL=''
> POSSIBLE_DRIVERS=' bsdmodule exopc linuxmodule ns userlevel'
> RANLIB='/home/bob/openwrt-3758/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' '--host=mipsel-linux' '--build=i386-pc-linux-gnu' '--disable-intel-cpu' '--enable-wifi' '--enable-linuxmodule' '--disable-userlevel' '--enable-tools=mixed' '--with-linux=/home/bob/openwrt-3758/openwrt/build_mipsel/linux-2.6-brcm/linux-2.6.16.7' 'CC=/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc' 'CFLAGS=-MD' 'CPPFLAGS=-I/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/usr/include' 'CXXFLAGS=-O2 -MD' 'CXX=/home/bob/openwrt-3758/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-g++' 'LDFLAGS=-L/home/bob/openwrt-3758/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-3758/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.5pre"
> #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_DLFCN_H 1
> #define HAVE_DLFCN_H 1
> #define HAVE_DYNAMIC_LINKING 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-3758/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.5pre"
> #define PACKAGE_TARNAME "click"
> #define PACKAGE_VERSION "1.5pre"
> #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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mini.patch
Type: text/x-patch
Size: 1958 bytes
Desc: not available
Url : https://amsterdam.lcs.mit.edu/pipermail/click/attachments/20060516/9dab4615/mini-0001.bin


More information about the click mailing list