List Info

Thread: Re: Problem building my arm-9tdmi-linux cross compiler




Re: Problem building my arm-9tdmi-linux cross compiler
country flaguser name
United States
2008-01-15 08:20:26
I also tried doing a build using 'sh demo-powerpc-970.sh'
and got similar results.  This time it complained about
bfd_powerpc_archs being an undefined reference althought
it's defined in cpu_powerpc.c.  So, it's not target
dependent apparently.  Is something wrong with the way I've
configured things?

I hope I'm not talking to myself here...

----- Original Message ----
From: J Johnson <juke.johnsonyahoo.com>
To: crossgccsourceware.org
Sent: Tuesday, January 15, 2008 8:13:02 AM
Subject: Re: Problem building my arm-9tdmi-linux cross
compiler

It appears that the bfd_get_mach_from_notes() function is
defined in cpu-arm.c but for some reason that source is
never included as part of my build.  Should the cpu-arm.c be
included in my build?

----- Original Message ----
From: J Johnson <juke.johnsonyahoo.com>
To: crossgccsourceware.org
Sent: Monday, January 14, 2008 3:11:55 PM
Subject: Problem building my arm-9tdmi-linux cross compiler

All, 

I'm new to development for embedded systems and it's been a
long while since I've dealt with C/C++, GNU toolchains, etc.
so please bear with me. I'm experimenting with the
crosstool-0.43 in order to build a cross compiler that will
allow me to develop in C/C++ on my Windows XP machine (w/
cygwin) and build executables for an ARM9 chip running some
linux variant. 

I downloaded and extracted the crosstool-0.43 on my windows
box and then executed 'sh demo-arm9tdmi.sh' which apparently
kicked off a bunch of downloads, compilations, etc. It was
running less than an hour when it stopped with the following
error: 

------------------------- BEGIN ERROR OUTPUT
----------------------------------------- 

..../bfd/.libs/libbfd.a(archures.o): In function
`bfd_scan_arch': 
/ecos-c/CNAV/tmp2/crosstool-0.43/build/arm-9tdmi-linux-gnu/g
cc-4.1.0-glibc-2.3.2/binutils-2.16.1/bfd/archures.c:563: und

efined reference to `_bfd_arm_arch' 
..../bfd/.libs/libbfd.a(elf32-arm.o): In function
`elf32_arm_object_p': 
/ecos-c/CNAV/tmp2/crosstool-0.43/build/arm-9tdmi-linux-gnu/g
cc-4.1.0-glibc-2.3.2/binutils-2.16.1/bfd/elf32-arm.c:3332: u

ndefined reference to `_bfd_arm_get_mach_from_notes' 
..../bfd/.libs/libbfd.a(elf32-arm.o): In function
`elf32_arm_merge_private_bfd_data': 
/ecos-c/CNAV/tmp2/crosstool-0.43/build/arm-9tdmi-linux-gnu/g
cc-4.1.0-glibc-2.3.2/binutils-2.16.1/bfd/elf32-arm.c:3481: u

ndefined reference to `_bfd_arm_merge_machines' 
..../bfd/.libs/libbfd.a(elf32-arm.o): In function
`elf32_arm_final_write_processing': 
/ecos-c/CNAV/tmp2/crosstool-0.43/build/arm-9tdmi-linux-gnu/g
cc-4.1.0-glibc-2.3.2/binutils-2.16.1/bfd/elf32-arm.c:5411: u

ndefined reference to `_bfd_arm_update_notes' 
collect2: ld returned 1 exit status 
make[3]: *** [size.exe] Error 1 
make[2]: *** [all-recursive] Error 1 
make[1]: *** [all-recursive-am] Error 2 
make: *** [all-binutils] Error 2 

-------------------------------------- END
----------------------------------------------------- 

Can anyone provide a clue as to what I'm missing? 

Thanks!


     
____________________________________________________________
________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9
tAcJ


     
____________________________________________________________
________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs


--
For unsubscribe information see http://sourcewar
e.org/lists.html#faq


     
____________________________________________________________
________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs


--
For unsubscribe information see http://sourcewar
e.org/lists.html#faq


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )