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

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

Thread Previous | Thread Next
From:
Alan Burlison
Date:
November 10, 2003 02:52
Subject:
Re: [perl #24439] 64 bit build failure on Solaris 9
Message ID:
3FAF6DB8.8090203@sun.com
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


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About