Problems compiling on IRIX64

Björn Wingman bjowi@REDACTED
Fri Aug 4 17:11:57 CEST 2000


Compilation on irix 6.5 fails with:

gcc -c -o ../priv/obj/mips-sgi-irix6.5/setsockaddr_in.o -g -O2 -I/home/bjowi/otp_src_R6B-0/erts/autoconf/mips-sgi-irix6.5 -DHAVE_CONFIG_H   setsockaddr_in.c
setsockaddr_in.c: In function `setsockaddr_in':
setsockaddr_in.c:64: `IPPORT_USERRESERVED' undeclared (first use in this function)
setsockaddr_in.c:64: (Each undeclared identifier is reported only once
setsockaddr_in.c:64: for each function it appears in.)
make[4]: *** [../priv/obj/mips-sgi-irix6.5/setsockaddr_in.o] Error 1
make[4]: Leaving directory `/home/bjowi/otp_src_R6B-0/lib/orber/c_src'


Sniplet from netinet/in.h on irix 6.5:

   * Ports > 5000 used to be reserved for non-root servers,
   * but this convention can no longer be used with large scale
   * systems.

IPPORT_USERRESERVED is not defined. Instead, there is a

   #define IPPORT_MAXPORT		65535


   /Björn Wingman



More information about the erlang-questions mailing list