https://bugs.winehq.org/show_bug.cgi?id=46695
--- Comment #1 from Timothy Pearson tpearson@raptorengineering.com --- Digging further, the user32 DLL exports the missing symbols, but atl is being built before user32. Is wine supposed to be using lazy linking here, or is something else obviously amiss?
Output from build:
../../tools/winegcc/winegcc -o atl.dll.so -B../../tools/winebuild -fasynchronous-unwind-tables -shared atl.spec \ atl.o atl30.o atl_ax.o registrar.o atl_classes_r.res atl_lib_t.res atl_lib_r.res \ ../../dlls/uuid/libuuid.a -loleaut32 -lole32 -luser32 -lgdi32 -ladvapi32 -lshlwapi \ ../../libs/port/libwine_port.a /usr/bin/ld: atl_ax.o: in function `IOCS_Detach': /root/WINE_GIT/wine/dlls/atl/atl_ax.c:155: undefined reference to `SetWindowLongPtrW' /usr/bin/ld: atl_ax.o: in function `IOCS_Create': /root/WINE_GIT/wine/dlls/atl/atl_ax.c:920: undefined reference to `SetWindowLongPtrW' /usr/bin/ld: atl.dll.so: hidden symbol `SetWindowLongPtrW' isn't defined /usr/bin/ld: final link failed: bad value collect2: error: ld returned 1 exit status winegcc: gcc failed