[Click] Error while installing click (on Linux kernel 2.6.38-8) 'fixincludes.pl exection failed'.

Joonwoo Park joonwpark81 at gmail.com
Fri Apr 29 16:39:47 EDT 2011


You need this patchset to build on 2.6.38
https://github.com/kohler/click/pull/12

Joonwoo
On Fri, Apr 29, 2011 at 10:58 AM, Sourabh Jain <sourj at cs.umn.edu> wrote:

> Hi,
>
> I am trying to install Click (latest, checked out from git repo) on a linux
> (ubuntu) and I receive the following error during the installation:
>
> configure: making C++-safe versions of Linux kernel headers (may take a
> while)
> dport  (2) at ./linuxmodule/fixincludes.pl line 69.
> configure: error:
> ==============================================
>
> fixincludes.pl execution failed.
>
> ==============================================
>
>
> sourj at nanjing-umh:~$ uname -a
> Linux nanjing-umh 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC
> 2011 i686 i686 i386 GNU/Linux
>
> Please suggest me what to do to work around it.
>
> Thanks,
> Sourabh
>
> Here is detailed log:
>
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking target system type... i686-pc-linux-gnu
> checking for gcc... gcc
> checking for g++... g++
> checking for gcc... (cached) gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking how to run the C preprocessor... gcc -E
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking for sys/types.h... (cached) yes
> checking for unistd.h... (cached) yes
> checking how to run the C preprocessor... gcc -E
> checking for inline... inline
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking whether <new> works... yes
> checking how to run the C++ preprocessor... g++ -W -Wall  -E
> checking for ar... ar
> checking for ld... ld
> checking for ranlib... ranlib
> checking for strip... strip
> checking whether we are compiling for Linux... yes
> checking for strerror... yes
> checking for random... yes
> checking for snprintf... yes
> checking for strnlen... yes
> checking for strtoul... yes
> checking for tcgetpgrp... yes
> checking for vsnprintf... yes
> checking size of int... 4
> checking size of long... 4
> checking size of size_t... 4
> checking size of void *... 4
> checking whether char is unsigned... no
> checking for inttypes.h... (cached) yes
> checking whether machine is indifferent to alignment... yes
> checking size of long long... 8
> checking for long long... yes
> checking for int64_t... yes
> checking for uint64_t... yes
> checking whether long and int64_t are the same type... no
> checking whether long long and int64_t are the same type... yes
> checking endian.h usability... yes
> checking endian.h presence... yes
> checking for endian.h... yes
> checking endianness... 1234
> checking byteswap.h usability... yes
> checking byteswap.h presence... yes
> checking for byteswap.h... yes
> checking whether signed right shift is arithmetic... yes
> checking for addressable va_list type... yes
> checking for __builtin_clz... yes
> checking for __builtin_clzl... yes
> checking for __builtin_clzll... yes
> checking for __builtin_ffs... yes
> checking for __builtin_ffsl... yes
> checking for __builtin_ffsll... yes
> checking for __sync_synchronize... yes
> checking whether __sync_synchronize supports arguments... no
> checking for strings.h... (cached) yes
> checking for ffs... yes
> checking for ffsl... yes
> checking for ffsll... yes
> checking time.h usability... yes
> checking time.h presence... yes
> checking for time.h... yes
> checking size of struct timeval... 8
> checking for struct timespec... yes
> checking size of struct timespec... 8
> checking whether clock_gettime is declared... yes
> checking for library containing clock_gettime... -lrt
> checking for clock_gettime... yes
> checking termio.h usability... yes
> checking termio.h presence... yes
> checking for termio.h... yes
> checking netdb.h usability... yes
> checking netdb.h presence... yes
> checking for netdb.h... yes
> checking sys/event.h usability... no
> checking sys/event.h presence... no
> checking for sys/event.h... no
> checking pwd.h usability... yes
> checking pwd.h presence... yes
> checking for pwd.h... yes
> checking grp.h usability... yes
> checking grp.h presence... yes
> checking for grp.h... yes
> checking execinfo.h usability... yes
> checking execinfo.h presence... yes
> checking for execinfo.h... yes
> checking poll.h usability... yes
> checking poll.h presence... yes
> checking for poll.h... yes
> checking whether <poll.h> is emulated... no
> checking for pselect... yes
> checking for sigaction... yes
> checking for kqueue... no
> checking dlfcn.h usability... yes
> checking dlfcn.h presence... yes
> checking for dlfcn.h... yes
> checking for dlopen... no
> checking for dlopen in -ldl... yes
> checking compiler flags for building loadable modules... -shared
> checking for library containing gethostbyname... none required
> checking for library containing connect... none required
> checking whether accept() uses socklen_t... yes
> checking for large file support in C library... yes
> checking size of off_t... 8
> checking sys/mman.h usability... yes
> checking sys/mman.h presence... yes
> checking for sys/mman.h... yes
> checking for stdlib.h... (cached) yes
> checking for unistd.h... (cached) yes
> checking for getpagesize... yes
> checking for working mmap... yes
> checking for madvise... yes
> checking whether madvise is declared... yes
> checking for Linux 2.6... yes
> checking for Click Linux kernel extensions... no
> checking for Click Linux kernel extensions for transmit notification... no
> checking for read_net_skbcount kernel extension... no
> checking for strlen kernel symbol... yes
> checking for tulip_interrupt_hook kernel symbol... no
> checking for files_lock kernel symbol... no
> checking for sb_lock kernel symbol... no
> checking for dev_ioctl kernel symbol... no
> checking for devinet_ioctl kernel symbol... no
> checking for inet_ioctl kernel symbol... yes
> checking for inet_ctl_sock_create kernel symbol... yes
> checking for <linux/ktime.h>... yes
> checking for atomic_set_mask... no
> checking for atomic_add_return... no
> checking for <asm/alternative.h>... no
> checking for <asm/system.h>... no
> checking linux/if_tun.h usability... yes
> checking linux/if_tun.h presence... yes
> checking for linux/if_tun.h... yes
> checking net/if_tun.h usability... no
> checking net/if_tun.h presence... no
> checking for net/if_tun.h... no
> checking net/if_tap.h usability... no
> checking net/if_tap.h presence... no
> checking for net/if_tap.h... no
> checking net/bpf.h usability... no
> checking net/bpf.h presence... no
> checking for net/bpf.h... no
> checking for pcap.h... not found
> checking whether struct if_data has ifi_datalen... no
> checking whether struct sockaddr_in has sin_len... no
> checking offset of ifr_addr in struct ifreq... 16
> checking expat.h usability... no
> checking expat.h presence... no
> checking for expat.h... no
> checking for XML_ParserCreateNS in -lexpat... no
> checking for Linux 2.6 compilation flags...
> -I/usr/src/linux-headers-2.6.38-8-generic/arch/x86/include
> -I/lib/modules/2.6.38-8-generic/build/include  -include
> /lib/modules/2.6.38-8-generic/build/include/generated/autoconf.h
> -Iubuntu/include  -D__KERNEL__ -Wall -Wundef  -Wno-trigraphs
> -fno-strict-aliasing   -Wno-format-security -fno-delete-null-pointer-checks
> -O2 -m32 -msoft-float -mregparm=3 -freg-struct-return
> -mpreferred-stack-boundary=2  -march=i686 -mtune=generic
> -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding
> -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1
> -DCONFIG_AS_CFI_SECTIONS=1  -pipe -Wno-sign-compare
> -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow
>  -Wframe-larger-than=1024 -fno-omit-frame-pointer
> -fno-optimize-sibling-calls -pg   -fno-strict-overflow -fconserve-stack
> -DCC_HAVE_ASM_GOTO
> configure: making C++-safe versions of Linux kernel headers (may take a
> while)
> dport  (2) at ./linuxmodule/fixincludes.pl line 69.
> configure: error:
> ==============================================
>
> fixincludes.pl execution failed.
>
> ==============================================
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>


More information about the click mailing list