[Click] Porting problem...

Nikola Knežević laladelausanne at gmail.com
Thu Aug 28 12:58:25 EDT 2008


Hi guys,
I'm porting Click to FreeBSD 7, and I'm stuck here:

Warning: Object directory not changed from original /usr/home/knl/work/ 
mx-dfly/core/module
g++  -fpermissive -fno-exceptions -fno-rtti -DCLICK_BSDMODULE - 
DBSD_NETISRSCHED -DMODELNET -DHAVE_CONFIG_H -DHAVE_INT64_IS_LONG - 
I../../click/include -I. -I../../click -I@ -Werror -c elements.cc
In file included from elements.cc:102:
../../click/elements/ethernet/arpfaker.hh:58: error: field '_eth1' has  
incomplete type
../../click/elements/ethernet/arpfaker.hh:60: error: field '_eth2' has  
incomplete type
In file included from elements.cc:118:
../../click/elements/bsdmodule/fromdevice.hh:73: error: invalid use of  
incomplete type 'struct Click::Storage'
../../click/elements/aqm/red.hh:7: error: forward declaration of  
'struct Click::Storage'
In file included from elements.cc:147:
../../click/elements/ethernet/arpresponder.hh:84: error: field 'ena'  
has incomplete type
elements.cc:542: error: expected `}' at end of input
*** Error code 1

This implies that EtherAddress is nowhere to be found, althought  
the .h file is there, protected with:
CLICK_DECLS...

Any hints?

Cheers,
Nikola


More information about the click mailing list