[Click] fakepcap.cc

Bob Keyes bob at sinister.com
Sun Mar 13 00:56:51 EST 2005


OK, I the other problems seem to have gone away, but this presents itself,
only on the cross compiler for mipsel:

make[2]: Entering directory
`/home/bob/buildroot/build_mipsel/click/userlevel'
/home/bob/buildroot/build_mipsel/staging_dir/bin/mipsel-linux-uclibc-g++
-DHAVE_CONFIG_H -I../include -I../include -I. -I..  -DCLICK_USERLEVEL -g
-O2  -c ../elements/userlevel/fakepcap.cc
../elements/userlevel/fakepcap.cc: In function `bool
   fake_pcap_force_ip(Packet*&, int)':
../elements/userlevel/fakepcap.cc:188: error: invalid conversion from
`const
   uint16_t' to `const void*'
make[2]: *** [fakepcap.o] Error 1
make[2]: Leaving directory
`/home/bob/buildroot/build_mipsel/click/userlevel'
make[1]: *** [userlevel] Error 2
make[1]: Leaving directory `/home/bob/buildroot/build_mipsel/click'
make: *** [/home/bob/buildroot/build_mipsel/click/click] Error 2
picatrix:/home/bob/buildroot#


Looks like an endian-ness problem, where do I look to fix these?


More information about the click mailing list