This is the mail archive of the ecos-discuss@sourceware.org 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: cannot find vectors.o


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


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