EmbeddedRelated.com
Forums

Strange linker error with IAR EWARM v4.10b

Started by Tim Meese May 21, 2004
Hello,

I'm using (for the moment anyway) the IAR EW ARM v4.10B tools to
build an application for the LPC2106. I don't require, nor do I have
code relating to FIQ functionality, but the linker is emitting a
strange error related to FIQs:

Error[e27]: Entry "fiqvec" in module armvic ( C:\...\armvic.r79 )
redefined in module board ( C:\...\board.r79 )

The board.c file has some inline definitions in it (#pragma inline)
but otherwise nothing remarkable. If I remove this module, the error
just shifts to the next object file. Seems like this is a linker bug
of some sort. If any IAR users have a workaround, I'd appreciate
heaering it.

Thanks,

Tim

An Engineer's Guide to the LPC2100 Series

That's exactly the sort of error you get if a header file defines a routine
rather than simply declaring it. Since your compler apparently has an
inline pragma it could be a missing or ifdef'd out pragma. Or a variable
that is missing an extern.

Have you tried seeing how small an example you can produce?

Robert
Tim,
I have had similar errors when I had a conflict between my
startup file and the IAR linker settings. This may not be your
problem but for what it is worth....

Richard