Testing for the 4.4p1 release

Iain Morgan imorgan at nas.nasa.gov
Thu Aug 31 09:05:12 EST 2006


Sometime ago, Damien Miller wrote:
[...]
> Testing on suitable non-production systems is also appreciated. Please send
> reports of success or failure to openssh-unix-dev at mindrot.org, including 
> details of your platform, compiler and configure options.
> 

The 20060830 snapshot configures, but fails to build on IRIX 6.5.29
usign the MIPSpro 7.4 compilers.


export CC=c99
export CFLAGS="-g -O3 -mips3 -r14000"

PREFIX=/usr/prg/pkg/openssh/4.4p1
OPENSSL=$HOME/build
ZLIB=$HOME/build

./configure --prefix=$PREFIX \
        --sysconfdir=/usr/prg/etc \
        --with-ssl-dir=$OPENSSL \
        --with-zlib=$ZLIB \
        --with-tcp-wrappers=/usr/local \
        --with-md5-passwords \
        --with-pam

There are numberous warnings, but here's the part that causes the
compile to fail:

        c99 -g -O3 -mips3 -r14000  -I. -I.. -I. -I./.. -I/u/imorgan/build/include -I/usr/local/include -I/u/imorgan/build/include  -DHAVE_CONFIG_H -c port-irix.c
cc-1047 c99: WARNING File = /usr/include/sys/socket.h, Line = 645
  Macro "CMSG_DATA" (declared at line 476 of "../defines.h") has an incompatible
          redefinition.

  #define       CMSG_DATA(cmsg)         ((uchar_t *)((cmsg) + 1))
                ^

cc-1047 c99: WARNING File = /usr/include/sys/socket.h, Line = 654
  Macro "CMSG_FIRSTHDR" (declared at line 484 of "../defines.h") has an
          incompatible redefinition.

  #define       CMSG_FIRSTHDR(mhdr)     ((struct cmsghdr *)(mhdr)->msg_control)
                ^

cc-1047 c99: WARNING File = /usr/include/sys/socket.h, Line = 656
  Macro "CMSG_SPACE" (declared at line 471 of "../defines.h") has an
          incompatible redefinition.

  #define CMSG_SPACE(length)    _ALIGN(sizeof(struct cmsghdr) + (length))
          ^

cc-1047 c99: WARNING File = /usr/include/sys/socket.h, Line = 658
  Macro "CMSG_LEN" (declared at line 466 of "../defines.h") has an incompatible
          redefinition.

  #define CMSG_LEN(length)      (sizeof(struct cmsghdr) + length)       
          ^

cc-1047 c99: WARNING File = /usr/include/sys/endian.h, Line = 46
  Macro "LITTLE_ENDIAN" (declared at line 498 of "../defines.h") has an
          incompatible redefinition.

  #define       LITTLE_ENDIAN   _LITTLE_ENDIAN
                ^

cc-1047 c99: WARNING File = /usr/include/sys/endian.h, Line = 47
  Macro "BIG_ENDIAN" (declared at line 501 of "../defines.h") has an
          incompatible redefinition.

  #define       BIG_ENDIAN      _BIG_ENDIAN
                ^

cc-1047 c99: WARNING File = /usr/include/sys/endian.h, Line = 52
  Macro "BYTE_ORDER" (declared at line 504 of "../defines.h") has an
          incompatible redefinition.

  #define BYTE_ORDER    _BYTE_ORDER
          ^

cc-1047 c99: WARNING File = /usr/include/netinet/in.h, Line = 228
  Macro "INADDR_LOOPBACK" (declared at line 143 of "../defines.h") has an
          incompatible redefinition.

  #define       INADDR_LOOPBACK         (__uint32_t)0x7F000001
                ^

cc-1047 c99: WARNING File = /usr/include/netinet/in.h, Line = 633
  Macro "IN6_IS_ADDR_V4MAPPED" (declared at line 431 of "../defines.h") has an
          incompatible redefinition.

  #define IN6_IS_ADDR_V4MAPPED(p)               IS_IPV4ADDR6(*p)
          ^

cc-1196 c99: WARNING File = port-irix.c, Line = 60
  The indicated function is declared implicitly.

                  fatal("Failed to create job container: %.100s",
                  ^

cc-1020 c99: ERROR File = port-irix.c, Line = 61
  The identifier "errno" is undefined.

                      strerror(errno));
                               ^

cc-1196 c99: WARNING File = port-irix.c, Line = 66
  The indicated function is declared implicitly.

                  fatal("Failed to set up new array session: %.100s",
                  ^

cc-1020 c99: ERROR File = port-irix.c, Line = 67
  The identifier "errno" is undefined.

                      strerror(errno));
                               ^

cc-1196 c99: WARNING File = port-irix.c, Line = 72
  The indicated function is declared implicitly.

                  debug("Failed to get project id, using projid 0");
                  ^

cc-1196 c99: WARNING File = port-irix.c, Line = 76
  The indicated function is declared implicitly.

                  fatal("Failed to initialize project %d for %s: %.100s",
                  ^

cc-1020 c99: ERROR File = port-irix.c, Line = 77
  The identifier "errno" is undefined.

                      (int)projid, pw->pw_name, strerror(errno));
                                                         ^

cc-1196 c99: WARNING File = port-irix.c, Line = 81
  The indicated function is declared implicitly.

                  debug("Setting sat id to %d", (int) pw->pw_uid);
                  ^

cc-1020 c99: ERROR File = port-irix.c, Line = 83
  The identifier "errno" is undefined.

                          debug("error setting satid: %.100s", strerror(errno));
                                                                        ^

4 errors detected in the compilation of "port-irix.c".
*** Error code 2 (bu21)
*** Error code 1 (bu21)

--
Iain Morgan



More information about the openssh-unix-dev mailing list