kohler / click

The Click modular router: fast modular packet processing and analysis
Other
749 stars 321 forks source link

Problem while installing kernel module in ubuntu 12.04 and ubuntu 14.04 #141

Closed pvc468 closed 9 years ago

pvc468 commented 10 years ago

Hi I am new to Click router. I am trying to install kernel modules in ubuntu 12.04 or later on xen virtual machine. I tried even gmake and also used different configuration options like build, with system linux, etc but ends with same error. Can you please help me... ./configure --enable-linuxmodule checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking for g++... g++ checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 whether the C compiler accepts -W -Wall... yes checking whether the C compiler accepts -Werror... 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 works... yes checking whether the C++ compiler understands constexpr... no checking whether the C++ compiler understands rvalue references... no checking whether the C++ compiler understands static_assert... no checking whether the C++ compiler understands template alias... no checking whether the C++ compiler understands #pragma interface... yes checking how to run the C++ preprocessor... g++ -E checking for ar... ar checking for ld... ld checking for nm... nm checking for objcopy... objcopy 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 strtof... yes checking for strtold... yes checking for strtoul... yes checking for tcgetpgrp... yes checking for vsnprintf... yes checking size of int... 4 checking size of long... 8 checking size of size_t... 8 checking size of ptrdifft... 8 checking size of void ... 8 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... yes checking whether long long and int64_t are the same type... no 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... no 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 has_trivial_copy... yes checking for thread storage class support... yes 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... 16 checking for struct timespec... yes checking size of struct timespec... 16 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 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 whether linker accepts the -rdynamic flag... 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 sys/param.h... yes checking for getpagesize... yes checking for working mmap... yes checking for madvise... yes checking whether madvise is declared... yes checking for Linux System.map... /boot/System.map-3.13.0-39-generic checking Linux version... 3.13.11 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 files_lglock 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 ifaddrs.h usability... yes checking ifaddrs.h presence... yes checking for ifaddrs.h... yes checking linux/if_tun.h usability... yes checking linux/if_tun.h presence... yes checking for linux/if_tun.h... yes checking net/if_dl.h usability... no checking net/if_dl.h presence... no checking for net/if_dl.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/if_tun.h usability... no checking net/if_tun.h presence... no checking for net/if_tun.h... no checking net/if_types.h usability... no checking net/if_types.h presence... no checking for net/if_types.h... no checking net/bpf.h usability... no checking net/bpf.h presence... no checking for net/bpf.h... no checking netpacket/packet.h usability... yes checking netpacket/packet.h presence... yes checking for netpacket/packet.h... yes checking for pcap.h... not found checking for net/netmap.h... not found checking whether struct if_data has ifi_datalen... no checking whether struct sockaddr_in has sin_len... no 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 kernel compilation flags... -I/usr/src/linux-headers-3.13.0-39-generic/arch/x86/include -I/lib/modules/3.13.0-39-generic/build/arch/x86/include/generated -I/lib/modules/3.13.0-39-generic/build/include -I/usr/src/linux-headers-3.13.0-39-generic/arch/x86/include/uapi -I/lib/modules/3.13.0-39-generic/build/arch/x86/include/generated/uapi -I/usr/src/linux-headers-3.13.0-39-generic/include/uapi -I/lib/modules/3.13.0-39-generic/build/include/generated/uapi -include /usr/src/linux-headers-3.13.0-39-generic/include/linux/kconfig.h -Iubuntu/include -I/usr/src/linux-headers-3.13.0-39-generic/arch/x86/include -I/lib/modules/3.13.0-39-generic/build/arch/x86/include/generated -I/lib/modules/3.13.0-39-generic/build/include -I/usr/src/linux-headers-3.13.0-39-generic/arch/x86/include/uapi -I/lib/modules/3.13.0-39-generic/build/arch/x86/include/generated/uapi -I/usr/src/linux-headers-3.13.0-39-generic/include/uapi -I/lib/modules/3.13.0-39-generic/build/include/generated/uapi -include /usr/src/linux-headers-3.13.0-39-generic/include/linux/kconfig.h -Iubuntu/include -D__KERNEL -DKERNEL -Wall -Wundef -Wno-trigraphs -fno-strict-aliasing -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mno-mmx -mno-sse -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=1024 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -Wall -Wundef -Wno-trigraphs -fno-strict-aliasing -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mno-mmx -mno-sse -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=1024 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO configure: making C++-safe versions of Linux kernel headers (may take a while) sed: -e expression #1, char 9: unknown option to s' checking for C++-includable kernel header files... yes checking whether long and int64_t are the same type in the Linux kernel... no checking whether long long and int64_t are the same type in the Linux kernel... yes checking whether uintptr_t is defined in the Linux kernel... yes checking whether atomic_cmpxchg is declared... yes checking whether atomic_set_mask is declared... yes checking whether atomic_add_return is declared... yes checking for <asm/alternative.h>... yes checking for <asm/system.h>... no checking whether struct sk_buff has a security member... no checking whether struct sk_buff has an fclone member... yes checking whether skb_shinfo has a tso_size member... no checking whether skb_shinfo has a gso_size member... yes checking whether skb_shinfo has a ufo_size member... no checking whether skb_shinfo has an ip6_frag_id member... yes checking whether skb_shinfo has tx_flags defining SKBTX_DEV_ZEROCOPY... yes checking whether skb_shinfo has tx_flags.flags... no checking for device polling kernel extension... no checking whether skb_dst_drop is declared... yes checking whether skb_recycle is declared... no checking whether skb_recycle returns an sk_buff... no checking whether skb_linearize is declared... yes checking whether netif_receive_skb has been extended... no checking whether net_enable_timestamp is declared... yes checking whether netif_tx_lock is declared... yes checking whether netdev_get_tx_queue is declared... yes checking whether netif_tx_queue_frozen is declared... no checking whether netdev_uses_dsa_tags is declared... yes checking whether netdev_uses_trailer_tags is declared... yes checking for netdev_rx_handler_register kernel symbol... yes checking for get_monotonic_coarse kernel symbol... no checking for getboottime kernel symbol... yes checking whether struct super_block has an s_d_op member... yes checking whether d_make_root is declared... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether install accepts -C... yes checking for GNU make... make checking for working autoconf... found checking for perl5... no checking for perl... perl checking for gawk... no checking for mawk... mawk checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for md5sum... md5sum checking for working makeinfo... missing checking for working texi2dvi... missing checking for install-info... /usr/sbin/install-info checking for working install-info... found checking for working pod2man... found configure: creating ./config.status config.status: creating Makefile config.status: creating click-buildtool config.status: creating click-compile config.status: creating config.mk config.status: creating installch config.status: creating tools/Makefile config.status: creating tools/lib/Makefile config.status: creating doc/Makefile config.status: creating etc/libclick/Makefile config.status: creating etc/pkg-config.mk config.status: creating bsdmodule/Makefile config.status: creating linuxmodule/Makefile config.status: creating ns/Makefile config.status: creating userlevel/Makefile config.status: creating minios/Makefile config.status: creating minios/config.mk config.status: creating tools/click-align/Makefile config.status: creating tools/click-check/Makefile config.status: creating tools/click-combine/Makefile config.status: creating tools/click-devirtualize/Makefile config.status: creating tools/click-fastclassifier/Makefile config.status: creating tools/click-flatten/Makefile config.status: creating tools/click-mkmindriver/Makefile config.status: creating tools/click-pretty/Makefile config.status: creating tools/click-undead/Makefile config.status: creating tools/click-xform/Makefile config.status: creating tools/click2xml/Makefile config.status: creating tools/click-install/Makefile config.status: creating include/click/config.h config.status: include/click/config.h is unchanged config.status: creating include/click/pathvars.h config.status: include/click/pathvars.h is unchanged config.status: creating include/click/config-bsdmodule.h config.status: include/click/config-bsdmodule.h is unchanged config.status: creating include/click/config-linuxmodule.h config.status: include/click/config-linuxmodule.h is unchanged config.status: creating include/click/config-ns.h config.status: include/click/config-ns.h is unchanged config.status: creating include/click/config-userlevel.h config.status: include/click/config-userlevel.h is unchanged config.status: creating include/click/config-minios.h config.status: include/click/config-minios.h is unchanged config.status: executing default-1 commands root@router1-HVM:/home/router1/click# make install make[1]: Entering directory/home/router1/click/userlevel' CXX ../lib/element.cc CXX ../lib/confparse.cc CXX ../lib/args.cc CXX ../lib/variableenv.cc CXX ../lib/lexer.cc CXX ../lib/elemfilter.cc CXX ../lib/routervisitor.cc CXX ../lib/routerthread.cc CXX ../lib/router.cc CXX ../lib/master.cc CXX ../lib/timerset.cc CXX ../lib/selectset.cc CXX ../lib/handlercall.cc CXX ../lib/notifier.cc CXX ../lib/integers.cc CXX ../lib/md5.cc CC ../lib/crc32.c CC ../lib/in_cksum.c CXX ../lib/iptable.cc CXX ../lib/archive.cc CXX ../lib/userutils.cc CXX ../lib/driver.cc CXX ../elements/standard/addressinfo.cc CXX ../elements/standard/alignmentinfo.cc CXX ../elements/standard/errorelement.cc CXX ../elements/standard/portinfo.cc CXX ../elements/standard/scheduleinfo.cc CC ../lib/clp.c CXX ../lib/exportstub.cc AR libclick.a RANLIB libclick.a CXX ../elements/analysis/adjusttimestamp.cc CXX ../elements/analysis/aggcounter.cc CXX ../elements/analysis/aggpktcounter.cc CXX ../elements/analysis/aggregatefilter.cc CXX ../elements/analysis/aggregatefirst.cc CXX ../elements/analysis/aggregateip.cc CXX ../elements/analysis/aggregateipaddrpair.cc CXX ../elements/analysis/aggregateipflows.cc CXX ../elements/analysis/aggregatelast.cc CXX ../elements/analysis/aggregatelen.cc CXX ../elements/analysis/aggregatenotifier.cc CXX ../elements/analysis/aggregatepaint.cc CXX ../elements/analysis/anonipaddr.cc CXX ../elements/analysis/eraseippayload.cc CXX ../elements/analysis/fromcapdump.cc CXX ../elements/analysis/fromdagdump.cc CXX ../elements/analysis/fromipsumdump.cc CXX ../elements/analysis/fromnetflowsumdump.cc CXX ../elements/analysis/fromnlanrdump.cc CXX ../elements/analysis/fromtcpdump.cc CXX ../elements/analysis/ipsumdump_anno.cc CXX ../elements/analysis/ipsumdump_icmp.cc CXX ../elements/analysis/ipsumdump_ip.cc CXX ../elements/analysis/ipsumdump_link.cc CXX ../elements/analysis/ipsumdump_payload.cc CXX ../elements/analysis/ipsumdump_tcp.cc CXX ../elements/analysis/ipsumdump_udp.cc CXX ../elements/analysis/ipsumdumpinfo.cc CXX ../elements/analysis/settimestampdelta.cc CXX ../elements/analysis/storetimestamp.cc CXX ../elements/analysis/storeudptimeseqrecord.cc CXX ../elements/analysis/timefilter.cc CXX ../elements/analysis/timerange.cc CXX ../elements/analysis/timesortedsched.cc CXX ../elements/analysis/timestampaccum.cc CXX ../elements/analysis/toipflowdumps.cc CXX ../elements/analysis/toipsumdump.cc CXX ../elements/app/ftpportmapper.cc CXX ../elements/aqm/adaptivered.cc CXX ../elements/aqm/red.cc CXX ../elements/ethernet/arpfaker.cc CXX ../elements/ethernet/arpprint.cc CXX ../elements/ethernet/arpquerier.cc CXX ../elements/ethernet/arpresponder.cc CXX ../elements/ethernet/arptable.cc CXX ../elements/ethernet/checkarpheader.cc CXX ../elements/ethernet/ensureether.cc CXX ../elements/ethernet/etherencap.cc CXX ../elements/ethernet/ethermirror.cc CXX ../elements/ethernet/etherpausesource.cc CXX ../elements/ethernet/ethervlanencap.cc CXX ../elements/ethernet/getetheraddress.cc CXX ../elements/ethernet/hostetherfilter.cc CXX ../elements/ethernet/setetheraddress.cc CXX ../elements/ethernet/setvlananno.cc CXX ../elements/ethernet/storeetheraddress.cc CXX ../elements/ethernet/stripethervlanheader.cc CXX ../elements/ethernet/vlandecap.cc CXX ../elements/ethernet/vlanencap.cc CXX ../elements/icmp/checkicmpheader.cc CXX ../elements/icmp/icmperror.cc CXX ../elements/icmp/icmpipencap.cc CXX ../elements/icmp/icmppingencap.cc CXX ../elements/icmp/icmppingresponder.cc CXX ../elements/icmp/icmppingrewriter.cc CXX ../elements/icmp/icmprewriter.cc CXX ../elements/icmp/icmpsendpings.cc CXX ../elements/ip/checkipheader.cc CXX ../elements/ip/checkipheader2.cc CXX ../elements/ip/decipttl.cc CXX ../elements/ip/directiplookup.cc CXX ../elements/ip/fixipsrc.cc CXX ../elements/ip/getipaddress.cc CXX ../elements/ip/ipaddrpairrewriter.cc CXX ../elements/ip/ipaddrrewriter.cc CXX ../elements/ip/ipclassifier.cc CXX ../elements/ip/ipencap.cc CXX ../elements/ip/ipfieldinfo.cc CXX ../elements/ip/ipfilter.cc CXX ../elements/ip/ipfragmenter.cc CXX ../elements/ip/ipgwoptions.cc CXX ../elements/ip/ipinputcombo.cc CXX ../elements/ip/ipmirror.cc CXX ../elements/ip/ipnameinfo.cc CXX ../elements/ip/ipoutputcombo.cc CXX ../elements/ip/ipprint.cc CXX ../elements/ip/ipratemon.cc CXX ../elements/ip/ipreassembler.cc CXX ../elements/ip/iprewriterbase.cc CXX ../elements/ip/iproutetable.cc CXX ../elements/ip/iprwmapping.cc CXX ../elements/ip/iprwpattern.cc CXX ../elements/ip/iprwpatterns.cc CXX ../elements/ip/lineariplookup.cc CXX ../elements/ip/lookupiproute.cc CXX ../elements/ip/lookupiproutelinux.cc CXX ../elements/ip/markipce.cc CXX ../elements/ip/markipheader.cc CXX ../elements/ip/radixiplookup.cc CXX ../elements/ip/rangeiplookup.cc CXX ../elements/ip/rfc2507c.cc CXX ../elements/ip/rfc2507d.cc CXX ../elements/ip/ripsend.cc CXX ../elements/ip/rripmapper.cc CXX ../elements/ip/setipaddress.cc CXX ../elements/ip/setipchecksum.cc CXX ../elements/ip/setipdscp.cc CXX ../elements/ip/setipecn.cc CXX ../elements/ip/setrandipaddress.cc CXX ../elements/ip/siphmapper.cc CXX ../elements/ip/sortediplookup.cc CXX ../elements/ip/storeipaddress.cc CXX ../elements/ip/stripipheader.cc CXX ../elements/ip/truncateippayload.cc CXX ../elements/ip/unstripipheader.cc CXX ../elements/simple/simpleidle.cc CXX ../elements/simple/simplepriosched.cc CXX ../elements/simple/simplepullswitch.cc CXX ../elements/simple/simplerrsched.cc CXX ../elements/standard/align.cc CXX ../elements/standard/annotationinfo.cc CXX ../elements/standard/averagecounter.cc CXX ../elements/standard/bandwidthmeter.cc CXX ../elements/standard/bandwidthshaper.cc CXX ../elements/standard/block.cc CXX ../elements/standard/burster.cc CXX ../elements/standard/bwratedsplitter.cc CXX ../elements/standard/bwratedunqueue.cc CXX ../elements/standard/bypass.cc CXX ../elements/standard/checkcrc32.cc CXX ../elements/standard/checklength.cc CXX ../elements/standard/checkpaint.cc CXX ../elements/standard/classification.cc CXX ../elements/standard/classifier.cc CXX ../elements/standard/clickyinfo.cc CXX ../elements/standard/clipboard.cc CXX ../elements/standard/compblock.cc CXX ../elements/standard/counter.cc CXX ../elements/standard/delayshaper.cc CXX ../elements/standard/delayunqueue.cc CXX ../elements/standard/devirtualizeinfo.cc CXX ../elements/standard/discard.cc CXX ../elements/standard/discardnofree.cc CXX ../elements/standard/drivermanager.cc CXX ../elements/standard/dropbroadcasts.cc CXX ../elements/standard/drr.cc CXX ../elements/standard/flowinfo.cc CXX ../elements/standard/frontdropqueue.cc CXX ../elements/standard/fullnotequeue.cc CXX ../elements/standard/hashswitch.cc CXX ../elements/standard/hub.cc CXX ../elements/standard/idle.cc CXX ../elements/standard/infinitesource.cc CXX ../elements/standard/inputswitch.cc CXX ../elements/standard/linkunqueue.cc CXX ../elements/standard/markmacheader.cc CXX ../elements/standard/messageelement.cc CXX ../elements/standard/meter.cc CXX ../elements/standard/mixedqueue.cc CXX ../elements/standard/notifierqueue.cc CXX ../elements/standard/nullelement.cc CXX ../elements/standard/nulls.cc CXX ../elements/standard/paint.cc CXX ../elements/standard/paintswitch.cc CXX ../elements/standard/painttee.cc CXX ../elements/standard/print.cc CXX ../elements/standard/priosched.cc CXX ../elements/standard/pullswitch.cc CXX ../elements/standard/quicknotequeue.cc CXX ../elements/standard/quitwatcher.cc CXX ../elements/standard/randomerror.cc CXX ../elements/standard/randomsample.cc CXX ../elements/standard/randomsource.cc CXX ../elements/standard/randomswitch.cc CXX ../elements/standard/ratedsource.cc CXX ../elements/standard/ratedsplitter.cc CXX ../elements/standard/ratedunqueue.cc CXX ../elements/standard/resize.cc CXX ../elements/standard/rrsched.cc CXX ../elements/standard/rrswitch.cc CXX ../elements/standard/script.cc CXX ../elements/standard/setannobyte.cc CXX ../elements/standard/setcrc32.cc CXX ../elements/standard/setpackettype.cc CXX ../elements/standard/settimestamp.cc CXX ../elements/standard/shaper.cc CXX ../elements/standard/simplequeue.cc CXX ../elements/standard/staticpullswitch.cc CXX ../elements/standard/staticswitch.cc CXX ../elements/standard/storedata.cc CXX ../elements/standard/stridesched.cc CXX ../elements/standard/strideswitch.cc CXX ../elements/standard/strip.cc CXX ../elements/standard/striptonet.cc CXX ../elements/standard/suppressor.cc CXX ../elements/standard/switch.cc CXX ../elements/standard/tee.cc CXX ../elements/standard/threadsafequeue.cc CXX ../elements/standard/timedsink.cc CXX ../elements/standard/timedsource.cc CXX ../elements/standard/timedunqueue.cc CXX ../elements/standard/truncate.cc CXX ../elements/standard/unqueue.cc CXX ../elements/standard/unqueue2.cc CXX ../elements/standard/unstrip.cc CXX ../elements/tcpudp/checktcpheader.cc CXX ../elements/tcpudp/checkudpheader.cc CXX ../elements/tcpudp/dynudpipencap.cc CXX ../elements/tcpudp/iprewriter.cc CXX ../elements/tcpudp/settcpchecksum.cc CXX ../elements/tcpudp/setudpchecksum.cc CXX ../elements/tcpudp/tcpfragmenter.cc CXX ../elements/tcpudp/tcpipsend.cc CXX ../elements/tcpudp/tcprewriter.cc CXX ../elements/tcpudp/udpipencap.cc CXX ../elements/tcpudp/udprewriter.cc CXX ../elements/test/bhmtest.cc CXX ../elements/test/biginttest.cc CXX ../elements/test/bitvectortest.cc CXX ../elements/test/blockthread.cc CXX ../elements/test/checkpacket.cc CXX ../elements/test/clptest.cc CXX ../elements/test/comparepackets.cc CXX ../elements/test/confparsetest.cc CXX ../elements/test/cryptotest.cc CXX ../elements/test/dequetest.cc CXX ../elements/test/errortest.cc CXX ../elements/test/functiontest.cc CXX ../elements/test/handlertask.cc CXX ../elements/test/hashtabletest.cc CXX ../elements/test/heaptest.cc CXX ../elements/test/listtest.cc CXX ../elements/test/neighborhoodtest.cc CXX ../elements/test/notifierdebug.cc CXX ../elements/test/notifiertest.cc CXX ../elements/test/nulltask.cc CXX ../elements/test/packettest.cc CXX ../elements/test/queueyanktest.cc CXX ../elements/test/randomseed.cc CXX ../elements/test/schedordertest.cc CXX ../elements/test/sorttest.cc CXX ../elements/test/timertest.cc CXX ../elements/test/tokenbuckettest.cc CXX ../elements/test/upstreamnotifier.cc CXX ../elements/test/vectortest.cc CXX ../elements/threads/spinlockacquire.cc CXX ../elements/threads/spinlockinfo.cc CXX ../elements/threads/spinlockrelease.cc CXX ../elements/threads/staticthreadsched.cc CXX ../elements/userlevel/changeuid.cc CXX ../elements/userlevel/chattersocket.cc CXX ../elements/userlevel/controlsocket.cc CXX ../elements/userlevel/fakepcap.cc CXX ../elements/userlevel/fromdevice.cc CXX ../elements/userlevel/fromdump.cc CXX ../elements/userlevel/fromhost.cc CXX ../elements/userlevel/fromrawsocket.cc CXX ../elements/userlevel/fromsocket.cc CXX ../elements/userlevel/handlerproxy.cc CXX ../elements/userlevel/kernelfilter.cc CXX ../elements/userlevel/kerneltap.cc CXX ../elements/userlevel/kerneltun.cc CXX ../elements/userlevel/khandlerproxy.cc CXX ../elements/userlevel/netmapinfo.cc CXX ../elements/userlevel/progressbar.cc CXX ../elements/userlevel/rawsocket.cc CXX ../elements/userlevel/socket.cc CXX ../elements/userlevel/todevice.cc CXX ../elements/userlevel/todump.cc CXX ../elements/userlevel/tohost.cc CXX ../elements/userlevel/torawsocket.cc CXX ../elements/userlevel/tosocket.cc CXX ../elements/userlevel/umlswitch.cc CREATE elements.cc CXX elements.cc CXX click.cc LINK click INSTALL /usr/local/lib/libclick.a INSTALL /usr/local/bin/click make[1]: Leaving directory /home/router1/click/userlevel' make[1]: Entering directory/home/router1/click/linuxmodule' ../click-buildtool elem2make --linux -x "addressinfo.o alignmentinfo.o errorelement.o portinfo.o scheduleinfo.o" < elements.conf > elements.mk ../click-buildtool elem2export < elements.conf > elements.cc make -C /lib/modules/3.13.0-39-generic/build M=/home/router1/click/linuxmodule modules make[2]: Entering directory /usr/src/linux-headers-3.13.0-39-generic' CC [M] crc32.o CC [M] in_cksum.o CXX [M] string.o CXX [M] straccum.o CXX [M] nameinfo.o CXX [M] bitvector.o CXX [M] bighashmap_arena.o CXX [M] hashallocator.o CXX [M] ipaddress.o CXX [M] ipflowid.o CXX [M] etheraddress.o CXX [M] packet.o CXX [M] error.o CXX [M] timestamp.o CXX [M] glue.o /home/router1/click/linuxmodule/../lib/glue.cc: In function ‘int click_qsort(void_, size_t, size_t, int (_)(const void_, const void_, void_), void_)’: /home/router1/click/linuxmodule/../lib/glue.cc:668:1: warning: the frame size of 1168 bytes is larger than 1024 bytes [-Wframe-larger-than=] CXX [M] task.o CXX [M] timer.o CXX [M] atomic.o CXX [M] gaprate.o CXX [M] element.o CXX [M] confparse.o CXX [M] args.o CXX [M] variableenv.o CXX [M] lexer.o CXX [M] elemfilter.o CXX [M] routervisitor.o CXX [M] routerthread.o CXX [M] router.o CXX [M] master.o CXX [M] timerset.o CXX [M] handlercall.o CXX [M] notifier.o CXX [M] integers.o CXX [M] iptable.o CXX [M] driver.o CXX [M] ino.o CXX [M] addressinfo.o CXX [M] alignmentinfo.o CXX [M] errorelement.o CXX [M] portinfo.o CXX [M] scheduleinfo.o CXX [M] adjusttimestamp.o CXX [M] aggregateipflows.o CXX [M] aggregatenotifier.o CXX [M] anonipaddr.o CXX [M] eraseippayload.o CXX [M] settimestampdelta.o CXX [M] storetimestamp.o CXX [M] storeudptimeseqrecord.o CXX [M] timefilter.o CXX [M] timerange.o CXX [M] timesortedsched.o CXX [M] ftpportmapper.o CXX [M] adaptivered.o CXX [M] red.o CXX [M] arpfaker.o CXX [M] arpprint.o CXX [M] arpquerier.o CXX [M] arpresponder.o CXX [M] arptable.o CXX [M] checkarpheader.o CXX [M] ensureether.o CXX [M] etherencap.o CXX [M] ethermirror.o CXX [M] etherpausesource.o CXX [M] ethervlanencap.o CXX [M] getetheraddress.o CXX [M] hostetherfilter.o CXX [M] setetheraddress.o CXX [M] setvlananno.o CXX [M] storeetheraddress.o CXX [M] stripethervlanheader.o CXX [M] vlandecap.o CXX [M] vlanencap.o CXX [M] checkicmpheader.o CXX [M] icmperror.o CXX [M] icmpipencap.o CXX [M] icmppingencap.o CXX [M] icmppingresponder.o CXX [M] icmppingrewriter.o CXX [M] icmprewriter.o CXX [M] icmpsendpings.o CXX [M] checkipheader.o CXX [M] checkipheader2.o CXX [M] decipttl.o CXX [M] fixipsrc.o CXX [M] getipaddress.o CXX [M] ipaddrpairrewriter.o CXX [M] ipaddrrewriter.o CXX [M] ipclassifier.o CXX [M] ipencap.o CXX [M] ipfieldinfo.o CXX [M] ipfilter.o CXX [M] ipfragmenter.o CXX [M] ipgwoptions.o CXX [M] ipinputcombo.o CXX [M] ipmirror.o CXX [M] ipnameinfo.o CXX [M] ipoutputcombo.o CXX [M] ipprint.o CXX [M] ipreassembler.o CXX [M] iprewriterbase.o CXX [M] iproutetable.o CXX [M] iprwmapping.o CXX [M] iprwpattern.o CXX [M] iprwpatterns.o CXX [M] lineariplookup.o CXX [M] lookupiproute.o CXX [M] lookupiproutemp.o CXX [M] markipce.o CXX [M] markipheader.o CXX [M] radixiplookup.o CXX [M] rfc2507c.o CXX [M] rfc2507d.o CXX [M] ripsend.o CXX [M] rripmapper.o CXX [M] setipaddress.o CXX [M] setipchecksum.o CXX [M] setipdscp.o CXX [M] setipecn.o CXX [M] setrandipaddress.o CXX [M] siphmapper.o /home/router1/click/linuxmodule/../elements/ip/siphmapper.cc: In constructor ‘SourceIPHashMapper::SourceIPHashMapper()’: /home/router1/click/linuxmodule/../elements/ip/siphmapper.cc:31:18: warning: invalid conversion from ‘void_’ to ‘chash_t<int>_’ [-fpermissive] In file included from /home/router1/click/linuxmodule/../elements/ip/siphmapper.cc:27:0: /home/router1/click/linuxmodule/../elements/ip/siphmapper.hh: In member function ‘C_ jvtree_t<C, K, key>::search(K) const [with C = chash_node_t<int>, K = int, K C::\* key = &chash_node_t<int>::key]’: /home/router1/click/linuxmodule/../elements/ip/siphmapper.hh:172:66: instantiated from ‘short unsigned int chash_t<K>::hash2ind(K) const [with K = int]’ /home/router1/click/linuxmodule/../elements/ip/siphmapper.cc:148:35: instantiated from here /home/router1/click/linuxmodule/../elements/ip/siphmapper.hh:90:14: warning: invalid conversion from ‘void_’ to ‘chash_node_t<int>_’ [-fpermissive] CXX [M] sortediplookup.o CXX [M] storeipaddress.o CXX [M] stripipheader.o CXX [M] truncateippayload.o CXX [M] unstripipheader.o CXX [M] anydevice.o CXX [M] cpuqueue.o CXX [M] cpuswitch.o CXX [M] cyclecountaccum.o CXX [M] fasttcpflows.o /home/router1/click/linuxmodule/../elements/linuxmodule/fasttcpflows.cc: In member function ‘virtual int FastTCPFlows::initialize(ErrorHandler_)’: /home/router1/click/linuxmodule/../elements/linuxmodule/fasttcpflows.cc:168:52: warning: invalid conversion from ‘const void_’ to ‘void_’ [-fpermissive] CXX [M] fastudpflows.o CXX [M] fastudpsrc.o CXX [M] fromdevice.o CXX [M] fromhost.o /home/router1/click/linuxmodule/../elements/linuxmodule/fromhost.cc: In member function ‘int FromHost::set_device_addresses(ErrorHandler_)’: /home/router1/click/linuxmodule/../elements/linuxmodule/fromhost.cc:296:32: warning: invalid conversion from ‘ifreq_’ to ‘long unsigned int’ [-fpermissive] /home/router1/click/linuxmodule/../elements/linuxmodule/fromhost.cc:300:32: warning: invalid conversion from ‘ifreq_’ to ‘long unsigned int’ [-fpermissive] /home/router1/click/linuxmodule/../elements/linuxmodule/fromhost.cc: In function ‘int dev_updown(net_device_, int, ErrorHandler_)’: /home/router1/click/linuxmodule/../elements/linuxmodule/fromhost.cc:320:14: warning: unused variable ‘flags’ [-Wunused-variable] CXX [M] fromuserdevice.o CXX [M] polldevice.o CXX [M] rtcycles.o CXX [M] schedulelinux.o CXX [M] setcyclecount.o CXX [M] todevice.o /home/router1/click/linuxmodule/../elements/linuxmodule/todevice.cc: In member function ‘virtual bool ToDevice::run_task(Task_)’: /home/router1/click/linuxmodule/../elements/linuxmodule/todevice.cc:308:29: warning: unused variable ‘ok’ [-Wunused-variable] /home/router1/click/linuxmodule/../elements/linuxmodule/todevice.cc: In member function ‘int ToDevice::queue_packet(Packet_, netdev_queue_)’: /home/router1/click/linuxmodule/../elements/linuxmodule/todevice.cc:548:2: warning: label ‘enqueued’ defined but not used [-Wunused-label] CXX [M] tohost.o CXX [M] tohostsniffers.o CXX [M] touserdevice.o /home/router1/click/linuxmodule/../elements/linuxmodule/touserdevice.cc: In member function ‘virtual int ToUserDevice::configure(Vector<String>&, ErrorHandler_)’: /home/router1/click/linuxmodule/../elements/linuxmodule/touserdevice.cc:358:12: warning: unused variable ‘dev’ [-Wunused-variable] CXX [M] simpleidle.o CXX [M] simplepriosched.o CXX [M] simplepullswitch.o CXX [M] simplerrsched.o CXX [M] align.o CXX [M] annotationinfo.o CXX [M] averagecounter.o CXX [M] bandwidthmeter.o CXX [M] bandwidthshaper.o CXX [M] block.o CXX [M] burster.o CXX [M] bwratedsplitter.o CXX [M] bwratedunqueue.o CXX [M] bypass.o CXX [M] checkcrc32.o CXX [M] checklength.o CXX [M] checkpaint.o CXX [M] classification.o CXX [M] classifier.o CXX [M] clickyinfo.o CXX [M] clipboard.o /home/router1/click/linuxmodule/../elements/standard/clipboard.cc: In member function ‘virtual Packet\* Clipboard::pull(int)’: /home/router1/click/linuxmodule/../elements/standard/clipboard.cc:59:20: warning: invalid conversion from ‘void_’ to ‘Packet_’ [-fpermissive] /home/router1/click/linuxmodule/../elements/standard/clipboard.cc: In member function ‘Packet\* Clipboard::paste(Packet_)’: /home/router1/click/linuxmodule/../elements/standard/clipboard.cc:98:20: warning: invalid conversion from ‘void_’ to ‘Packet_’ [-fpermissive] CXX [M] compblock.o CXX [M] counter.o CXX [M] delayshaper.o CXX [M] delayunqueue.o CXX [M] devirtualizeinfo.o CXX [M] discard.o CXX [M] discardnofree.o CXX [M] drivermanager.o CXX [M] dropbroadcasts.o CXX [M] drr.o CXX [M] flowinfo.o CXX [M] frontdropqueue.o CXX [M] fullnotequeue.o CXX [M] hashswitch.o CXX [M] hub.o CXX [M] idle.o CXX [M] infinitesource.o CXX [M] inputswitch.o CXX [M] linkunqueue.o CXX [M] markmacheader.o CXX [M] messageelement.o CXX [M] meter.o CXX [M] mixedqueue.o CXX [M] notifierqueue.o CXX [M] nullelement.o CXX [M] nulls.o CXX [M] paint.o CXX [M] paintswitch.o CXX [M] painttee.o CXX [M] print.o CXX [M] priosched.o CXX [M] pullswitch.o CXX [M] quicknotequeue.o CXX [M] quitwatcher.o CXX [M] randomerror.o CXX [M] randomsample.o CXX [M] randomsource.o CXX [M] randomswitch.o CXX [M] ratedsource.o CXX [M] ratedsplitter.o CXX [M] ratedunqueue.o CXX [M] resize.o /home/router1/click/linuxmodule/../elements/standard/resize.cc: In member function ‘virtual Packet_ Resize::simple_action(Packet_)’: /home/router1/click/linuxmodule/../elements/standard/resize.cc:43:24: warning: invalid conversion from ‘void_’ to ‘Packet_’ [-fpermissive] /home/router1/click/linuxmodule/../elements/standard/resize.cc:50:24: warning: invalid conversion from ‘void_’ to ‘Packet_’ [-fpermissive] CXX [M] rrsched.o CXX [M] rrswitch.o CXX [M] script.o CXX [M] setannobyte.o CXX [M] setcrc32.o CXX [M] setpackettype.o CXX [M] settimestamp.o CXX [M] shaper.o CXX [M] simplequeue.o CXX [M] staticpullswitch.o CXX [M] staticswitch.o CXX [M] storedata.o CXX [M] stridesched.o CXX [M] strideswitch.o CXX [M] strip.o CXX [M] striptonet.o CXX [M] suppressor.o CXX [M] switch.o CXX [M] tee.o CXX [M] threadsafequeue.o CXX [M] timedsink.o CXX [M] timedsource.o CXX [M] timedunqueue.o CXX [M] truncate.o CXX [M] unqueue.o CXX [M] unqueue2.o CXX [M] unstrip.o CXX [M] checktcpheader.o CXX [M] checkudpheader.o CXX [M] dynudpipencap.o CXX [M] iprewriter.o CXX [M] settcpchecksum.o CXX [M] setudpchecksum.o CXX [M] tcpfragmenter.o CXX [M] tcpipsend.o CXX [M] tcprewriter.o CXX [M] udpipencap.o CXX [M] udprewriter.o CXX [M] bhmtest.o CXX [M] bitvectortest.o CXX [M] checkpacket.o CXX [M] comparepackets.o CXX [M] confparsetest.o /home/router1/click/linuxmodule/../elements/test/confparsetest.cc: In member function ‘int ConfParseTest::_ZN13ConfParseTest10initializeEP12ErrorHandler.part.52(ErrorHandler_)’: /home/router1/click/linuxmodule/../elements/test/confparsetest.cc:571:1: warning: the frame size of 5600 bytes is larger than 1024 bytes [-Wframe-larger-than=] CXX [M] cryptotest.o CXX [M] dequetest.o CXX [M] errortest.o CXX [M] functiontest.o CXX [M] handlertask.o CXX [M] hashtabletest.o /home/router1/click/linuxmodule/../elements/test/hashtabletest.cc: In member function ‘virtual int HashTableTest::initialize(ErrorHandler_)’: /home/router1/click/linuxmodule/../elements/test/hashtabletest.cc:578:1: warning: the frame size of 1056 bytes is larger than 1024 bytes [-Wframe-larger-than=] CXX [M] heaptest.o CXX [M] listtest.o CXX [M] neighborhoodtest.o CXX [M] notifierdebug.o CXX [M] notifiertest.o CXX [M] nulltask.o CXX [M] packettest.o CXX [M] queueyanktest.o CXX [M] randomseed.o CXX [M] schedordertest.o CXX [M] sorttest.o CXX [M] timertest.o CXX [M] tokenbuckettest.o CXX [M] upstreamnotifier.o CXX [M] vectortest.o CXX [M] spinlockacquire.o CXX [M] spinlockinfo.o CXX [M] spinlockrelease.o CXX [M] staticthreadsched.o CC [M] kernelversion.o CC [M] read-pmc.o CXX [M] config.o CXX [M] sched.o CXX [M] module.o CXX [M] clickfs.o CXX [M] skbmgr.o CXX [M] elements.o CREATE /home/router1/click/linuxmodule/ksyms.c CC [M] ksyms.o CC [M] /home/router1/click/linuxmodule/proclikefsmod.o /home/router1/click/linuxmodule/proclikefs.c: In function ‘proclikefs_unregister_filesystem’: /home/router1/click/linuxmodule/proclikefs.c:335:1: warning: the frame size of 1792 bytes is larger than 1024 bytes [-Wframe-larger-than=] LD [M] /home/router1/click/linuxmodule/click.o LD [M] /home/router1/click/linuxmodule/proclikefs.o Building modules, stage 2. MODPOST 2 modules CC /home/router1/click/linuxmodule/click.mod.o LD [M] /home/router1/click/linuxmodule/click.ko CC /home/router1/click/linuxmodule/proclikefs.mod.o LD [M] /home/router1/click/linuxmodule/proclikefs.ko make[2]: Leaving directory/usr/src/linux-headers-3.13.0-39-generic' ../mkinstalldirs /usr/local/lib for i in click.ko proclikefs.ko; do /usr/bin/install -c -m 644 $i /usr/local/lib/$i; done /usr/bin/install -c -m 644 Module.symvers /usr/local/lib/click.symvers ../mkinstalldirs /usr/local/include/click-linuxmodule INSTALLHEADERS /usr/local/include/click-linuxmodule ... done, 10566 files installed
make[1]: Leaving directory/home/router1/click/linuxmodule' make[1]: Entering directory/home/router1/click/tools' make[2]: Entering directory/home/router1/click/tools/lib' CXX ../../lib/string.cc CXX ../../lib/straccum.cc CXX ../../lib/glue.cc CXX ../../lib/bitvector.cc CXX ../../lib/hashallocator.cc CXX ../../lib/ipaddress.cc CXX ../../lib/etheraddress.cc CXX ../../lib/timestamp.cc CXX ../../lib/error.cc CXX elementt.cc CXX eclasst.cc CXX routert.cc CXX runparse.cc CXX ../../lib/variableenv.cc CXX landmarkt.cc CXX lexert.cc CXX lexertinfo.cc CXX ../../lib/driver.cc CXX ../../lib/confparse.cc CXX ../../lib/args.cc CXX ../../lib/archive.cc CXX processingt.cc CXX etraits.cc CXX elementmap.cc CXX ../../lib/userutils.cc CXX ../../lib/md5.cc CXX toolutils.cc CC ../../lib/clp.c AR libclicktool.a RANLIB libclicktool.a make[2]: Leaving directory/home/router1/click/tools/lib' make[2]: Entering directory/home/router1/click/tools/lib' INSTALLHEADERS /usr/local/include/clicktool INSTALL /usr/local/lib/libclicktool.a make[2]: Leaving directory/home/router1/click/tools/lib' make[2]: Entering directory/home/router1/click/tools/click-align' CXX alignment.cc CXX alignclass.cc CXX click-align.cc LINK click-align INSTALL /usr/local/bin/click-align make[2]: Leaving directory/home/router1/click/tools/click-align' make[2]: Entering directory/home/router1/click/tools/click-check' CXX click-check.cc LINK click-check INSTALL /usr/local/bin/click-check make[2]: Leaving directory/home/router1/click/tools/click-check' make[2]: Entering directory/home/router1/click/tools/click-combine' CXX click-combine.cc LINK click-combine CXX click-uncombine.cc LINK click-uncombine INSTALL /usr/local/bin/click-combine INSTALL /usr/local/bin/click-uncombine make[2]: Leaving directory/home/router1/click/tools/click-combine' make[2]: Entering directory/home/router1/click/tools/click-devirtualize' CXX cxxclass.cc CXX specializer.cc CXX signature.cc CXX click-devirtualize.cc LINK click-devirtualize INSTALL /usr/local/bin/click-devirtualize make[2]: Leaving directory/home/router1/click/tools/click-devirtualize' make[2]: Entering directory/home/router1/click/tools/click-fastclassifier' CXX click-fastclassifier.cc CXX fc_classifier.cc CXX fc_ipclassifier.cc LINK click-fastclassifier INSTALL /usr/local/bin/click-fastclassifier make[2]: Leaving directory/home/router1/click/tools/click-fastclassifier' make[2]: Entering directory/home/router1/click/tools/click-flatten' CXX click-flatten.cc LINK click-flatten INSTALL /usr/local/bin/click-flatten make[2]: Leaving directory/home/router1/click/tools/click-flatten' make[2]: Entering directory/home/router1/click/tools/click-mkmindriver' CXX click-mkmindriver.cc LINK click-mkmindriver INSTALL /usr/local/bin/click-mkmindriver make[2]: Leaving directory/home/router1/click/tools/click-mkmindriver' make[2]: Entering directory/home/router1/click/tools/click-pretty' CXX click-pretty.cc CXX html.cc LINK click-pretty INSTALL /usr/local/bin/click-pretty make[2]: Leaving directory/home/router1/click/tools/click-pretty' make[2]: Entering directory/home/router1/click/tools/click-undead' CXX click-undead.cc LINK click-undead INSTALL /usr/local/bin/click-undead make[2]: Leaving directory/home/router1/click/tools/click-undead' make[2]: Entering directory/home/router1/click/tools/click-xform' CXX adjacency.cc CXX click-xform.cc LINK click-xform INSTALL /usr/local/bin/click-xform make[2]: Leaving directory/home/router1/click/tools/click-xform' make[2]: Entering directory/home/router1/click/tools/click2xml' CXX click2xml.cc LINK click2xml INSTALL /usr/local/bin/click2xml make[2]: Leaving directory/home/router1/click/tools/click2xml' make[2]: Entering directory/home/router1/click/tools/click-install' CXX common.cc CXX click-install.cc LINK click-install CXX click-uninstall.cc LINK click-uninstall INSTALL /usr/local/sbin/click-install INSTALL /usr/local/sbin/click-uninstall make[2]: Leaving directory/home/router1/click/tools/click-install' make[1]: Leaving directory/home/router1/click/tools' echo userlevel linuxmodule analysis app aqm ethernet icmp ip simple standard tcpudp test threads | ./click-buildtool findelem -r "x86_64 analysis int64 linux userlevel linuxmodule" -p . | perl ./click-mkelemmap -r "x86_64 analysis int64 linux " -t "userlevel linuxmodule" -p . -Iinclude -s "cd . && pwd" > elementmap.xml ./mkinstalldirs /usr/local/bin /usr/bin/install -c -C click-buildtool /usr/local/bin/click-buildtool /usr/bin/install -c -C click-compile /usr/local/bin/click-compile /usr/bin/install -c -C ./click-mkelemmap /usr/local/bin/click-mkelemmap /usr/bin/install -c -C ./test/testie /usr/local/bin/testie ./mkinstalldirs /usr/local/share/click /usr/bin/install -c ./mkinstalldirs /usr/local/share/click/mkinstalldirs /usr/bin/install -c -m 644 elementmap.xml /usr/local/share/click/elementmap.xml /usr/bin/install -c -C -m 644 config.mk /usr/local/share/click/config.mk /usr/bin/install -c -C -m 644 etc/pkg-config.mk /usr/local/share/click/pkg-config.mk /usr/bin/install -c -C -m 644 ./etc/pkg-Makefile /usr/local/share/click/pkg-Makefile /usr/bin/install -c -C -m 644 ./etc/pkg-userlevel.mk /usr/local/share/click/pkg-userlevel.mk /usr/bin/install -c -C -m 644 ./etc/pkg-linuxmodule.mk /usr/local/share/click/pkg-linuxmodule.mk /usr/bin/install -c -C -m 644 ./etc/pkg-linuxmodule-26.mk /usr/local/share/click/pkg-linuxmodule-26.mk /usr/bin/install -c -C -m 644 ./etc/pkg-bsdmodule.mk /usr/local/share/click/pkg-bsdmodule.mk (cd .; pwd) > /usr/local/share/click/srcdir /bin/rm -rf /usr/local/share/click/src /bin/ln -s "cd .; pwd" /usr/local/share/click/src make[1]: Entering directory/home/router1/click/doc' INSTALLMANPAGES /usr/local/share/man CLICK-ELEM2MAN -m /usr/local/share/man click-elem2man: ../elements/linuxmodule/touserdevice.hh:13: warning: multiple '=d' sections; some may be ignored click-elem2man: warning: unknown category shorthand 'devices' in UMLSwitch INSTALL /usr/local/bin/click-elem2man make[1]: Leaving directory`/home/router1/click/doc' ./mkinstalldirs /usr/local/include/click mkdir -p -- /usr/local/include/click /usr/bin/install -c -C -m 644 ./include/click/.h /usr/local/include/click /usr/bin/install -c -C -m 644 ./include/click/.hh /usr/local/include/click /usr/bin/install -c -C -m 644 ./include/click/.cc /usr/local/include/click /usr/bin/install -c -C -m 644 ./include/click/.h /usr/local/include/click ./mkinstalldirs /usr/local/include/click/standard mkdir -p -- /usr/local/include/click/standard /usr/bin/install -c -C -m 644 ./include/click/standard/_.hh /usr/local/include/click/standard ./mkinstalldirs /usr/local/include/clicknet mkdir -p -- /usr/local/include/clicknet /usr/bin/install -c -C -m 644 ./include/clicknet/*.h /usr/local/include/clicknet root@router1-HVM:/home/router1/click# lsmod~ No command 'lsmod~' found, did you mean: Command 'lsmod' from package 'module-init-tools' (main) lsmod~: command not found root@router1-HVM:/home/router1/click# lsmod Module Size Used by click 2462490 0 proclikefs 14574 2 click nls_utf8 12557 1 isofs 40287 1 rfcomm 74748 0 bnep 19884 2 bluetooth 411194 10 rfcomm,bnep parport_pc 32866 0 ppdev 17711 0 cirrus 25286 0 ttm 90169 1 cirrus drm_kms_helper 59668 1 cirrus drm 308868 3 cirrus,ttm,drm_kms_helper psmouse 113331 0 xen_kbdfront 12797 0 joydev 17575 0 sysimgblt 12806 1 cirrus mac_hid 13253 0 serio_raw 13462 0 sysfillrect 12901 1 cirrus syscopyarea 12633 1 cirrus i2c_piix4 22299 0 lp 17799 0 parport 42481 3 parport_pc,ppdev,lp hid_generic 12548 0 usbhid 53111 0 hid 106605 2 hid_generic,usbhid floppy 70207 0 root@router1-HVM:/home/router1/click# click conf/test.click ok: 40 | 45000028 00000000 401177c3 01000001 02000002 13691369 ok: 40 | 45000028 00000000 401177c3 01000001 02000002 13691369 ok: 40 | 45000028 00000000 401177c3 01000001 02000002 13691369 ok: 40 | 45000028 00000000 401177c3 01000001 02000002 13691369 ok: 40 | 45000028 00000000 401177c3 01000001 02000002 13691369 root@router1-HVM:/home/router1/click# click conf/test.click ok: 40 | 45000028 00000000 401177c3 01000001 02000002 13691369 ok: 40 | 45000028 00000000 401177c3 01000001 02000002 13691369 ok: 40 | 45000028 00000000 401177c3 01000001 02000002 13691369 ok: 40 | 45000028 00000000 401177c3 01000001 02000002 13691369 ok: 40 | 45000028 00000000 401177c3 01000001 02000002 13691369 root@router1-HVM:/home/router1/click# click-install conf/test.click insmod: error inserting '/usr/local/lib/click.ko': -1 File exists click-install: '/sbin/insmod /usr/local/lib/click.ko' failed

piotrjurkiewicz commented 10 years ago

Run the following commands:

click-uninstall
rmmod -f click
rmmod -f proclikefs

And then try click-install again:

click-install conf/test.click