GNU bug report logs - #7643
Build failure for SGI IRIX MIPS

Previous Next

Package: emacs;

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


Message #8 received at 7643 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: "Nelson H. F. Beebe" <beebe <at> math.utah.edu>
Cc: 7643 <at> debbugs.gnu.org
Subject: Re: bug#7643: Build failure for SGI IRIX MIPS
Date: Sat, 08 Jan 2011 15:43:06 -0500
> 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 = 2435
>   A pointer to an incomplete class type is not allowed.
>
>         p->contents[--len] = make_number (ntohs (sin6->sin6_port));

This is a bit of a long shot, but could you check if this maching has
uint16_t defined?

Also, what is the definition of sockaddr_in6 in netinet/in.h and the
definition of ntohs in arpa/inet.h?  On GNU/Linux, they are

struct sockaddr_in6
  {
    __SOCKADDR_COMMON (sin6_);
    in_port_t sin6_port;	/* Transport layer port # */
    uint32_t sin6_flowinfo;	/* IPv6 flow information */
    struct in6_addr sin6_addr;	/* IPv6 address */
    uint32_t sin6_scope_id;	/* IPv6 scope-id */
  };

uint16_t ntohs(uint16_t netshort);

but maybe they are defined differently in IRIX.




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.