Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [arm-gnu] gcc build problem for arm-linux


  • To: Pradip Singh <pradip.singh@xxxxxxxxxxxxxxx>
  • Subject: Re: [arm-gnu] gcc build problem for arm-linux
  • From: Mark Mitchell <mark@xxxxxxxxxxxxxxxx>
  • Date: Fri, 29 Oct 2004 17:47:03 -0700

Pradip Singh wrote:

Hi all,

I am trying to build the tool chain for arm-linux target using the following command. I have build the binutils successfully.
 perl -pi -e 's/^(TARGET_LIBGCC2_CFLAGS.*)/$1 -Dinhibit_libc -D__gthr_posix_h/' ../gcc-2004-q1a/gcc/config/arm/t-linux
echo 'T_CFLAGS = -Dinhibit_libc -D__gthr_posix_h' >> ../gcc-2004-q1a/gcc/config/arm/t-linux
../gcc-2004-q1a/configure --target=arm-linux --prefix=/root/armLinux1/arm  --with-headers=/root/armLinux1/linux-2.6.6/include --disable-shared --disable-threads --enable-languages="c"

 But during building the gcc-2004-q1a i am getting the following error

From:

arm-linux-ar: error while loading shared libraries: arm-linux-ar: symbol fnmatch, version GLIBC_2.2.3 not defined in file libc.so.6 with link time reference

it sounds like the version of binutils that you build will not work on your system. If you run "arm-linux-ar" by itself does it work?

--
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark@xxxxxxxxxxxxxxxx