http://bugs.winehq.org/show_bug.cgi?id=30557
--- Comment #57 from Rosanne DiMesio dimesio@earthlink.net 2013-07-05 08:25:50 CDT --- (In reply to comment #55)
Created attachment 45108 [details] try4
Oops, I didn't notice the compiler trying to warn me. :-)
Fixed exit_thread_common now to use NtCurrentTeb() correctly..
Doesn't build on openSUSE 12.3:
ccache gcc -m32 -fno-omit-frame-pointer -fno-asynchronous-unwind-tables -m32 -o wine -Wl,--export-dynamic -Wl,--section-start,.interp=0x7bf00400 main.o -L../libs/wine -lwine ../libs/port/libwine_port.a -lpthread -Wl,--rpath,$ORIGIN/../libs/wine /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: main.o: undefined reference to symbol 'dlvsym@@GLIBC_2.1' /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: note: 'dlvsym@@GLIBC_2.1' is defined in DSO /lib/libdl.so.2 so try adding it to the linker command line /lib/libdl.so.2: could not read symbols: Invalid operation collect2: error: ld returned 1 exit status make[1]: *** [wine] Error 1 make[1]: Leaving directory `/home/dimesio/wine-git/loader' make: *** [loader] Error 2