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: HELP on build problem with xscale-elf-gcc


Jing Luo wrote:
> C:\cygwin\ecos_cvs\examples>make
> xscale-elf-gcc -nostartfiles
> -L/cygdrive/c/cygwin/tmp/build/80310redboot_install/lib -Wl,-
> -gc-sections -o hello hello.o -Ttarget.ld -nostdlib
> /cygdrive/c/cygwin/tmp/build/80310redboot_install/lib/libtarget.a(redboot_ma
> in.o): In func
> tion `do_go':
> /ecos-c/cygwin/ecos_cvs/packages/redboot/current/src/main.c:549: undefined
> reference to `R
> edBoot_version'
> collect2: ld returned 1 exit status
> make: *** [hello] Error 1

You are linking a hello world example against a redboot configuration.
Don't do that - a RedBoot configuration is for building redboot only, not
applications. Instead just use the default configuration, using a new build
tree (save file).

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

-- 
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]