[SunHELP] Compiler

Mike's List sunhelp at sunhelp.org
Sun Nov 11 16:26:00 CST 2001


I'm attempting to install IP Filter on a machine with Core installation.
First of all, the Core installation does not install make, and don't think
any compiler comes with Core installation as well.

I've copied /usr/ccs/bin/make and /usr/share/lib/make directory from 
another sun4m machine onto the core installation machine but I'm not sure 
if this is the correct way to do it or how to get cc or crucila compiler
components onto the Core machine?

summary: I just wanted some sort of compiler (cc?) onto the Core install.
         machine to install a few utilities.   What's the best way to get
         make, cc, and other crucial compiler components from one machine
         onto another machine?  Thanks.

Regards,


- 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
./buildsunos: gcc: not found
build 32 bit binaries.
(cd SunOS5/sparc-5.8; make build TOP=../.. "CC=cc -Xa -xildoff"
"BINDEST=/usr/lo
cal/bin" "SBINDEST=/sbin" "MANDIR=/usr/local/man" 'CFLAGS=-I$(TOP)
-DSOLARIS2=8
 '  "IPFLOG=-DIPFILTER_LOG" "LOGFAC=-DLOGFAC=LOG_LOCAL0"
"POLICY=-DIPF_DEFAULT_P
ASS=FR_PASS"  "SOLARIS2=-DSOLARIS2=8" "DEBUG=-g" "DCPU="
"CPUDIR=sparc-5.8" 'ST
ATETOP_CFLAGS=-DSTATETOP'  'STATETOP_INC=' 'STATETOP_LIB=-lcurses'
"BITS=32" "O
BJ=." "IPFLKM=-DIPFILTER_LKM" "SOLARIS2=-DSOLARIS2=8" "CPU=-Dsparc
-D__sparc__";
 cd ..)
cc -Xa -xildoff -g -I../..  -DSOLARIS2=8 -c ../../ipf.c -o ipf.o
sh: cc: not found
*** 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