Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-31-2003, 07:21 AM   #1
LQ Newbie
Registered: Mar 2003
Posts: 27

Rep: Reputation: 15
Building cross-compiling toolchain

I am having Redhat linux 8.0 (2.4.18-14). My software development is based
on ARM processor(Intels xscale PXA255). I want a cross-compile toolchain. As I want the recent
versions I didnot prefer precompiled toolchain. I want to build the toolchain
with new versions. I followed the instructions from

I got the following

Compiling till GCC works fine.
I configured Glibc with
./configure arm-linux --target=arm-linux --prefix=/usr/local/arm-linux
--enable-add-ons. This goes fine

When i run "make", the error message is:

[root@instec glibc-2.2.5]# make
./aclocal.m4:19: error: m4_defn: undefined macro: _m4_divert_diversion
aclocal.m4:33: AC_CHECK_SYMBOL is expanded from...
./aclocal.m4:19: the top level
make: *** [sysdeps/unix/common/configure] Error 1

I have the autoconf-2.53-8

Help me to solve this problem.
Old 06-25-2004, 01:01 AM   #2
LQ Newbie
Registered: Jun 2004
Posts: 6

Rep: Reputation: 0
I'm facing the same problem. However my target platform is i386. i.e., Im trying to build a small Linux sytem on a 64MB partition of my HDD.
Thus, my host is i686 and my target is i386

After compiling binutils, while compiling bootstrap compiler gcc , I'm getting the following errors during make :

make[2]: *** [libgcc/./unwind-dw2.o] Error 1
make[1]: *** [libgcc.a] Error 2
make: *** [all-gcc] Error 2

Can this be a version mismatch problem between gcc, glibc and binutils ???

Does anyone know the EXACT versions and patches for binutils, gcc, glibc for an i386 GNU toolchain?

Thanks in advance,


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error building cross gcc-3.3.2 for i386-mingw32msvc target ugenn Linux - Software 2 10-05-2012 03:33 AM
Cross Compiling dosnlinux Programming 5 03-01-2006 12:12 PM
Building cross-compiler gcc for powerpc-linux ccool Linux - General 3 09-17-2004 07:33 AM
Cross-Building Slackware as a whole? gargamel Slackware - Installation 2 05-09-2004 07:31 PM
Building an ARM7 cross compiler from gcc Charlie_B Linux - Software 2 08-20-2003 09:59 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:41 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration