Hi,
i have IPFilter 4.1.7 compiled for SPARC - you can find it here:
http://downloads.greenlemon.org/ipfilter4.1.7_sol9_sparc64.pkg.gz
pfil 2.1.6
http://downloads.greenlemon.org/pfil2.1.6_sol9_sparc64.pkg.gz
Both compiled on Solaris 9 with gcc 3.x without any problems...
regards
andy
Am 29.12.2005 um 17:38 schrieb Fiengo, Paul C CTR DISA GIG-OP:
All,
Does anyone know where I can download a copy of IPFilter in package
form for
Solaris 8? I have tried to compile the software and get the
following error
message:
CC="gcc -Wstrict-prototypes -Wmissing-prototypes" ./buildsunos
./buildsunos: gcc: not found
Testing compiler cc for 64 bit object file generation
./buildsunos : cc: not found
cc -Xa -xildoff cannot create 32 bit executables
*** Error code 1
make: Fatal error: Command failed for target "solaris"
I have read the install instructions and it specifically says NOT
to use
GCC. However I found a message on Google
http://marc.theaimsgroup.com/?l=ipfilter&m=104999476227439&w=2
stating:
FYI I have figured out that compiling IP-Filter on Solaris 8 using
GCC 3.x.x
requires that GCC 3.x.x be compiled using the Solaris 'ld' and NOT
the GNU
binutils one. Recompiling GCC 3.x.x without the --with-gnu-as and
--with-gnu-ld options to ./configure and making sure the PATH picks up
/usr/ccs/bin/ld instead of the GNU 'ld' when compiling GCC allows
you to
have the required GCC to compile IP-Filter. GCC attempts to
reference the
file /usr/lib/ld/sparcv9/map.below4G when it sees the compile option
"-mcmodel=medlow" but the GNU 'ld' cannot understand it if GCC has
been
compiled with --with-gnu-ld. If GCC has been compiled using the
/usr/ccs/bin/ld then it can understand the format of the file
/usr/lib/ld/sparcv9/map.below4G Hope this info is helpful to anyone
else
having problems compiling using GCC 3.x.x on Sun Solaris :)
So I try to compile GCC on Sun Solaris 8 and I'm getting the
following?
/usr/ucb/cc: language optional software package not installed
The consensus here it that I don't have a working compiler
installed and to
use GCC. Now I'm back where I started needing GCC to compile
IPFilter, but
can't because I need GCC compiled in a specific way.
HELP !!!!
Thank You,
Paul Fiengo
DISA FSO / CACI