This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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: 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.johnson@yahoo.com>
To: crossgcc@sourceware.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/gcc-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/gcc-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/gcc-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/gcc-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=Ahu06i62sR8HDtDypao8Wcj9tAcJ


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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]