From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sylvain Gommier To: ecos-discuss@sources.redhat.com Subject: Re: [ECOS] GDB load "timed out" Date: Tue, 31 Jul 2001 08:27:00 -0000 Message-id: <20010731152712.94713.qmail@web13306.mail.yahoo.com> References: <3B65B094.7A2FE320@redhat.com> X-SW-Source: 2001-07/msg00952.html About RedBoot builds: Of course my eCos checkout had just been updated before I made my tests and wrote a mail. And I had read the redboot user's manual too. Here is what goes wrong with the "redboot" template taken out-of-the-box: (see trace below) I thought some package like the C lib. could be missing and that's why I chose the "all" template then... Looks like it was not the good idea to have, was it? Thanks Sylvain -- begin trace -- arm-elf-gcc -c -I//C/devel/redboot/redboot_install/include -I//C/local/src/ecos/packages/redboot/current -I//C/local/src/ecos/packages/redboot/current/src -I//C/local/src/ecos/packages/redboot/current/tests -I. -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority -o //C/devel/redboot/redboot_install/lib/version.o //C/local/src/ecos/packages/redboot/current/src/version.c arm-elf-gcc -mcpu=arm7tdmi -mno-short-load-words -Wl,--gc-sections -Wl,-static -g -nostdlib -L//C/devel/redboot/redboot_install/lib -Ttarget.ld -o //C/devel/redboot/redboot_install/bin/redboot.elf //C/devel/redboot/redboot_install/lib/version.o /c/local/arm/lib/gcc-lib/arm-elf/3.0/../../../../arm-elf/bin/ld: Dwarf Error: Could not find abbrev number 2839. //C/devel/redboot/redboot_install/lib/extras.o: In function `do_load': //C/local/src/ecos/packages/redboot/current/src/load.c:284: undefined reference to `puts' //C/local/src/ecos/packages/redboot/current/src/load.c:308: undefined reference to `putchar' //C/local/src/ecos/packages/redboot/current/src/load.c:386: undefined reference to `puts' //C/devel/redboot/redboot_install/lib/libtarget.a(redboot_main.o): In function `do_reset': //C/local/src/ecos/packages/redboot/current/src/main.c:506: undefined reference to `puts' //C/devel/redboot/redboot_install/lib/libtarget.a(redboot_main.o): In function `do_go': //C/local/src/ecos/packages/redboot/current/src/main.c:476: undefined reference to `puts' //C/local/src/ecos/packages/redboot/current/src/main.c:492: undefined reference to `puts' //C/local/src/ecos/packages/redboot/current/src/main.c:486: undefined reference to `puts' //C/devel/redboot/redboot_install/lib/libtarget.a(redboot_main.o): In function `do_reset': //C/local/src/ecos/packages/redboot/current/src/main.c:507: undefined reference to `putchar' //C/local/src/ecos/packages/redboot/current/src/main.c:509: undefined reference to `puts' //C/devel/redboot/redboot_install/lib/libtarget.a(redboot_io.o): In function `vdump_buf_with_offset': //C/local/src/ecos/packages/redboot/current/src/io.c:351: undefined reference to `puts' //C/local/src/ecos/packages/redboot/current/src/io.c:366: undefined reference to `puts' //C/devel/redboot/redboot_install/lib/libtarget.a(redboot_parse.o): In function `parse_num': //C/local/src/ecos/packages/redboot/current/src/parse.c:313: undefined reference to `puts' //C/local/src/ecos/packages/redboot/current/src/parse.c:340: undefined reference to `putchar' //C/local/src/ecos/packages/redboot/current/src/parse.c:309: undefined reference to `puts' collect2: ld returned 1 exit status make[1]: *** [//C/devel/redboot/redboot_install/bin/redboot.elf] Error 1 make[1]: Leaving directory `/c/devel/redboot/redboot_build/redboot/current' make: *** [build] Error 2 -- end trace -- --- Jonathan Larmour a écrit : > Sylvain Gommier wrote: > > I chose the e7t template with "all" packages and added the RedBoot > > package (there has been an automatic conflict "resolution" here), then set > the > > serial speed (CYGNUM_HAL_VIRTUAL_VECTOR_CHANNELS_DEFAULT_BAUD) to 9600. At > > compile time, I get the following build error: > > (see trace 2 below) > > I'm not an eCos' internals expert yet, what does that mean? Which settings > did > > I missed? > > As Gary points out, your text section LMA seems to low - update your > anonymous CVS tree. > > But with reference to your rebuilding problems, I would recommend having a > read of the RedBoot User's manual: > http://sources.redhat.com/ecos/docs-latest/redboot/redboot.html > which will say (among other things) to use the redboot template, not the > "all" template. > > 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 ___________________________________________________________ Do You Yahoo!? -- Vos albums photos en ligne, Yahoo! Photos : http://fr.photos.yahoo.com