hi All!
Code:
#include <stdio.h>
#include <Etel3rdParty.h>
#include <e32base.h>



#include "CClientApp.h"

// This is a GCCE toolchain workaround needed when compiling with GCCE
// and using main() entry point
#ifdef __GCCE__
#include <staticlibinit_gcce.h>
#endif



int main(void)
	{
	CTelephony* pd = CTelephony::NewLC();
	
	printf("Hello Open C!\n");
	printf("Press a character to exit!");
	int c = getchar();
	return 0;
	}
Compiler show this error
Code:
Errors caused tool to abort.
make[1]: *** [\Symbian\SDK\S60_3rd_FP2_SDK\epoc32\release\WINSCW\udeb\hw.exe] Error 1
make: *** [TARGETHW] Error 2
make -j 4 -s  -r -f "\Symbian\SDK\S60_3rd_FP2_SDK\EPOC32\BUILD\Symbian\carbide\workspace\hw\group\HW\WINSCW\HW.WINSCW" UDEB
hw.cpp
mwldsym2.exe: Undefined symbol: 'class CTelephony * CTelephony::NewLC(void) (?NewLC@CTelephony@@SAPAV1@XZ)'
mwldsym2.exe: referenced from '_main' in hw.cpp:29
How to declare a pointer of this type (CTelephony*) correctly?