linking errors in Winelib code (version 0.9.9) on Solaris 10

Arun Kumar Khandelwal Arun.Khandelwal at
Wed Mar 8 05:48:21 CST 2006

I am compiling Winelib (version 0.9.9) on Solaris 10 machine. I am
getting below linking errors:

gcc -c -I. -I. -I../../include -I../../include -I/usr/include/libxml2
-I/usr/include/libxml2 -D__WINESRC__  -DCOM_NO_WINDOWS_H -D_REENTRANT
-fPIC -Wall -pipe -fno-strict-aliasing -gstabs+
-Wdeclaration-after-statement -Wpointer-arith  -g -O2  -o main.o main.c

Undefined                       first referenced
 symbol                             in file
GetStartupInfoA                     ../../dlls/libwinecrt0.a(exe_main.o)
GetModuleHandleA                    ../../dlls/libwinecrt0.a(exe_main.o)
GetCommandLineA                     ../../dlls/libwinecrt0.a(exe_main.o)
WinMain                             ../../dlls/libwinecrt0.a(exe_main.o)
ld: warning: Symbol referencing errors

Please suggest how to get rid of these errors. 

Thanks and Regards,
Arun Khandelwal

More information about the wine-devel mailing list