----- Original Message -----
From: [EMAIL PROTECTED]
Date: Sunday, February 26, 2006 3:24 am
Subject: "undefined reference to `PilotMain' " build error
> I created a managed c project and added a main.c file, which only
> includes: #include <stdio.h> main(){ }
> But I get the following error:
>
> m68k-palmos-gcc -g -o ekg2 main.o
> /usr/m68k-palmos/lib/crt0.o(.text+0x64): In function `start':
> crt0.c:69: undefined reference to `PilotMain'
Palm programs do not have a "main" function, they have a PilotMain function, as
documented in chapter 2 of the Palm OS Programmer's Companion.
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/