bug-inetutils
[Top][All Lists]
Advanced

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

[bug-inetutils] Cannot compile inetutils-1.4.2 on Solaris 2.8 machine


From: Reish, Dan A
Subject: [bug-inetutils] Cannot compile inetutils-1.4.2 on Solaris 2.8 machine
Date: Wed, 28 Jan 2004 16:05:01 -0500

inetutils-1.4.2 doesn't compile on our machine running SunOS 5.8
Generic_108528-21 sun4u sparc SUNW,Sun-Fire-880 Solaris.

I've tried with gcc and with cc, and neither works.  In either case, the
compilation dies looking for an "error.h", which doesn't exist anywhere on
the system.  It appears to be a glibc thing, and we don't have glibc
installed on this machine.

The exact errors were:

With gcc:

if gcc -DHAVE_CONFIG_H -I. -I. -I..  -DPATH_TTY_PFX=\"/dev/\"
-DPATH_DEVNULL=\"/dev/null\"  -I../include    -g -O2 -MT xmalloc.o -MD -MP
-MF ".deps/xmalloc.Tpo" \
  -c -o xmalloc.o `test -f 'xmalloc.c' || echo './'`xmalloc.c; \
then mv ".deps/xmalloc.Tpo" ".deps/xmalloc.Po"; \
else rm -f ".deps/xmalloc.Tpo"; exit 1; \
fi
xmalloc.c:37:19: error.h: No such file or directory
make[2]: *** [xmalloc.o] Error 1
make[2]: Leaving directory
`/home1/nb-quant/users/dreish/src/inetutils-1.4.2/libinetutils'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home1/nb-quant/users/dreish/src/inetutils-1.4.2'
make: *** [all] Error 2

With cc:

cc -DHAVE_CONFIG_H -I. -I. -I..  -DPATH_TTY_PFX=\"/dev/\"
-DPATH_DEVNULL=\"/dev/null\"  -I../include    -g -c `test -f 'xmalloc.c' ||
echo './'`xmalloc.c
"xmalloc.c", line 37: cannot find include file: "error.h"
"xmalloc.c", line 70: warning: implicit function declaration: error
cc: acomp failed for xmalloc.c
make[2]: *** [xmalloc.o] Error 2
make[2]: Leaving directory
`/home1/nb-quant/users/dreish/src/inetutils-1.4.2/libinetutils'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home1/nb-quant/users/dreish/src/inetutils-1.4.2'
make: *** [all] Error 2

(There were also lots of warnings with cc before this point, such as
"ttymsg.c", line 135: warning: a cast does not yield an lvalue; and
"logwtmp.c", line 115: warning: implicit function declaration: bzero.  These
warnings didn't show up with gcc, though.)

There was also an apparently-unrelated bug in the autoconf for inetutils
which I reported to address@hidden  (Subject: Bug configuring
inetutils-1.4.2)




reply via email to

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