Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] Strange linker error with IAR EWARM v4.10b

2004-05-22 by Robert Adsett

At 02:07 AM 5/22/04 +0000, you wrote:
>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.

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

" 'Freedom' has no meaning of itself.  There are always restrictions,
be they legal, genetic, or physical.  If you don't believe me, try to
chew a radio signal. "

                         Kelvin Throop, III

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.