Hello,
I tried compiling IPF 4.1.26 in my machine and it works with out the
mentioned
compilation problem. And i can also find that some build problems for
solaris
versions before U4 are solved in 4.1.26, so to confirm this i just want
to compile
IPF 4.1.25 in my machine and see if iam getting the same compilation error.
But unfortunately i am not able to get the sources of ipf4.1.25
anywhere. So can
someone kindly help me with the sources or tell me from where i can download
them.
Best Regards,
Ananth
anantha wrote:
Hello,
Yes we are specific about this release. Because, we already have this
IPF 4.1.16 installed in our sparc machines and we would like to be
consistent
with that when we are moving to galaxy.
Is there a way out still, to compile this source.
Best Regards,
Ananth
CmdLnKid wrote:
On Tue, 9 Oct 2007 14:13 +0530, ganesan.anantha_krishnan wrote:
Hello,
Thanks a lot for your reply,
As per your advice i downloaded and installed sun studio 11.
Now iam compiling ipf on solaris 10 / i386, with sun studio 11.
Now i am able to proceed further, but i still have some problems
when i execute "make solaris" i get the following error.
cc -Xa -xildoff -I../.. -DIPFILTER_LKM -I../../../pfil -D_KERNEL
-DSUNDDI -DSOLARIS2=10 -DIPFILTER_LOG -DIPFILTER_LOOKUP
-DIPFILTER_SCAN -c ../../ip_fil_solaris.c -o i86/ip_fil.o
"../../ip_fil_solaris.c", line 859: warning: improper
pointer/integer combination: arg #8
"../../ip_fil_solaris.c", line 859: prototype mismatch: 8 args
passed, 9 expected
cc: acomp failed for ../../ip_fil_solaris.c
*** Error code 2
make: Fatal error: Command failed for target `i86/ip_fil.o'
Current working directory /root/ipf_gal/ip_fil4.1.16/SunOS5/i386-5.10
*** Error code 1
make: Fatal error: Command failed for target `sunos5'
Current working directory /root/ipf_gal/ip_fil4.1.16
*** Error code 1
make: Fatal error: Command failed for target `solaris'
In addition to this i have few more question as well.
1. Do we need the source of pfil also be present when we compile the
ipf package. becuase i tried with out the pfil sources, and the
compilation
gets aborted.
2. Is it ok to run "make solaris". Or should i execute something
else.
Best Regards,
Ananth
Why not ipfilter 4.1.27 ? any specific reason ?.
a b wrote:
Hello ,
I tried compiling the sources of IPF 4.1.16 on solaris 10/ x86
machines.
But while doing "make solaris", it searches for a 64 bit compiler and
fails.
I have installed gcc 3.4.6 in my machine.
You shouldn't be using GCC to compile IPF on Solaris. Use Sun Studio
12,
or at least Sun Studio 11.
MAKE="make" MAKEFLAGS="" BPFILTER= \
CC="cc" DEBUG="-g" ./buildsunos
./buildsunos: cc: not found
"CC=cc" specifies `cc`, which is Sun's native / Sun Studio compiler.
Is Sun Studio (/opt/SUNWspro/*) installed on this system?
If Sun Studio is installed on this system,
are /opt/SUNWspro/bin:/opt/SUNWspro/prod/bin prepended to the value
of the PATH variable?
You were specifying `cc` as the compiler, and it cannot be found,
either
because the PATH isn't configured correctly, or because Sun Studio
isn't
installed.
* * *
Darren: which optimizations can be safely turned on
(-xO4 -xprefetch=auto -xipo=2 -xlinkopt=2 and so on) when using Sun
Studio?