[Click] Click Compile Errors!!

gaurav dawra openapproject at hotmail.com
Wed Jun 16 21:29:07 EDT 2004


Hi i am trying to compile CLICK routing software for my 2.4.20rn KENREL, i 
did configure with the following options in the command line. It didn't gave 
me any error. BUT WHEN I TRY to do "make install" or even "make" it gives me 
these errors , please suggest.

[root at roofnet click]# ./configure --enable-grid --enable-local 
--enable-adaptive --with-linux=/usr/src/linux-2.4.20/ 
--with-pcap=/home/dawra/release/libpcap-0.7.1/ 
--with-linux-map=/usr/src/linux-2.4.20/System.map
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... 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 ANSI C... none needed
checking how to run the C preprocessor... gcc -W -Wall -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 -fno-exceptions 
-fno-rtti  -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 snprintf... yes
checking for strtoul... yes
checking for tcgetpgrp... yes
checking for vsnprintf... yes
checking whether machine is indifferent to alignment... yes
checking for egrep... 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 int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for inttypes.h... (cached) yes
checking for int64_t typedef... yes
checking for uint64_t typedef... yes
checking whether 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 for addressable va_list type... yes
checking for unistd.h... (cached) yes
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
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 connect... none required
checking for library containing gethostbyname... none required
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 for Click Linux kernel extensions... yes
checking for read_net_skbcount kernel extension... no
checking for strlen kernel symbol... no
checking for tulip_interrupt_hook kernel symbol... no
checking for device polling kernel extension... yes
checking for SMP... 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 for pcap.h... found
checking whether pcap.h works... yes
checking for bpf_timeval in pcap.h... no
checking for -lpcap... found
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
checking for XML_ParserCreateNS in -lexpat... yes
checking for C++-includable kernel header files... yes
checking whether -fpermissive is required... no
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 working makeinfo... found
checking for working texi2dvi... found
checking for install-info... /sbin/install-info
checking for working install-info... found
configure: creating ./config.status
config.status: creating Makefile
config.status: creating click-compile
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 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
------------------------------------------------------------------------------------------------
ERRORS: after doing "make", make install" , "gmake install"

dsrroutetable.o(.text+0x11f0): In function 
`DSRRouteTable::sendbuffer_timer_hook()':
../elements/grid/dsrroutetable.cc:327: undefined reference to 
`LinkTable::dijkstra()'
dsrroutetable.o(.text+0x1205):../elements/grid/dsrroutetable.cc:328: 
undefined reference to `LinkTable::best_route(IPAddress)'
dsrroutetable.o(.text+0x1b1e): In function `DSRRouteTable::push(int, 
Packet*)':
../elements/grid/dsrroutetable.cc:471: undefined reference to 
`LinkTable::dijkstra()'
dsrroutetable.o(.text+0x1b36):../elements/grid/dsrroutetable.cc:472: 
undefined reference to `LinkTable::best_route(IPAddress)'
dsrroutetable.o(.text+0x1e49): In function `DSRRouteTable::push(int, 
Packet*)':
../elements/wifi/linktable.hh:90: undefined reference to 
`LinkTable::update_link(IPAddress, IPAddress, int)'
dsrroutetable.o(.text+0x210e): In function `DSRRouteTable::push(int, 
Packet*)':
../include/click/vector.hh:220: undefined reference to 
`LinkTable::update_link(IPAddress, IPAddress, int)'
dsrroutetable.o(.text+0x24a0): In function `DSRRouteTable::push(int, 
Packet*)':
../elements/wifi/linktable.hh:90: undefined reference to 
`LinkTable::update_link(IPAddress, IPAddress, int)'
dsrroutetable.o(.text+0x25fe): In function `DSRRouteTable::push(int, 
Packet*)':
../elements/grid/dsrroutetable.cc:761: undefined reference to 
`LinkTable::update_link(IPAddress, IPAddress, int)'
dsrroutetable.o(.text+0x4968): In function 
`DSRRouteTable::rreq_issue_hook()':
../elements/grid/dsrroutetable.cc:1715: undefined reference to 
`LinkTable::dijkstra()'
dsrroutetable.o(.text+0x497d):../elements/grid/dsrroutetable.cc:1716: 
undefined reference to `LinkTable::best_route(IPAddress)'
dsrroutetable.o(.text+0x4dbb): In function 
`DSRRouteTable::add_route_to_link_table(Vector<DSRHop>)':../elements/wifi/linktable.hh:90: 
undefined reference to `LinkTable::update_link(IPAddress, IPAddress, int)'
dsrroutetable.o(.text+0x4de9): In function 
`DSRRouteTable::add_route_to_link_table(Vector<DSRHop>)':../elements/grid/dsrroutetable.cc:1806: 
undefined reference to `LinkTable::update_link(IPAddress, IPAddress, int)'
dsrroutetable.o(.text+0x4e05): In function 
`DSRRouteTable::add_route_to_link_table(Vector<DSRHop>)':../elements/wifi/linktable.hh:90: 
undefined reference to `LinkTable::update_link(IPAddress, IPAddress, int)'
collect2: ld returned 1 exit status
gmake[1]: *** [click] Error 1
gmake[1]: Leaving directory `/home/dawra/click/userlevel'
gmake: *** [install] Error 1
-----------------------------------------------------------------------------------------------------
Please also tell me how to include the configurations in the click. I am NEW 
to this click routing software.

Thanx,

Gaurav

_________________________________________________________________
Watch the online reality show Mixed Messages with a friend and enter to win 
a trip to NY 
http://www.msnmessenger-download.click-url.com/go/onm00200497ave/direct/01/



More information about the click mailing list