GNU bug report logs -
#7643
Build failure for SGI IRIX MIPS
Previous Next
Reported by: beebe <at> math.utah.edu
Date: Wed, 15 Dec 2010 01:36:01 UTC
Severity: important
Tags: moreinfo
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Mon, 10 Oct 2011 13:54:30 -0400
with message-id <03sjn0vijt.fsf <at> fencepost.gnu.org>
and subject line Re: bug#7643: Build failure for SGI IRIX MIPS
has caused the debbugs.gnu.org bug report #7643,
regarding Build failure for SGI IRIX MIPS
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
7643: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7643
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Nelson H. F. Beebe reports a build failure of the 23.2.92 pretest on SGI
IRIX MIPS.
The last Emacs version to build ok was 21.3 in January 2004, so this
appears to be a long-standing bug.
> On IRIX, compilation fails in src/process.c like this:
>
> cc-1367 c89: ERROR File = process.c, Line = 2431
> A pointer to an incomplete class type is not allowed.
>
> uint16_t *ip6 = (uint16_t *) &sin6->sin6_addr;
> ^
>
> cc-1367 c89: ERROR File = process.c, Line = 2432
> A pointer to an incomplete class type is not allowed.
>
> len = sizeof (sin6->sin6_addr)/2 + 1;
> ^
>
> cc-1367 c89: ERROR File = process.c, Line = 2435
> A pointer to an incomplete class type is not allowed.
>
> p->contents[--len] = make_number (ntohs (sin6->sin6_port));
> ^
>
> cc-1070 c89: ERROR File = process.c, Line = 2489
> The indicated type is incomplete.
>
> return sizeof (struct sockaddr_in6);
> ^
>
> cc-1367 c89: ERROR File = process.c, Line = 2546
> A pointer to an incomplete class type is not allowed.
>
> uint16_t *ip6 = (uint16_t *)&sin6->sin6_addr;
> ^
>
> cc-1367 c89: ERROR File = process.c, Line = 2547
> A pointer to an incomplete class type is not allowed.
>
> len = sizeof (sin6->sin6_addr) + 1;
> ^
>
> cc-1367 c89: ERROR File = process.c, Line = 2549
> A pointer to an incomplete class type is not allowed.
>
> sin6->sin6_port = htons (i);
> ^
>
> cc-1070 c89: ERROR File = process.c, Line = 4388
> The indicated type is incomplete.
>
> struct sockaddr_in6 in6;
> ^
>
> 8 errors detected in the compilation of "process.c".
[Message part 3 (message/rfc822, inline)]
I am afraid that without more input from you or someone else using IRIX
who can reproduce this, nothing can be done.
At a guess, maybe you need to compile with -DINET6, in which case a
patch like the following might fix it. But I don't see the point in
installing this without any testing.
If you can reply with the contents of netinet/in.h on your system, that
might help, and we can reopen this if needed.
*** src/process.c 2011-09-09 01:06:52 +0000
--- src/process.c 2011-10-07 21:42:30 +0000
***************
*** 39,44 ****
--- 39,51 ----
#include <sys/socket.h>
#include <netdb.h>
+
+ /* Some (which?) IRIX 6.5 hide IPv6 stuff in in.h behind #ifdef INET6.
+ See bug#7643. */
+ #if defined(AF_INET6) && defined(IRIX6_5)
+ #define INET6
+ #endif
+
#include <netinet/in.h>
#include <arpa/inet.h>
This bug report was last modified 12 years and 352 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.