[Gluster-devel] Compile Failure on Solaris: wrong ELF class: ELFCLASS64
Pavan T C
tcp at gluster.com
Mon Jun 6 06:43:23 UTC 2011
On Monday 06 June 2011 09:10 AM, Nick Couchman wrote:
> I tried adding -m32 to CFLAGS and recompiling, and got different errors.
> Then I tried -m64 and got different errors, there. I can post those at
> some point, soon - probably tomorrow.
Hi Nick,
First of all, the latest branch which has support for solaris is 3.1.x.
If you still want to try and build 3.2 for solaris, try it with the
following configure flags:
# CFLAGS=-m64 ./configure --disable-georeplication
After the configure script completes without errors, try a make.
HTH,
Pavan
>
> -Nick
>
> On Sun, 2011-06-05 at 20:22 -0400, Devon Miller wrote:
>> That error indicates ld is trying to build a 32-bit executable, but
>> the file is a 64-bin ELF object.
>>
>>
>> Somewhere there is missing -m64, or a -m32 where there should be a
>> m64.
>>
>>
>> dcm
>>
>> On Fri, Jun 3, 2011 at 3:23 PM, Nick Couchman
>> <Nick.Couchman at seakr.com> wrote:
>> Hey, everyone,
>> I'm trying to compile Gluster 3.2.0 on Solaris 11 Express, and
>> am
>> getting the following error:
>>
>> ld: fatal: file .libs/libglusterfs_la-dict.o: wrong ELF class:
>> ELFCLASS64
>>
>> I was wondering if anyone else has run into this issue, or if
>> anyone has
>> been successful getting the latest glusterfs compiled on the
>> latest
>> Solaris O/S? I can post more of the output, if necessary -
>> right now
>> I'm just copying it off the console, so that's about all I can
>> do.
>>
>> Thanks,
>> Nick
>>
>>
>>
>> --------
>> This e-mail may contain confidential and privileged material
>> for the sole use of the intended recipient. If this email is
>> not intended for you, or you are not responsible for the
>> delivery of this message to the intended recipient, please
>> note that this message may contain SEAKR Engineering (SEAKR)
>> Privileged/Proprietary Information. In such a case, you are
>> strictly prohibited from downloading, photocopying,
>> distributing or otherwise using this message, its contents or
>> attachments in any way. If you have received this message in
>> error, please notify us immediately by replying to this e-mail
>> and delete the message from your mailbox. Information
>> contained in this message that does not relate to the business
>> of SEAKR is neither endorsed by nor attributable to SEAKR.
>>
>> _______________________________________________
>> Gluster-devel mailing list
>> Gluster-devel at nongnu.org
>> https://lists.nongnu.org/mailman/listinfo/gluster-devel
>>
>>
>
>
>
> --------
> This e-mail may contain confidential and privileged material for the sole use of the intended recipient. If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information. In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way. If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox. Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR.
>
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at nongnu.org
> https://lists.nongnu.org/mailman/listinfo/gluster-devel
More information about the Gluster-devel
mailing list