08-26-2004 05:09 AM
I get the following error message:
cc: "/usr/include/sys/socket.h", line 504: warning 562: Redeclaration of "sendfile" with a different storage class specifier: "sendfile" will have internal linkage.
cc: "/usr/include/sys/socket.h", line 505: warning 562: Redeclaration of "sendpath" with a different storage class specifier: "sendpath" will have internal linkage.
rm -f opmini.c
cc +DD64 -L/usr/local/lib -L/lib/pa20_64 -o miniperl \
miniperlmain.o opmini.o libperl.a -lcl -lpthread -lnsl -lnm -ldl -ldld -lm -lsec -lc
ld: Mismatched ABI (not an ELF file) for miniperlmain.o
*** Error exit code 1
08-26-2004 05:18 AM
You can download Perl version 5.0005_02 SD-depot from software.hp.com.
08-26-2004 05:23 AM
or check here: http://www.cmve.net/~merijn/#Perl
live free or die
08-26-2004 05:27 AM
Why fight it?
Just download the binary from Merijn's website:
I've never had trouble with his builds at all. Always top-notch.
08-26-2004 05:34 AM
08-26-2004 05:40 AM
I downloaded the same tar file and was able to compile it without any problems. I did get dozens of warnings about "sendfile" and "sendpath" but the compile completed fine.
My cc options are very different on my system. Here's an example:
cc -c -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS
=64 +O2 +Onolimit
All I did was follow the instructions in the INSTALL file:
rm -f config.sh Policy.sh
sh Configure -de
Did you do these steps on your system as well? I believe it is the "Configure" step that sets up the cc options.
08-26-2004 05:43 AM
Just run the file command against the lib file.
If it *doesn't* come back ELF-64 then it's *not* 64-bit.
Well....archive (????.a) files will not come back that way, but all object files will.
08-26-2004 06:05 AM
08-26-2004 06:45 AM
If you go to Merijn's website he *already* has 64-bit Perl compiled with the DBI & DBD CPAN modules.
Save yourself some time - check it out.
My 2 cents,