[Wine] Compiling Winelib application under x86_64

goldfinkle wineforum-user at winehq.org
Sat Feb 21 02:08:14 CST 2009

Hi All

I'm trying to compile the following program

int main()
        return 0;

I generated a makefile using winemaker

running make I get

wineg++ -c  -mno-cygwin    -o test.o test.cpp
wineg++ -mwindows -mno-cygwin -o test.exe.so  test.o      -lodbc32 -lole32 -loleaut32 -lwinspool -luuid
ld: Relocatable linking with relocations from format elf32-i386 (/usr/lib/wine/libwinecrt0.a(exe_entry.o)) to format elf64-x86-64 (test.UzYhKg.o) is not supported
winebuild: ld -r failed with status 256
winegcc: winebuild failed
make: *** [test.exe.so] Error 2

uname -a returns:
Linux host1 2.6.18-92.el5 #1 SMP Tue Feb 20 18:51:06 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux

The distribution is centos 5

Any suggestions?



More information about the wine-users mailing list