[SunHELP] Compiling Error

Mike's List sunhelp at sunhelp.org
Mon Nov 12 11:02:39 CST 2001


I installed gcc and am getting the following errors.  Anyone knows what it
means?  Is it something specific to the system (Core Installation) not
installing these files/directories that needed by IP Filter to compile? or
something else that I need to install from sunfreeware.com? (installed
binutils along with gcc)


- Mike


# make solaris
if [ ! -f netinet/done ] ; then \
        (cd netinet; ln -s ../*.h .; ln -s ../ip_*_pxy.c .; ); \
        (cd netinet; ln -s ../ipsend/tcpip.h tcpip.h); \
        touch netinet/done; \
fi
CC="gcc -Wstrict-prototypes -Wmissing-prototypes" ./buildsunos
build 32 bit binaries.
(cd SunOS5/sparc-5.8; make build TOP=../.. "CC=gcc"
"BINDEST=/usr/local/bin" "SB
INDEST=/sbin" "MANDIR=/usr/local/man" 'CFLAGS=-I$(TOP)  -DSOLARIS2=8 '
"IPFLOG=
-DIPFILTER_LOG" "LOGFAC=-DLOGFAC=LOG_LOCAL0"
"POLICY=-DIPF_DEFAULT_PASS=FR_PASS"
  "SOLARIS2=-DSOLARIS2=8" "DEBUG=-g" "DCPU="  "CPUDIR=sparc-5.8"
'STATETOP_CFLAG
S=-DSTATETOP'  'STATETOP_INC=' 'STATETOP_LIB=-lcurses'  "BITS=32" "OBJ=."
"IPFLK
M=-DIPFILTER_LKM" "SOLARIS2=-DSOLARIS2=8" "CPU=-Dsparc -D__sparc__"; cd ..)
gcc -g -I../..  -DSOLARIS2=8 -c ../../ipf.c -o ipf.o
../../ipf.c:15: stdio.h: No such file or directory
../../ipf.c:16: unistd.h: No such file or directory
../../ipf.c:17: string.h: No such file or directory
../../ipf.c:18: fcntl.h: No such file or directory
../../ipf.c:19: errno.h: No such file or directory
../../ipf.c:23: sys/types.h: No such file or directory
../../ipf.c:24: sys/param.h: No such file or directory
../../ipf.c:25: sys/file.h: No such file or directory
../../ipf.c:26: stdlib.h: No such file or directory
../../ipf.c:28: sys/socket.h: No such file or directory
../../ipf.c:29: sys/ioctl.h: No such file or directory
../../ipf.c:30: netinet/in.h: No such file or directory
../../ipf.c:31: netinet/in_systm.h: No such file or directory
../../ipf.c:32: sys/time.h: No such file or directory
../../ipf.c:33: net/if.h: No such file or directory
../../ipf.c:37: netinet/ip.h: No such file or directory
../../ipf.c:38: netdb.h: No such file or directory
../../ipf.c:39: arpa/nameser.h: No such file or directory
../../ipf.c:40: resolv.h: No such file or directory
In file included from ../../ipf.c:41:
../../ip_compat.h:84: sys/isa_defs.h: No such file or directory
../../ip_compat.h:85: sys/ioccom.h: No such file or directory
../../ip_compat.h:86: sys/sysmacros.h: No such file or directory
../../ip_compat.h:87: sys/kmem.h: No such file or directory
../../ip_compat.h:100: netinet/ip6.h: No such file or directory
../../ip_compat.h:102: inet/common.h: No such file or directory
../../ip_compat.h:103: inet/ip.h: No such file or directory
../../ip_compat.h:104: inet/ip_ire.h: No such file or directory
../../ip_compat.h:115: inet/ip_if.h: No such file or directory
../../ip_compat.h:116: netinet/ip6.h: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `ipf.o'
Current working directory /tmp/ip_fil3.4.21/SunOS5/sparc-5.8
*** Error code 1
make: Fatal error: Command failed for target `sunos5'
Current working directory /tmp/ip_fil3.4.21
*** Error code 1
make: Fatal error: Command failed for target `solaris'





More information about the SunHELP mailing list