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.
On Fri, Aug 12, 2011 at 00:10, linpf <wineforum-user at winehq.org> 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
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 supportedYou 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.