[Click] mipsel compilation error
Bob Keyes
bob at sinister.com
Thu Mar 10 23:01:15 EST 2005
I am trying to port click over to openwrt (runs on the Linksys wrt54gs
access point/router), and the following compilation error occurs:
/home/bob/openwrt-4/buildroot/build_mipsel/staging_dir/bin/mipsel-linux-uclibc-g++
-DHAVE_CONFIG_H -I../include -I../include -I. -I.. -DCLICK_USERLEVEL -g
-O2 -c ../lib/confparse.cc
../lib/confparse.cc: In function `bool cp_file_offset(const String&,
off_t*)':
../lib/confparse.cc:926: error: no matching function for call to
`cp_unsigned(
const String&, uint64_t*&)'
../lib/confparse.cc:691: error: candidates are: const char*
cp_unsigned(const
char*, const char*, int, uint32_t*)
../lib/confparse.cc:754: error: bool cp_unsigned(const
String&,
int, uint32_t*)
../include/click/confparse.hh:331: error: bool
cp_unsigned(const String&, unsigned int*)
../include/click/confparse.hh:369: error: const char*
cp_unsigned(const char*, const char*, int, long unsigned int*)
../include/click/confparse.hh:374: error: bool
cp_unsigned(const String&, int, long unsigned int*)
../include/click/confparse.hh:379: error: bool
cp_unsigned(const String&, long unsigned int*)
make[2]: *** [confparse.o] Error 1
make[2]: Leaving directory
`/home/bob/openwrt-4/buildroot/build_mipsel/click-1.4.3/userlevel'
make[1]: *** [userlevel] Error 2
make[1]: Leaving directory
`/home/bob/openwrt-4/buildroot/build_mipsel/click-1.4.3'
make: *** [/home/bob/openwrt-4/buildroot/build_mipsel/click-1.4.3/click]
Error 2
ocelot:/home/bob/openwrt-4/buildroot#
This is click 1.4.3, gcc 3.3.3, mipsel cross-compilation. Any idea what's
causing the error?
More information about the click
mailing list