[Click] Porting problem...
Eddie Kohler
kohler at cs.ucla.edu
Thu Aug 28 16:46:04 EDT 2008
Very odd. I wonder what this is (from your compile line):
-I@
That doesn't look right at all. (It looks like freebsd_includedir is not being
expanded?) I'm also quite surprised that -DHAVE_INT64_IS_LONG is in there.
In general, I wouldn't be surprised if the bsdmodule Makefile has rotted.
Perhaps you should use -E with that compile line, or "cd bsdmodule; make
arpfaker.ii", to make sure that all #includes are being #included.
Eddie
Nikola Knežević wrote:
> 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
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
More information about the click
mailing list