bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#7643: Build failure for SGI IRIX MIPS


From: Chong Yidong
Subject: 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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]