Yahoo Groups archive

Lpc2000

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

Thread

Strange linker error with IAR EWARM v4.10b

Strange linker error with IAR EWARM v4.10b

2004-05-22 by Tim Meese

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

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

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

2004-05-22 by Richard

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



--- In lpc2000@yahoogroups.com, "Tim Meese" <timm@m...> wrote:
> 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 
Show quoted textHide quoted text
> of some sort. If any IAR users have a workaround, I'd appreciate 
> heaering it. 
> 
> Thanks,
> 
> Tim

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.