Read-only archive of the All About Symbian forum (2001–2013) · About this archive

Linking Error

1 replies · 1,249 views · Started 13 October 2004

Hi,
I feel glad to be a part of this forum. And I hope I am of as much help to you all as you will be to me.
I am a beginner! I am trying to run the sample application in \S60_2nd_FP2_B\examples\helloworld and I am getting the following error:

MSVCRT.lib(crtexe.obj) : error LNK2001: unresolved external symbol _main

I have included ecrt0.lib in my mmp file.
What could be the issue?

Thanks in advance,

asymbian.

I'm not sure if you can get an Series 60 app to run as a normal windows app (e.g. using _main)
since Series 60 apps typically have no main and use E32Main() as their startup function.

Typically, you have to test your SIS apps on the emulator if you don't have the device.