Application Problem
Ross A. Osborn
rosborn at motorola.com
Thu Jul 7 15:08:00 UTC 2005
On Thu, Jul 07, 2005 at 04:57:30PM +0200, Ralf Corsepius wrote:
> On Thu, 2005-07-07 at 10:48 -0400, Mike Bertosh wrote:
> > Hi all,
> >
> > I am trying to link my application code with rtems but I keep getting 'undefined
> > reference errors'. All of these undefined references are from the application code and
> > I know that object files exist. I have tried using externs but this doesn't work either.
> > Anyone have any ideas on how to get rid of these errors. I'd appreciate any help.
> > Thanks for your time.
> >
> Sorry, this is too little info. Please show us the real error message,
> otherwise it's hard to help you.
Is this the C vs. C++ conflict? Are the functions implemented in C++
but called from C? If so you can enclose the prototypes like this:
#ifdef __cplusplus
extern "C" {
#endif
<function prototypes here>
#ifdef __cplusplus
}
#endif
Ross
More information about the users
mailing list