Hello I have a problem, that probably is not tight directly with IPFilter, but actually this problems is reason why I can't get IPFilter compiled. So I am quite sure, that somebody (and probably everybody) also faced same problem and will have a tip for it. Maybe answer can be included in Solaris compilation tips ?
Problem background is, that native Solaris 8 make command sets environment variable SGS_SUPPORT to value libmakestate.so.1. This variable is not set by default in my build environment and I found it including line "env > /tmp/makeenv" in Makefile. Actually this environment values is causing build for at least pfil to fail : # which make /usr/ccs/bin/make # cc -V cc: Sun C 5.6 2004/07/15 usage: cc [ options] files. Use 'cc -flags' for details # uname -a SunOS ffabdev 5.8 Generic_117350-16 sun4u sparc SUNW,Ultra-250 # make i=`uname -s`; case $i in HP-UX) make hpux;; *) make $i;; esac 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") ld -r pfil.o qif.o pfildrv.o pfilstream.o pkt.o misc.o ndd.o -o pfil32 ld: fatal: dlopen() of support library (libmakestate.so.1) failed with error: ld.so.1: /usr/ccs/bin/sparcv9/ld: fatal: libmakestate.so.1: open failed: No such file or directory *** Error code 1 make: Fatal error: Command failed for target `pfil' Current working directory /data/compile/ipf/pfil/SunOS *** Error code 1 make: Fatal error: Command failed for target `SunOS64' Current working directory /data/compile/ipf/pfil *** Error code 1 (ignored) # How Makefile or command line options should be tuned in order to avoid this problem ? Thank you in advance for your tips. With best regards Martynas
