[ECOS] HELP on build problem with xscale-elf-gcc

Jonathan Larmour jlarmour@redhat.com
Mon Feb 18 09:57:00 GMT 2002

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).

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

More information about the Ecos-discuss mailing list