[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ipfilter
Subject:    Re: Problem compiling ip_fil4.1.10
From:       Rabellino Sergio <rabellino () di ! unito ! it>
Date:       2006-02-08 8:54:34
Message-ID: 43E9B1CA.2060306 () di ! unito ! it
[Download RAW message or body]

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


[Attachment #3 (text/html)]

<!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">&lt;Ruiyuan_Jiang@liz.com&gt;</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>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic