bug-inetutils
[Top][All Lists]
Advanced

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

[bug-inetutils] FW: inetutils-1.5 build feedback


From: Alain Magloire
Subject: [bug-inetutils] FW: inetutils-1.5 build feedback
Date: Wed, 25 Oct 2006 11:52:42 -0400


-----Original Message-----
From: Nelson H. F. Beebe [mailto:address@hidden 
Sent: Wednesday, October 25, 2006 11:48 AM
To: address@hidden
Cc: address@hidden
Subject: inetutils-1.5 build feedback

Builds of inetutils-1.5 succeeded and passed their validation tests on
our local GNU/Linux systems on Alpha, AMD64, IA-32, IA-64, MIPS,
PowerPC, and SPARC CPU architectures.

However, builds on ALL other Unix operating systems failed completely.
Here is a summary of the failures (complete build logs are available
to inetutils developers on personal request to me):

========================================================================
Machinetype:            SGI Origin/200-4 (180 MHz) (4 R10000 CPUs); IRIX 6.5
Configure environment:  CC=c89 CXX=CC CFLAGS=-I/usr/local/include
CXXFLAGS=-I/usr/local/include LDFLAGS=-Wl,-rpath,/usr/local/libn32

        c89 -DHAVE_CONFIG_H -I. -I. -I.. -I../headers -I../lib -I../lib
-I/usr/local/include -c setsig.c
cc-1020 c89: ERROR File = setsig.c, Line = 33
  The identifier "sig_t" is undefined.

  sig_t
  ^

========================================================================
Machinetype:            SGI Origin/200-4 (180 MHz) (4 R10000 CPUs); IRIX 6.5
Configure environment:  CC=gcc CFLAGS=-I/usr/local/include CXX=g++
CXXFLAGS=-I/usr/local/include LDFLAGS=-Wl,-rpath,/usr/local/libn32

if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../headers -I../lib -I../lib
-I/usr/local/include -MT setsig.o -MD -MP -MF ".deps/setsig.Tpo" -c -o
setsig.o setsig.c; \
        then mv -f ".deps/setsig.Tpo" ".deps/setsig.Po"; else rm -f
".deps/setsig.Tpo"; exit 1; fi
setsig.c:34: error: parse error before "setsig"
setsig.c:34: error: parse error before "sig_t"
setsig.c: In function `setsig':
setsig.c:42: error: `handler' undeclared (first use in this function)
setsig.c:42: error: (Each undeclared identifier is reported only once
setsig.c:42: error: for each function it appears in.)
setsig.c:43: error: `sig' undeclared (first use in this function)
setsig.c:44: warning: return makes integer from pointer without a cast

========================================================================
Machinetype:            Sun W40z (4 CPUs, 2400 MHz AMD64 Opteron, 8GB RAM);
FreeBSD 5.0-RELEASE #0
Configure environment:  CC=gcc CFLAGS=-I/usr/local/include CXX=g++
LDFLAGS=-Wl,-rpath,/usr/local/lib

if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib -I../libinetutils
-D_THREAD_SAFE  -I/usr/local/include -MT io.o -MD -MP -MF ".deps/io.Tpo" -c
-o io.o io.c; \
        then mv -f ".deps/io.Tpo" ".deps/io.Po"; else rm -f ".deps/io.Tpo";
exit 1; fi
io.c:132: error: conflicting types for 'sys_nerr'
/usr/local/lib/gcc/i386-unknown-freebsd5.0/3.4.3/include/stdio.h:358: error:
previous declaration of 'sys_nerr' was here

========================================================================
Machinetype:            Sun W40z (4 CPUs, 2400 MHz AMD64 Opteron, 8GB RAM);
FreeBSD 6.1-RELEASE #0
Configure environment:  CC=/usr/bin/cc CFLAGS=-I/usr/local/include
CXX=/usr/bin/g++ LDFLAGS=-Wl,-rpath,/usr/local/lib

if /usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib
-I../libinetutils   -D_THREAD_SAFE  -I/usr/local/include -MT io.o -MD -MP
-MF ".deps/io.Tpo" -c -o io.o io.c; \
        then mv -f ".deps/io.Tpo" ".deps/io.Po"; else rm -f ".deps/io.Tpo";
exit 1; fi
io.c:132: error: conflicting types for 'sys_nerr'
/usr/include/stdio.h:343: error: previous declaration of 'sys_nerr' was here

========================================================================
Machinetype:            Apple Power Mac G4 (2 1420 MHz PowerPC G4 (3.3)
CPUs, 2GB RAM); Darwin 7.9.0 (Mac OS X Server 10.3.9 (7W98))
Configure environment:  CC=gcc CXX=g++   LIBS=-lcc_dynamic

gcc  -g -O2   -o telnetd  telnetd.o pty.o term.o utility.o state.o
termstat.o slc.o -L../libinetutils -linetutils -L../libtelnet -ltelnet
-L../lib -lgnu -lcurses     -lresolv -lcc_dynamic
/usr/bin/ld: warning table of contents of library:
../libinetutils/libinetutils.a not sorted slower link editing will result
(use the ranlib(1) -s option)
/usr/bin/ld: Undefined symbols:
_endutent
_pututline
_getutline

========================================================================
Machinetype:            DEC Alpha 4100-5/466 (4 21164 EV5 CPUs, 466 MHz, 2GB
RAM);          OSF/1 4.0F
Configure environment:  CC=cc CFLAGS="-ieee -I/usr/local/include" CXX=cxx
CXXFLAGS="-ieee -I/usr/local/include" LDFLAGS="-Wl,-rpath,/usr/local/lib
-Wl,-oldstyle_liblookup -L/usr/local/lib" LIBS="-lsnprintf" FC=f77 F77=f77

        cc -std -DHAVE_CONFIG_H -I. -I. -I.. -I../headers -I../lib -I../lib
-DPATH_WTMPX=\"/usr/local/var/log/wtmpx\"       -ieee -I/usr/local/include
-c utmp_init.c
cc: Error: utmp_init.c, line 72: In this statement, "ut_tv" is not a member
of "utx". (needmember)
    gettimeofday(&(utx.ut_tv), 0);
-------------------^

The same error happened in a build with gcc.

========================================================================
Machinetype:            Sun W40z (4 CPUs, 2400 MHz AMD64 Opteron, 8GB RAM);
NetBSD 1.6 (GENERIC)
Configure environment:  CC=gcc CXX=g++ LDFLAGS=-Wl,-rpath,/usr/local/lib

if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../headers -I../lib -I../lib        -g
-O2 -MT utmp_init.o -MD -MP -MF ".deps/utmp_init.Tpo" -c -o utmp_init.o
utmp_init.c; \
then mv -f ".deps/utmp_init.Tpo" ".deps/utmp_init.Po"; else rm -f
".deps/utmp_init.Tpo"; exit 1; fi
utmp_init.c: In function `utmp_init':
utmp_init.c:60: error: structure has no member named `ut_user'
utmp_init.c:60: error: structure has no member named `ut_user'
utmp_init.c:72: error: structure has no member named `ut_tv'
make[2]: *** [utmp_init.o] Error 1

========================================================================
Machinetype:            Sun Sun Fire V240 (2 UltraSPARC-IIIi CPUs, 1280 MHz,
8GB RAM);  Solaris 9
Configure environment:  CC=cc CFLAGS="-xO5 -dalign -xlibmil -xcg92
-xsafe=mem -I/usr/local/include" CXX=CC CXXFLAGS="-xO5 -dalign -xlibmil
-xcg92 -xsafe=mem -I/usr/local/include" LDFLAGS="-R/usr/local/lib
-L/usr/local/lib"

        cc -DHAVE_CONFIG_H -I. -I. -I.. -I../headers -I../lib -I../lib
-DPATH_TTY_PFX=\"/dev/\" -DPATH_DEVNULL=\"/dev/null\"   -D_REENTRANT  -xO5
-dalign -xlibmil -xcg92 -xsafe=mem -I/usr/local/include -c localhost.c
"/usr/include/sys/socket.h", line 52: invalid type combination
"/usr/include/sys/socket.h", line 52: warning: useless declaration
"/usr/include/sys/socket.h", line 52: warning: typedef declares no type name
"/usr/include/sys/socket.h", line 61: invalid type combination
"/usr/include/sys/socket.h", line 61: warning: useless declaration
"/usr/include/sys/socket.h", line 61: warning: typedef declares no type name

========================================================================
Machinetype:            Sun Sun Fire V240 (2 UltraSPARC-IIIi CPUs, 1280 MHz,
8GB RAM);  Solaris 9
Configure environment:  CC=gcc CFLAGS=-I/usr/local/include CXX=g++
CXXFLAGS=-I/usr/local/include LDFLAGS="-R/usr/local/lib -L/usr/local/lib"

if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../headers -I../lib -I../lib
-DPATH_TTY_PFX=\"/dev/\" -DPATH_DEVNULL=\"/dev/null\"   -D_REENTRANT
-I/usr/local/include -MT setsig.o -MD -MP -MF ".deps/setsig.Tpo" -c -o
setsig.o setsig.c; \
        then mv -f ".deps/setsig.Tpo" ".deps/setsig.Po"; else rm -f
".deps/setsig.Tpo"; exit 1; fi
setsig.c:34: error: parse error before "setsig"
setsig.c:34: error: parse error before "sig_t"
setsig.c: In function `setsig':
setsig.c:42: error: `handler' undeclared (first use in this function)
setsig.c:42: error: (Each undeclared identifier is reported only once
setsig.c:42: error: for each function it appears in.)
setsig.c:43: error: `sig' undeclared (first use in this function)

========================================================================
Machinetype:            Sun Ultra Enterprise 450/400 (4 UltraSPARC-II CPUs,
400 MHz);  Solaris 7
Configure environment:  CC=cc CFLAGS=-I/usr/local/include CXX=CC
CXXFLAGS=-I/usr/local/include LDFLAGS="-R/usr/local/lib -L/usr/local/lib"

Same errors as for cc on Solaris 9.
========================================================================

Machinetype:            Sun W40z (4 CPUs, 2400 MHz AMD64 Opteron, 8GB RAM);
OpenBSD 3.9 GENERIC#617 i386
Configure environment:  CC=/usr/bin/cc CXX=/usr/bin/c++
CFLAGS=-I/usr/local/include LDFLAGS="-L/usr/local/lib
-Wl,-rpath,/usr/local/lib"

/usr/bin/cc  -I/usr/local/include  -L/usr/local/lib
-Wl,-rpath,/usr/local/lib -o telnetd  telnetd.o pty.o term.o utility.o
state.o termstat.o slc.o -L../libinetutils -linetutils -L../libtelnet
-ltelnet -L../lib -lgnu -lcurses -lutil
telnetd.o(.text+0xfb2): In function `print_hostinfo':
: warning: sprintf() is often misused, please use snprintf()
../libinetutils/libinetutils.a(argcv.o)(.text+0x435): In function
`argcv_string':
: warning: strcat() is almost always misused, please use strlcat()
../libinetutils/libinetutils.a(utmp_init.o)(.text+0x9e): In function
`utmp_init':
: undefined reference to `pututline'
../libinetutils/libinetutils.a(utmp_init.o)(.text+0xc3): In function
`utmp_init':
: undefined reference to `endutent'
../libinetutils/libinetutils.a(utmp_logout.o)(.text+0x3f): In function
`utmp_logout':
: undefined reference to `getutline'
../libinetutils/libinetutils.a(utmp_logout.o)(.text+0x77): In function
`utmp_logout':
: undefined reference to `pututline'
../libinetutils/libinetutils.a(utmp_logout.o)(.text+0x9a): In function
`utmp_logout':
: undefined reference to `endutent'
collect2: ld returned 1 exit status

The same errors happened in a build with egcc.

========================================================================
Machinetype:            Intel Pentium 4 (1800 MHz); Solaris 10 x86
Configure environment:  CC=/opt/SUNWspro/bin/c99
CFLAGS="-I/usr/local/include" CXX=/opt/SUNWspro/bin/CC
CXXFLAGS="-I/usr/local/include" LDFLAGS="-R/usr/local/lib -L/usr/local/lib"

        /opt/SUNWspro/bin/c99 -DHAVE_CONFIG_H -I. -I. -I.. -I../headers
-I../lib -I../lib  -DPATH_TTY_PFX=\"/dev/\" -DPATH_DEVNULL=\"/dev/null\"
-D_REENTRANT  -I/usr/local/include -c localhost.c
"/usr/include/sys/socket_impl.h", line 44: invalid type combination
"/usr/include/sys/socket_impl.h", line 44: warning: useless declaration
"/usr/include/sys/socket_impl.h", line 44: warning: typedef declares no type
name
"/usr/include/netinet/in.h", line 54: invalid type combination
"/usr/include/netinet/in.h", line 54: warning: useless declaration
"/usr/include/netinet/in.h", line 54: warning: typedef declares no type name

========================================================================
Machinetype:            Intel Pentium 4 (1800 MHz); Solaris 10 x86
Configure environment:  CC=gcc CFLAGS=-I/usr/local/include CXX=g++
CXXFLAGS=-I/usr/local/include LDFLAGS="-R/usr/local/lib -L/usr/local/lib"

if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../headers -I../lib -I../lib
-DPATH_TTY_PFX=\"/dev/\" -DPATH_DEVNULL=\"/dev/null\"   -D_REENTRANT
-I/usr/local/include -MT setsig.o -MD -MP -MF ".deps/setsig.Tpo" -c -o
setsig.o setsig.c; \
        then mv -f ".deps/setsig.Tpo" ".deps/setsig.Po"; else rm -f
".deps/setsig.Tpo"; exit 1; fi
setsig.c:34: error: parse error before "setsig"
setsig.c:34: error: parse error before "sig_t"
setsig.c: In function `setsig':
setsig.c:42: error: `handler' undeclared (first use in this function)
setsig.c:42: error: (Each undeclared identifier is reported only once
setsig.c:42: error: for each function it appears in.)
setsig.c:43: error: `sig' undeclared (first use in this function)

The same errors happened with two other versions of gcc.

========================================================================
Machinetype:            Sun Ultra Enterprise 2900 (4 CPUs, 1050 MHz
UltraSPARC-IV, 16GB); Solaris 10
Configure environment:  CC=/opt/SUNWspro/bin/c99
CFLAGS="-I/usr/local/include" CXX=/opt/SUNWspro/bin/CC
CXXFLAGS="-I/usr/local/include" LDFLAGS="-R/usr/local/lib -L/usr/local/lib"

        /opt/SUNWspro/bin/c99 -DHAVE_CONFIG_H -I. -I. -I.. -I../headers
-I../lib -I../lib  -DPATH_TTY_PFX=\"/dev/\" -DPATH_DEVNULL=\"/dev/null\"
-D_REENTRANT  -I/usr/local/include -c localhost.c
"/usr/include/sys/socket_impl.h", line 44: invalid type combination
"/usr/include/sys/socket_impl.h", line 44: warning: useless declaration
"/usr/include/sys/socket_impl.h", line 44: warning: typedef declares no type
name
"/usr/include/netinet/in.h", line 54: invalid type combination

========================================================================
Machinetype:            Sun Ultra Enterprise 2900 (4 CPUs, 1050 MHz
UltraSPARC-IV, 16GB); Solaris 10
Configure environment:  CC=/usr/local/test/bin/gcc
CFLAGS=-I/usr/local/include CXX=/usr/local/test/bin/g++
CXXFLAGS=-I/usr/local/include LDFLAGS="-R/usr/local/lib -L/usr/local/lib"

if /usr/local/test/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../headers
-I../lib -I../lib  -DPATH_TTY_PFX=\"/dev/\" -DPATH_DEVNULL=\"/dev/null\"
-D_REENTRANT  -I/usr/local/include -MT localhost.o -MD -MP -MF
".deps/localhost.Tpo" -c -o localhost.o localhost.c; \
        then mv -f ".deps/localhost.Tpo" ".deps/localhost.Po"; else rm -f
".deps/localhost.Tpo"; exit 1; fi
In file included from /usr/include/sys/socket.h:40,
                 from localhost.c:36:
/usr/include/sys/socket_impl.h:44: error: duplicate 'unsigned'
/usr/include/sys/socket_impl.h:44: error: two or more data types in
declaration specifiers
In file included from /usr/include/sys/socket.h:45,
                 from localhost.c:36:
/usr/include/netinet/in.h:54: error: two or more data types in declaration
specifiers

========================================================================
Machinetype:            Sun Ultra Enterprise 2900 (4 CPUs, 1050 MHz
UltraSPARC-IV, 16GB); Solaris 10
Configure environment:  CC=gcc CFLAGS=-I/usr/local/include CXX=g++
CXXFLAGS=-I/usr/local/include LDFLAGS="-R/usr/local/lib -L/usr/local/lib"

if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../headers -I../lib -I../lib
-DPATH_TTY_PFX=\"/dev/\" -DPATH_DEVNULL=\"/dev/null\"   -D_REENTRANT
-I/usr/local/include -MT setsig.o -MD -MP -MF ".deps/setsig.Tpo" -c -o
setsig.o setsig.c; \
        then mv -f ".deps/setsig.Tpo" ".deps/setsig.Po"; else rm -f
".deps/setsig.Tpo"; exit 1; fi
setsig.c:34: error: syntax error before "setsig"
setsig.c:34: error: syntax error before "sig_t"
setsig.c: In function `setsig':
setsig.c:42: error: `handler' undeclared (first use in this function)
setsig.c:42: error: (Each undeclared identifier is reported only once
setsig.c:42: error: for each function it appears in.)
setsig.c:43: error: `sig' undeclared (first use in this function)

========================================================================
Machinetype:            Sun Ultra Enterprise 5500 (4 CPUs, 400 MHz
UltraSPARC-II); Solaris 8
Configure environment:  CC=cc CFLAGS=-I/usr/local/include CXX=CC
CXXFLAGS=-I/usr/local/include LDFLAGS="-R/usr/local/lib -L/usr/local/lib"

        cc -DHAVE_CONFIG_H -I. -I. -I.. -I../headers -I../lib -I../lib
-DPATH_TTY_PFX=\"/dev/\" -DPATH_DEVNULL=\"/dev/null\"   -D_REENTRANT
-I/usr/local/include -c localhost.c
"/usr/include/sys/socket.h", line 52: invalid type combination
"/usr/include/sys/socket.h", line 52: warning: useless declaration
"/usr/include/sys/socket.h", line 52: warning: typedef declares no type name
"/usr/include/sys/socket.h", line 61: invalid type combination

========================================================================
Machinetype:            Apple MacPro (2 dual-core 3000 MHz Xeon CPUs, 4GB
RAM); Darwin 8.7.3 (Mac OS X 10.4.8 (8L2127))
Configure environment:  [no variables set]

gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../intl   -g -O2 -c poll.c
In file included from poll.c:30:
/usr/include/sys/socket.h:94: error: two or more data types in declaration
specifiers
/usr/include/sys/socket.h:94: error: two or more data types in declaration
specifiers
/usr/include/sys/socket.h:99: error: two or more data types in declaration
specifiers

----------------------------------------------------------------------------
---
- Nelson H. F. Beebe                    Tel: +1 801 581 5254
-
- University of Utah                    FAX: +1 801 581 4148
-
- Department of Mathematics, 110 LCB    Internet e-mail: address@hidden
-
- 155 S 1400 E RM 233                       address@hidden
address@hidden -
- Salt Lake City, UT 84112-0090, USA    URL:
http://www.math.utah.edu/~beebe/ -
----------------------------------------------------------------------------
---






reply via email to

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