EmbDev.net

Forum: ARM programming with GCC/GNU tools KEIL Linker Issue: LPC2148


von Krishna Rao R. (Company: KRTECH) (krao_embsys)


Rate this post
useful
not useful
I have a problem when i am building my project in KEIL v4.60 for target 
LPC2148. i am getting following errors:
voice.axf: Warning: L6310W: Unable to find ARM libraries.
voice.axf: Error: L6411E: No compatible library exists with a definition 
of startup symbol __main.

i am getting this error even when build KEIL Example project also.
Please some one tell me why this error is popping up? and in order to 
correct what should i do?

von Martin Thomas (Guest)


Rate this post
useful
not useful
Check the folder-settings in 
Project->Manage->Components...->Folders/Extensions

The forum at keil.com is a better place to ask such questions.

von W.S. (Guest)


Rate this post
useful
not useful
SET ARMHOME=E:\KEIL41\ARM
SET PATH=%ARMHOME%\BIN40
SET ARMCONF=%ARMHOME%\BIN
SET ARMDLL=%ARMHOME%\BIN40
SET ARMINC=%ARMHOME%\RV31\INC
SET ARMLIB=%ARMHOME%\RV31\LIB

should solve the problem.

W.S.

von Pipper (Guest)


Rate this post
useful
not useful
I'm sitting on this f*****g error since a couple of days. For those 
working with cmd or any shell check your libraries path if they're 
conform using keywords  --verbose or --info libraries in your flags.

von W.S. (Guest)


Rate this post
useful
not useful
Pipper wrote:
> I'm sitting on this f*****g error since a couple of days.

And do you have a question about? Look a little above, I posted already 
the necessary environment. You need only to edit the home dir 
("ARMHOME=E:\KEIL41\ARM") according to your actual directories, where 
the Keil is installed to.

kind regards
W.S.

von robo (Guest)


Rate this post
useful
not useful
Hi Friends,

I'm using the LPC2148 development board in that currently working on
the USB boot loader.

For this I'm using the   GCC compiler. and downloaded the GCC related 
files
from the https://launchpad.net/gcc-arm-embedded.

when I build my code that time I'm getting error in the linking time as-
"arm-none-eabi-gcc: error: unrecognized command line option 
'--gc-sections'"

how to solve this error?
please help me.


Thanks
Robo

von W.S. (Guest)


Rate this post
useful
not useful
robo wrote:
> when I build my code that time I'm getting error in the linking time as-
> "arm-none-eabi-gcc: error: unrecognized command line option
> '--gc-sections'"

Download the (meanwhile old) "Lernbetty" project from the 
mikrocontroller.net site. There you will find the command line options 
for GCC as well as for the KEIL. You also will see there, how to link 
without a self written linker-file (the GCC linker has some linker 
scripts builtin).

W.S.

von Khan (Guest)


Rate this post
useful
not useful
I still do not understand how the problem was solved. Can someone please 
rephrase the answer in simple steps for someone like me who is an 
amateur?

von SRUJAN KUMAR (Guest)


Attached files:

Rate this post
useful
not useful
IM STUCK WITH AN ERROR CALLED  A3903U: Argument 'ARM7TDMI' not permitted 
for option 'cpu'. PLZ IF ANYONE COULD HELP ME WITH IT CAN BE OF GREAT 
HELP

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.