[Click] IPv6 compilation error with NSClick
Wim Vandenberghe
wim.vandenberghe at intec.ugent.be
Mon Jan 16 05:24:46 EST 2012
Hi everyone,
i have difficulties compiling the latest click git sources with IPv6
support. When i perform configure with the options --enable-nsclick
--enable-ip6, the compilation halts at the file ipaddress.cc. The given
error is:
In file included from ../include/click/standard/addressinfo.hh:7,
from ../lib/ipaddress.cc:27:
../include/click/ip6address.hh:115: error: field ‘_addr’ has incomplete type
I've been looking at the code, and do not understand why the compiler
gives this error. _addr is defined in line 115 as a click_in6_addr. This
specific struct is defined in the file ip6.h, which is included in the
beginning of the ip6address.hh file. So i would expect everything to
compile fine. In fact, when i configure with --enable-userlevel instead
of --enable-nsclick, it indeed compiles without errors.
Any suggestions to solve this problem would be highly appreciated.
Best regards,
Wim
--
Wim Vandenberghe
Department of Information Technology
Internet Based Communication Networks and Services (IBCN)
Ghent University - IBBT
Gaston Crommenlaan 8 (Bus 201), B-9050 Gent, Belgium
T: +32 9 33 14946 ; T Secr: +32 9 33 14900
F: +32 9 33 14899
E: wim.vandenberghe at intec.UGent.be
W : www.ibcn.intec.UGent.be
More information about the click
mailing list