[Click] [click] unknown element class ?

Eddie Kohler kohler at cs.ucla.edu
Mon Mar 2 17:55:11 EST 2009


You need to compile and use the "roofnet" package, which is part of the 
click-packages distribution.  "require(roofnet)" at the top of your click script.


tianyu wrote:
> Hello everyone,
> 	I get information below:
> 	<stdin>:26: unknown element class ‘SR2ETTStat’
> 	<stdin>:37: unknown element class ‘SR2ETTMetric’
> 
> 	Did I miss soomething?
> 
> ./configure--enable-wifi--enable-roofnet--disable-linuxmodule--enable-userlevel
> 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 strtoul... yes
> checking for tcgetpgrp... yes
> checking for vsnprintf... yes
> checking for int... yes
> checking size of int... 4
> checking for long... yes
> checking size of long... 4
> checking for size_t... yes
> checking size of size_t... 4
> checking for inttypes.h... (cached) yes
> checking whether machine is indifferent to alignment... yes
> checking for long long... yes
> checking size of long long... 8
> checking for long long... (cached) 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 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 for struct timeval... yes
> checking size of struct timeval... 8
> checking for struct timespec... yes
> checking for struct timespec... (cached) yes
> checking size of struct timespec... 8
> checking whether clock_gettime is declared... yes
> checking for library containing clock_gettime... -lrt
> 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 poll.h usability... yes
> checking poll.h presence... yes
> checking for poll.h... yes
> checking whether <poll.h> is emulated... no
> 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 for off_t... 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 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... found
> checking whether pcap.h works... yes
> checking for bpf_timeval in pcap.h... no
> checking whether pcap_setnonblock is declared... yes
> checking for -lpcap... found
> checking for pcap_setnonblock... yes
> checking whether struct if_data has ifi_datalen... no
> checking whether struct sockaddr_in has sin_len... no
> checking expat.h usability... yes
> checking expat.h presence... yes
> checking for expat.h... yes
> checking for XML_ParserCreateNS in -lexpat... yes
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether install accepts -C... no
> checking for GNU make... make
> checking for working autoconf... found
> checking for perl5... no
> checking for perl... perl
> checking for gawk... gawk
> checking for grep that handles long lines and -e... (cached) /bin/grep
> checking for egrep... (cached) /bin/grep -E
> checking for working makeinfo... found
> checking for working texi2dvi... found
> 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 exopc/Makefile
> config.status: creating linuxmodule/Makefile
> config.status: creating ns/Makefile
> config.status: creating userlevel/Makefile
> 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: executing default-1 commands
> 
> 
> 
> Thanks a lot!
> 
> 
> regards!
> 
> 
> 
> 
> tianyu
> 
> 
> 
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click



More information about the click mailing list