pradeep reddy wrote:
Hi
Please use sun compiler "cc" .That will do without any errors.
Best Regards
Pradeep Reddy
Ruiyuan Jiang <[EMAIL PROTECTED]> wrote:
Hi, all
I installed pfil on my Solaris 9 (Ultra SPARC IIi). Now I am trying to
install IP Filter (v4.1.10). The gcc on the box is v3.4.2 in
/usr/local/bin. After unpacked the tar file, I modified "Makefile" for
"CC=gcc" line to use gcc.
When I did "make solaris", I got the following message:
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
(cd netinet; ln -s ../ip_rules.h ip_rules.h)
if [ ! -f net/done ] ; then \
(cd net; ln -s ../radix_ipf.h .; ); \
touch net/done; \
fi
MAKE="make" MAKEFLA! GS="" BPFILTER= \
CC="gcc" DEBUG="-g" ./buildsunos
Testing compiler gcc for 64 bit object file generation.
gcc cannot create 32 bit executables.
*** Error code 1
make: Fatal error: Command failed for target `solaris'
Can anyone help me? Thanks in advance.
Ryan
This message (including any attachments) is intended
solely for the specific individual(s) or entity(ies) named
above, and may contain legally privileged and
confidential information. If you are not the intended
recipient, please notify the sender immediately by
replying to this message and then delete it.
Any disclosure, copying, or distribution of this message, or the taking
of any action based on it, by other than the
intended recipient, is strictly prohibited.
Yahoo!
Mail - Helps protect you from nasty viruses.
Are you sure that you have a gcc C-Compiler installed ?
you can try gcc -v from command line ? It seems that gcc is not in the
path or is not installed (cannot create 32bit exec....).
I've used gcc 3.3.2 to compile succesfully ip_fil4.1.0 and pfil 2.1.7
on my solaris 9 box.
If you need, I can give you a private download of these packages
compiled.
Bye.
--
Dott. Mag. Sergio Rabellino
ICT Services
Department of Computer Science
University of Torino (Italy)
http://www.di.unito.it/~rabser
Tel. +39-0116706701
Fax. +39-011751603
|