This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: cannot find vectors.o
- From: Nick Garnett <nickg at ecoscentric dot com>
- To: Srinivas rao <ch_srinivas321 at yahoo dot co dot in>
- Cc: ecos <ecos-discuss at sourceware dot org>
- Date: 12 Dec 2006 10:38:39 +0000
- Subject: Re: [ECOS] cannot find vectors.o
- References: <20061212045209.54725.qmail@web7910.mail.in.yahoo.com>
Srinivas rao <ch_srinivas321@yahoo.co.in> writes:
> Hi All,
>
> - I wrote the application for USB device test on
> eCos.
>
> - It is only application and its not depending on any USB
> packages in eCos.
>
> - Iam getting one error is given below. pls help me on below error
>
>
>
>
> /usr/bin/ld: skipping incompatible
> /home/naveen/srinu/usb/ecos/scp_builds/usb_app_install//lib/vectors.o when
> searching for vectors.o
> /usr/bin/ld: cannot find vectors.o
> collect2: ld
> returned 1 exit status
> make: *** [usb_dev] Error 1
I don't know what target you are using, but /usr/bin/ld is almost
certainly the wrong linker to use. You need to link with the linker
that comes with the toolchain you used to compile eCos and your code.
Take a look at the documentation on how to build applications.
--
Nick Garnett eCos Kernel Architect
http://www.ecoscentric.com The eCos and RedBoot experts
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss