"Mark F Rodriguez" <[EMAIL PROTECTED]> wrote in message
news:75722@palm-dev-forum...
>
> I've just embarked in using precompiled headers with some of my
projects and
> seem to already hit my first hurdle. Everything compiles as expected;
however, I
> get the following error when I try to 'Make' the prc file.
>
> Link Error: PalmOS_Startup.c: 'PilotMain' referenced from
'__Startup__' is
> undefined.
>
> I have included the MSL Runtime Palm OS(2i).Lib file but for some
reason all my
> attempts to get this thing to compile are in vain. Any good references
on
> working with precompiled headers or advice as to what might be
happening?
>
> Any feedback would be greatly appreciated. I'm sure I'm probably
missing
> something "obvious" in my projects settings.

Are you using C++?  Perhaps your function that defines PilotMain is
defining it as a C++ routine, therefore it has the wrong managling
scheme to link against the runtime library.

If you're using CW Palm V8, you're using the wrong runtime library.  You
need to add the PalmOSRuntime_2i_A5.lib -- the older one is still there
since its being shipped in Palm's SDK, but it isn't compatible with CW
Palm V8.



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

Reply via email to