This is a discussion on Re: Problem compiling ip_fil4.1.10 within the IPFilter forums, part of the System Security and Security Related category; This is a multi-part message in MIME format. --------------070605000602010605060207 Content-Type: text/plain; charset=us-ascii; format=flowed Content-...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
This is a multi-part message in MIME format.
--------------070605000602010605060207 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit pradeep reddy wrote: > > Hi > > Please use sun compiler "cc" .That will do without any errors. > > Best Regards > > Pradeep Reddy > */Ruiyuan Jiang <Ruiyuan_Jiang@liz.com>/* 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 > <http://us.rd.yahoo.com/mail_us/taglines/virusmail/*http://mail.yahoo.com> > - 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 --------------070605000602010605060207 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> pradeep reddy wrote: <blockquote cite="mid20060208070017.59524.qmail@web53001.mail. yahoo.com" type="cite"><br> Hi <br> <br> Please use sun compiler "cc" .That will do without any errors.<br> <br> Best Regards<br> <br> Pradeep Reddy <br> <b><i>Ruiyuan Jiang <a class="moz-txt-link-rfc2396E" href="mailto:Ruiyuan_Jiang@liz.com"><Ruiyuan_Ji ang@liz.com></a></i></b> wrote: <blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Hi, all<br> <br> I installed pfil on my Solaris 9 (Ultra SPARC IIi). Now I am trying to<br> install IP Filter (v4.1.10). The gcc on the box is v3.4.2 in<br> /usr/local/bin. After unpacked the tar file, I modified "Makefile" for<br> "CC=gcc" line to use gcc.<br> <br> When I did "make solaris", I got the following message:<br> <br> if [ ! -f netinet/done ] ; then \<br> (cd netinet; ln -s ../*.h .; ln -s ../ip_*_pxy.c .;); \<br> (cd netinet; ln -s ../ipsend/tcpip.h tcpip.h); \<br> touch netinet/done; \<br> fi<br> (cd netinet; ln -s ../ip_rules.h ip_rules.h)<br> if [ ! -f net/done ] ; then \<br> (cd net; ln -s ../radix_ipf.h .; ); \<br> touch net/done; \<br> fi<br> MAKE="make" MAKEFLA! GS="" BPFILTER= \<br> CC="gcc" DEBUG="-g" ./buildsunos<br> Testing compiler gcc for 64 bit object file generation.<br> gcc cannot create 32 bit executables.<br> *** Error code 1<br> make: Fatal error: Command failed for target `solaris'<br> <br> <br> Can anyone help me? Thanks in advance.<br> <br> Ryan<br> <br> <br> <br> This message (including any attachments) is intended<br> solely for the specific individual(s) or entity(ies) named<br> above, and may contain legally privileged and<br> confidential information. If you are not the intended<br> recipient, please notify the sender immediately by <br> replying to this message and then delete it.<br> Any disclosure, copying, or distribution of this message, or the taking of any action based on it, by other than the<br> intended recipient, is strictly prohibited.<br> <br> </blockquote> <br> <p> </p> <hr size="1"> <a href="http://us.rd.yahoo.com/mail_us/taglines/virusmail/*http://mail.yahoo.com">Yahoo! Mail</a> - Helps protect you from nasty viruses. </blockquote> <br> Are you sure that you have a gcc C-Compiler installed ?<br> 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....).<br> I've used gcc 3.3.2 to compile succesfully ip_fil4.1.0 and pfil 2.1.7 on my solaris 9 box.<br> If you need, I can give you a private download of these packages compiled.<br> <br> Bye.<br> <pre class="moz-signature" cols="120">-- Dott. Mag. Sergio Rabellino ICT Services Department of Computer Science University of Torino (Italy) <a class="moz-txt-link-freetext" href="http://www.di.unito.it/~rabser">http://www.di.unito.it/~rabser</a> Tel. +39-0116706701 Fax. +39-011751603 </pre> </body> </html> --------------070605000602010605060207-- |