IPv6 compilation error with NSClick

Wim Vandenberghe <[email protected]>
Newsgroups gmane.network.routing.click
Message-ID <[email protected]>
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: [email protected]
W : www.ibcn.intec.UGent.be
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.