This is probably a setup rather than programming issue, and if I'm asking in the wrong place, I'd appreciate a redirection.

Having downloaded and installed prc-tools RPMs from http://www.palmos.com/dev/tools/gcc/, which installed without errors, I'm unable to compile a hello.c. Actually, when attempting to run make on any of the sample code I've found, it produces this error or something like it:

/usr/share/prc-tools/include/PalmOS.h:12: #error No genuine PalmOS.h found
/usr/share/prc-tools/include/PalmOS.h:15: warning: #warning use Pilot.h if you really mean to use the 3.1 SDK or earlier; you may need to run palmdev-prep or use a suitable -palmosX option -- see "http://prc-tools.sourceforge.net/cgi-bin/info/palmdev-prep"; for details
make: *** [hello.o] Error 1


Because of the 3.1 SDK mention, I don't know if that is to be read as "the source code is out of date" - in which case maybe it's not a setup issue after all, but I need to find example code that works to be sure. Yes, I'm a fairly experienced C programmer, but new at palm, a bit frustrated at being unable to make a first step. Thanks.



--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to