Subject: Re: bug#17339: [bug-gnu-emacs] emacs-24.3.90: big build report

From: Glenn Morris <[email-masked]>
Date: Thu, 01 May 2014 18:14:52 -0400

"Nelson H. F. Beebe" wrote:

>     SGI IRIX 6.5 MIPS:
> 	/usr/local/bin/gcc -std=gnu99 -c -Demacs  -I. -I. -I../lib -I./../lib -g3 -O2  process.c
> 	process.c: In function `conv_sockaddr_to_lisp':
> 	process.c:2002: error: dereferencing pointer to incomplete type
> 	process.c:2003: error: dereferencing pointer to incomplete type
> 	process.c:2006: error: dereferencing pointer to incomplete type
> 	process.c: In function `get_lisp_to_sockaddr_size':
> 	process.c:2070: error: invalid application of `sizeof' to incomplete type `sockaddr_in6'
> 	process.c: In function `conv_lisp_to_sockaddr':
> 	process.c:2125: error: dereferencing pointer to incomplete type
> 	process.c:2126: error: dereferencing pointer to incomplete type
> 	process.c:2128: error: dereferencing pointer to incomplete type
> 	process.c: In function `server_accept_connection':
> 	process.c:4024: error: field `in6' has incomplete type

IIUC, this is a failure to define the "sockaddr_in6" structure.
This is odd, because it is allegedly

http://techpubs.sgi.com/library/tpl/cgi-bin/getdoc.cgi?coll=0650&db=bks&srch=&fname=/SGI_Developer/IRIX_NetPG/sgi_html/ch03.html

defined in netinet/in.h, which process.c includes.

Can you find which .h file defines it on that system?
Or send netinet/in.h?

This is not a big deal, because we have had persistent problems with
SGI IRIX (eg http://debbugs.gnu.org/9684), and have dropped support for
it in Emacs 24.5.

In fact I see this looks like the same issue as http://debbugs.gnu.org/7643,
which you reported but never followed up to
I suggested something to try in

http://debbugs.gnu.org/7643#24