pchar for v6 - problem

Aljaz Tomaz RDSI aljaz@iskratel.si
Mon, 8 Nov 1999 07:18:34 +0100


Hi!

> -----Original Message-----
> From: bmah@CA.Sandia.GOV [mailto:bmah@CA.Sandia.GOV]
> Sent: Saturday, November 06, 1999 12:11 AM
> To: Aljaz Tomaz RDSI
> Cc: 6BONE List
> Subject: Re: pchar for v6 - problem 
> 
> 
> If memory serves me right, Aljaz Tomaz RDSI wrote:
> 
> > I have problem compiling pchar on Linux. I'm not a Linux 
> expert so can
> > anyone help me. Here is an error:
> > c++ -g -O2 -I. -DSIZEOF_BOOL=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1
> > -DHAVE_STRINGo
> > In file included from PctestIpv6Udp.h:40,
> >                  from main.cc:53:
> > PctestIpv6.h:77: field `targetAddress' has incomplete type
> > PctestIpv6.h:78: field `targetSocketAddress' has incomplete type
> > PctestIpv6.h:79: field `icmpDestSocketAddress' has incomplete type
> > PctestIpv6.h:80: field `icmpSourceSocketAddress' has incomplete type
> > main.cc: In function `int main(int, char **)':
> > main.cc:537: warning: implicit declaration of function `int 
> random(...)'
> > make: *** [main.o] Error 1
> 
> You need to give a little more information...like what 
> version of Linux 
> you're running and the options you gave to the configure script.
> 
I'm using kernel 2.2.1 with experminetal IPv6 support. Linux is my main
router to 6bone and provides stateles avtoconfiuration for IPv6 hosts, ...

./configure --with-ipv6


> It sounds like the compile process isn't finding the definition for a
> "struct sockaddr_in6".  Are you sure your kernel and libraries support
> IPv6?
> 
> Caveat:  I've never tested pchar for IPv6 under Linux.
> 
> Bruce.
> 
> 
> 
>