This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Link Error for Hello


You must have input the wrong path of PKG_INSTALL_DIR of the makefile included in the ecos/examples
Check your path of PKG_INSTALL_DIR!

-----Original Message-----
From: ecos-discuss-owner@sources.redhat.com [mailto:ecos-discuss-owner@sources.redhat.com]On Behalf Of Lin Ming
Sent: Tuesday, May 07, 2002 12:00 AM
To: ecos-discuss@sources.redhat.com
Subject: [ECOS] Link Error for Hello


Hi,

When I use Makefile to make the hello.c, I got the following error messages.


===================================================================================
arm-elf-gcc -mcpu=arm7tdmi                       -c -o hello.o -g -Wall -Iecos-d/cygwin/usr/eb40/eb_install/include -ffunction-sections -fdata-sections hello.c
arm-elf-gcc -mcpu=arm7tdmi                       -nostartfiles -Lecos-d/cygwin/usr/eb40/eb_install/lib -Wl,--gc-sections -o hello hello.o -Ttarget.ld -nostdlib
/home/Administrator/install/arm-elf/bin/ld: cannot open linker script file target.ld: No such file or directory
collect2: ld returned 1 exit status
make: *** [hello] Error 1
==================================================================================


But the file "target.ld" is really in that directory. Can anyone tell me why?
Thanks!!

Best Regards,
Lin Ming
2002-05-07





-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]