develooper Front page | perl.perl5.porters | Postings from November 2003

Re: [perl #24439] 64 bit build failure on Solaris 9

Thread Previous | Thread Next
Alan Burlison
November 10, 2003 02:52
Re: [perl #24439] 64 bit build failure on Solaris 9
Message ID:
Berger, Daniel (via RT) wrote:

> ld: fatal: file miniperlmain.o: wrong ELF class: ELFCLASS64
> ld: fatal: File processing errors. No output written to miniperl
> collect2: ld returned 1 exit status
> *** Error code 1
> make: Fatal error: Command failed for target `miniperl'

I don't use gcc, but from looking at the gcc flags and the linker error 
mrssage it appears that you are building libperl as LP64 (64-bit) but 
building miniperlmain as LP32 (32 bit).  This has nothing to do with the -L 
flags, but I have no clear idea of why it is happening.  Have you tries a 
'make clean; make'?  Perhaps you have an old 32-bit miniperlmain.o lying 
around from a previous LP32 build?

Alan Burlison

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About