EmbDev.net

Forum: ARM programming with GCC/GNU tools EFSL on Vista


von Tuan P. (tuanpa)


Rate this post
useful
not useful
Hi,

I'm successfull building the efsl. However, I got error when building
the example for at91sam7s256. I'm using WinARM-20060606.

The compliter stuck at this line for a while and then display "make: ***
[main.elf] Error 1"


Linking: main.elf
arm-elf-gcc -mthumb -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DROM_RUN -DVECTORS_IN_RAM -D__WinARM__ -D__WINARMSUBMDL_AT91SAM7S256__
-Os -ffunction-sections -fdata-sections -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -Wa,-adhlns=common/Cstartup.lst  -I./common -I../../inc
-I../../conf
-IC:\work\app\WinARM-20060606\WinARM\lib\gcc\arm-elf\4.1.1\include
-IC:\work\app\WinARM-20060606\WinARM\arm-elf\include -MD -MP -MF
.dep/main.elf.d common/Cstartup.o common/swi_handler.o
common/Cstartup_SAM7.o main.o dbgu.o syscalls.o swi_handler_user.o
systime.o     --output main.el
f -nostartfiles -Wl,-Map=main.map,--cref,--gc-sections -lc  -lm -lc
-lgcc   -L./common -L../../ -lefsl -T./common/AT91SAM7S256-ROM.ld
make: *** [main.elf] Error 1

Could you please help me to fix it?
Thank you

von Tuan P. (tuanpa)


Rate this post
useful
not useful
I found that problem relating to the PATH environment. It works now.

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.