Yeah, ran into this too.....


I built pfil using gcc 3.4.2 on solaris 8 by specifying CC=gcc in the Makefile. BTW, this is a very common problem if yyou do not have the Sun bundled compiler (cc).


Dear List,

I am having a problem making the pfil package on Solaris 8. Here is my PATH and the debug output of the make command within the /usr/src/pfil directory.

Would appreciate any help!

Greg

# env
AGENTWORKS_DIR=/opt/tng
EDITOR=vi
HOME=/
HZ=100
LC_COLLATE=en_US.ISO8859-1
LC_CTYPE=en_US.ISO8859-1
LC_MESSAGES=C
LC_MONETARY=en_US.ISO8859-1
LC_NUMERIC=en_US.ISO8859-1
LC_TIME=en_US.ISO8859-1
LOGNAME=root
MAIL=/var/mail/root
MANPATH=/usr/share/man:/opt/local/man:/usr/local/man:/usr/soe/man
PATH=/usr/bin:/usr/sbin:/opt/local/bin:/usr/local/bin:/usr/soe/bin/SunOS_5.8:/usr/soe/bin:/usr/soe/tng/bin:/opt/tng/services/bin:/opt/tng/services/tools:/opt/tng/agents/bin:/usr/ccs/bin:/usr/ucb
SHELL=/sbin/sh
SOE=/usr/soe
TERM=vt100
TMOUT=5400
TZ=US/Pacific
UMT_BIN=/usr/soe/tng/bin
UMT_DIR=/usr/soe/tng
#


# cd /usr/src/pfil
# ls
compat.h         Makefile.gcc     pfil.h           S25fw1boot.diff
copyright        misc.c           pfilstream.c     sum.c
HP-UX            ndd.c            qif.h            SunOS
Makefile         pfil.c           README
# make package
i=`uname -s`; case $i in HP-UX) make hpux;; *) make $i;; esac
/bin/cp Makefile SunOS
make SunOS`optisa sparcv9 >/dev/null 2>&1; if [ $? -eq 0 ] ; then echo "64"; else echo "32"; fi` (cd SunOS; make pfil "BITS=32" OS=solaris DO=pfil "ADEF=-I.. -I. -D_KERNEL -DSUNDDI -DSOLARIS2="`uname -r | sed -e 's/[0-9]*\.\([0-9]*\).*/\1/'`" -DPFILDEBUG") cc -I.. -I. -D_KERNEL -DSUNDDI -DSOLARIS2=8 -DPFILDEBUG -c ../pfil.c -o pfil.o
/usr/ucb/cc:  language optional software package not installed
*** Error code 1
make: Fatal error: Command failed for target `pfil.o'
Current working directory /usr/share/src/pfil/SunOS
*** Error code 1
make: Fatal error: Command failed for target `SunOS64'
Current working directory /usr/share/src/pfil
*** Error code 1 (ignored)
(cd `uname -s`; make package-`uname -s`)
cc    -c ../pfil.c -o pfil.o
/usr/ucb/cc:  language optional software package not installed
*** Error code 1
make: Fatal error: Command failed for target `pfil.o'
Current working directory /usr/share/src/pfil/SunOS
*** Error code 1
make: Fatal error: Command failed for target `package'
#




Reply via email to