[Gluster-devel] Compile Failure on Solaris: wrong ELF class: ELFCLASS64

Nick Couchman Nick.Couchman at seakr.com
Mon Jun 6 03:40:38 UTC 2011


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.

-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.




More information about the Gluster-devel mailing list