When I rum make command it shows the following error, can somebody please help me in to come out of this.

 

Undefined                       first referenced

 symbol                             in file

GetStartupInfoA                     ../../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

 

Tried editing /var/installs/wine-0.9.9/dlls/ddraw/Makefile at line number 367 and put the /var/installs/wine-0.9.9/dlls/kernel/environ.o after –o option, it build the shared object successfully.

 

Can anybody suggest how to fix this in configure or config.status script so the environ.o file is automatically included in the Makefile.

 

Thanks

-Lalit