From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Larmour To: "Narayana, Venkat A." Cc: 'Gary Thomas' , ecos-discuss@sourceware.cygnus.com Subject: Re: [ECOS] Help! on building ecosconfigure Date: Thu, 19 Apr 2001 12:35:00 -0000 Message-id: <3ADF3E04.D87FCF32@redhat.com> References: X-SW-Source: 2001-04/msg00216.html [ Please trim unnecessary quoted text in future. ] "Narayana, Venkat A." wrote: > > Hi, > Thanks for the reply.After you have pointed out, that my 'ld' is from > arm-linux, instead of arm-elf/xscale-elf,i looked at my tools/biin and > realised > that xscale-elf-gcc => arm-linux-gcc. You did this yourself I presume. > So, i changed xscale-elf-gcc => > arm-elf-gcc > and did a 'make' in my redboot.ROM directory, to build ROM startup files. > Guess what!!! It built the binaries!. BUT, after i did 'make clean' and then > did > 'make'( i want ot build ROM Startup bin files),now, i got a whole bunch of > new > errors like below. > [snip > Why am i getting these new errors/ does my path is bad? > And why did in the mixed up case of gcc and ld, binaries got built. I thought the whole point before was that you couldn't build anything when you had linked the xscale-elf tools to arm-linux tools. > ___Start____ > redboot_net_io.o(.text+0xa00): undefined reference to `puts' > redboot_net_io.o(.text+0xa4c): undefined reference to `puts' > /home/users/redboot.ROM/install/lib/libtarget.a(io_flash_flash.o): In > function `flash_erase': > io_flash_flash.o(.text+0x2c8): undefined reference to `putchar' > io_flash_flash.o(.text+0x2e0): undefined reference to `putchar' > /home/users/redboot.ROM/install/lib/libtarget.a(io_flash_flash.o): In > function `flash_program' It looks to me like more changed than just a make clean - I tried what you did here for the iq80310 target (which I assume is what you are using, but you don't say) and it worked fine. You can get to a more consistent state by deleting _everything_ in your build directory, including your entire install tree with the exception of the .ecc file. Then rerun "ecosconfig tree" and then "make". 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