I figured it out. I was missing a few solaris packages. Specifically, SUNWtoo and SUNWtoox (needed to build ipfilter), and SUNWsprot and SUNWsprox (needed to
build pfil).

Without SUNWtoo/SUNWtoox, "make solaris" will complain that it can't find a
64bit capable compiler, even if one is installed.  The test program seems to
require /usr/lib/ld/sparcv9/map.above4G.

After I installed those, I found that withouth SUNWprot / SUNWprox, ld would
core dump while trying to compile pfil.  It was looking for
/usr/lib/sparcv9/libmakestate.so.1

Hope this information helps other people.

Liam



Quoting [EMAIL PROTECTED]:

I've checked the archives, and I've not seen a solution for this problem, tho
it's been mentioned in the past (as resently as a few days ago).

I'm trying to build ipfilters 4.1.9 on Solaris 8.  I've got both the sun
workshop compilers (6.1) and a few flavors of gcc (3.2.1, 3.4.2) available.
I'm getting the "No 64 bit capable compiler was found" error.

I've built a simple c program to test the 64 bit capability of my compilers..

x.c:

 #include <stdio.h>
 int main () {}

[EMAIL PROTECTED]:; gcc -m64 x.c
[EMAIL PROTECTED]:; file a.out
a.out: ELF 64-bit MSB executable SPARCV9 Version 1, dynamically linked,
not stripped
[EMAIL PROTECTED]:; rm a.out
[EMAIL PROTECTED]:; /usr/local/SUNWspro/bin/cc -xtarget=ultra -xarch=v9 x.c
[EMAIL PROTECTED]:; file a.out
a.out: ELF 64-bit MSB executable SPARCV9 Version 1, dynamically linked,
not stripped


So, I appear to have 64bit capable compilers.  But, when I try "make solaris"
with sun workshop cc / gcc, I get:

[EMAIL PROTECTED]:; make solaris
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" MAKEFLAGS="" BPFILTER= \
       CC="/usr/local/SUNWspro/bin/cc" DEBUG="-g" ./buildsunos
Testing compiler /usr/local/SUNWspro/bin/cc for 64 bit object file generation.
No 64 bit capable compiler was found
*** Error code 1
make: Fatal error: Command failed for target `solaris'

I'm using /usr/ccs/bin/make.

Any suggestions?

Liam

!DSPAM:4304fd60272831409519888!






Reply via email to