error message of wingcc

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
linpf
Newbie
Newbie
Posts: 3
Joined: Tue Apr 27, 2010 7:01 pm

error message of wingcc

Post by linpf »

When I try to build my existing application using winegcc, I get the following error message.

/usr/bin/ld: Relocatable linking with relocations from format elf32-i386 (/usr/local/lib/wine/libwinecrt0.a(exe_entry.o)) to format elf64-x86-64 (vida_codecs.a8MfIW.o) is not supported
winebuild: /usr/bin/ld -r failed with status 256

This application can be built from a 32 bit OS Linux without problem. Is there a way to build and use this same application in 64 bit Linux.
Frédéric Delanoy

error message of wingcc

Post by Frédéric Delanoy »

On Fri, Aug 12, 2011 at 00:10, linpf <[email protected]> wrote:
When I try to build my existing application using winegcc, I get the following error message.

/usr/bin/ld: Relocatable linking with relocations from format elf32-i386 (/usr/local/lib/wine/libwinecrt0.a(exe_entry.o)) to format elf64-x86-64 (vida_codecs.a8MfIW.o) is not supported
winebuild: /usr/bin/ld -r failed with status 256

This application can be built from a 32 bit OS Linux without problem. Is there a way to build and use this same application in 64 bit Linux.
You'd better ask this on wine-devel mailing list
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: error message of wingcc

Post by vitamin »

linpf wrote:/usr/bin/ld: Relocatable linking with relocations from format elf32-i386 (/usr/local/lib/wine/libwinecrt0.a(exe_entry.o)) to format elf64-x86-64 (vida_codecs.a8MfIW.o) is not supported
You trying to link 32-bit Wine library with 64-bit code you compiled. This doesn't work. You have compile your files as 32-bit if you linking it with 32-bit Wine. Or both can be 64-bit.
Locked