On 2/5/02 at 3:33 PM, [EMAIL PROTECTED] (Ben Combee) wrote:

> 
> "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.

It is C++ but I just realized that the problem was that the files I received
from my "PC buddies" had dos line breaks. Seem CW doesn't like that and will not
process the files.

Thanks for the advice,
-Mark

-- 
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