While porting an application to 3rd edition, i bumped into that weird issue.
In function `$p': symaehabi\Callfirstprocessfn.cpp.text+0x48): undefined reference to `E32Main()'
My E32Main() function looks like that:
GLDEF_C TInt E32Main()
It is compiled in a static library (.lib) and my exe application is linked against that library.
However, if i move my E32Main() function from the library to the exe code, it works all fine.
To test, i put the E32Main() function in both my exe and my lib and then i have a:
(.text+0xf4): multiple definition of `E32Main()'
What the hell is going on there?