[quagga-dev 3514] Re: kernel_socket.c

Paul Jakma paul at clubi.ie
Tue Jun 14 22:35:01 BST 2005

On Sat, 11 Jun 2005, Andrea Gabellini wrote:

> Hi,
> I'm new to quagga but I used Zebra. I'm trying to install 0.98.3 on 
> Solaris 7 (Sparc) with gcc 3.4.3.
> I configured with ./configure --disable-ipv6 and I got this error:

--disable-ipv6 is broken, hence you won't be able to compile on 
Solaris 7 for this reason alone (and there may be other reasons). 
Solaris 7 is quite old at it stage..

> In file included from kernel_socket.c:22:
> ../lib/zebra.h:243:2: warning: #warning "CMSG_FIRSTHDR is broken on this 
> platform, using a workaround"
> ../lib/zebra.h:275:2: warning: #warning "assuming 4-byte alignment for 
> ../lib/zebra.h:281:2: warning: #warning "assuming 4-byte alignment for 
> kernel_socket.c: In function `kernel_read':
> kernel_socket.c:868: error: field `addr' has incomplete type
> kernel_socket.c:875: error: field `addr' has incomplete type
> kernel_socket.c:882: error: field `addr' has incomplete type
> make[2]: *** [kernel_socket.o] Error 1
> make[2]: Leaving directory `/export/temp/SERVER/quagga-0.98.3/zebra'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/export/temp/SERVER/quagga-0.98.3'
> make: *** [all] Error 2
> The same distribution compile fine on Solaris 9.

Solaris 8 is really the oldest Solaris release we support..

> Can you help me? Do you hany suggestion?

You can try adding HAVE_IPV6 defines in the right places.

> Thanks,
> Andrea

Paul Jakma	paul at clubi.ie	paul at jakma.org	Key ID: 64A2FF6A
Always remember that you are unique.  Just like everyone else.

More information about the Quagga-dev mailing list