[Click] fakepcap.cc

Eddie Kohler kohler at cs.ucla.edu
Mon Mar 14 11:56:28 EST 2005


Thanks, Bob -- this is fixed.  I'm shocked our compilers didn't catch  
it!  Just go to line 188 and add "&" before "rh->ether_type".

E

On Mar 12, 2005, at 9:56 PM, Bob Keyes wrote:

> 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?
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click



More information about the click mailing list