I have fixed all remaining linking issues EXCEPT one, the '_WinMain@16' issue.
[LD] output-i386\modules\rosapps\smartpdf\smartpdf.exe obj-i386\lib\3rdparty\mingw\mingw_main.a(main.o): In function `main': trunk/reactos/lib/3rdparty/mingw/main.c:73: undefined reference to `_WinMain@16' collect2: ld returned 1 exit status mingw32-make: *** [output-i386\modules\rosapps\smartpdf\smartpdf.exe] Error 1
The main function of SmartPDF/SumatraPDF:
int APIENTRY _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow) { ... }
... I have checked some other ros GUI apps like solitaire, which have the save definition, except "WinAPI" instead of "APIENTRY". Although using "WinAPI" there doesn't solve the issue.
Fixes for this mingw linking issue are appreciated.
Klemens