[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 64 bit solaris compiler problems

From: Ralf Wildenhues
Subject: Re: 64 bit solaris compiler problems
Date: Wed, 9 Aug 2006 17:56:47 +0200
User-agent: Mutt/1.5.11


* T Kiernan wrote on Thu, Jul 13, 2006 at 06:39:22PM CEST:
> Having some difficult in linking a test prog to some 64 shared libs.
> Getting the following serror message:

> ld: fatal: file libs/xxxx.so: wrong ELF class: ELFCLASS64
> ld: fatal: File processing errors. No output written to testDriver
> *** Error code 1

This is usually a sign that you are trying to link 32- and 64-bit
objects and/or libraries, which simply doesn't work.

For the Sun Compilers, you usually need to specify a flag like

or similar to the compiler driver for compilation and linking, to create
64-bit code.

Hope that helps.  Please note that this question has nothing to do with


reply via email to

[Prev in Thread] Current Thread [Next in Thread]