[ECOS] Link Error for Hello

Seung-Jin, Han drrector@dreamx.net
Mon May 20 17:30:00 GMT 2002

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


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?

Best Regards,
Lin Ming

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

More information about the Ecos-discuss mailing list