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: crosstool-ng ./ct-ng build error


Hi Yann,
Hi All,

I think I have found the error source.

When I enter the directory {ct-ng home}//bin/targets/src/mpfr-2.3.1 .

And type $ autoreconf -fi

There is the error hint:

configure.in:286: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.in:316: error: possibly undefined macro: AC_PROG_LIBTOOL
autoreconf-2.61: /usr/bin/autoconf-2.61 failed with exit status: 1

How to solve this ?


Regards,
tao
2008/8/14

2008/8/14, tao <cvs.bsd@gmail.com>:
> Hi Yann,
> Hi All,
>
>
> I use Gentoo Linux 2.6.24-gentoo-r8.
>
> I have installed autoreconf and libtool on my system:
>
> $ autoconf --version
> autoconf (GNU Autoconf) 2.61
> Copyright (C) 2006 Free Software Foundation, Inc.
> This is free software.  You may redistribute copies of it under the terms of
> the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
> There is NO WARRANTY, to the extent permitted by law.
>
> Written by David J. MacKenzie and Akim Demaille.
>
> $ autoreconf --version
> autoreconf (GNU Autoconf) 2.61
> Copyright (C) 2006 Free Software Foundation, Inc.
> This is free software.  You may redistribute copies of it under the terms of
> the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
> There is NO WARRANTY, to the extent permitted by law.
>
> Written by David J. MacKenzie and Akim Demaille.
>
> $ libtool --version
> ltmain.sh (GNU libtool) 1.5.26 (1.1220.2.493 2008/02/01 16:58:18)
>
> Copyright (C) 2008  Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> $ automake --version
> automake (GNU automake) 1.10.1
> Copyright (C) 2008 Free Software Foundation, Inc.
> License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
>
> Written by Tom Tromey <tromey@redhat.com>
>       and Alexandre Duret-Lutz <adl@gnu.org>.
>
>
> My build environment is :
>
> arm-unknown-linux-uclibc
> Linux kernel version (2.6.26.1)
> GMP version (4.2.2)
> MPFR version (2.3.1)
> binutils version (2.18.50.0.8)
> gcc version (4.3.1)
> uClibc version (0.9.29)
>
> But the build error still occur:
> [INFO ]  =================================================================
> [INFO ]  Extracting and patching toolchain components
> [DEBUG]    Already extracted 'linux-2.6.26.1'
> [DEBUG]    Already extracted 'gmp-4.2.2'
> [DEBUG]    Already extracted 'mpfr-2.3.1'
> [EXTRA]    Re-building autotools files
> [DEBUG]    ==> Executing: 'autoreconf -fi'
> [ALL  ]    autom4te: unknown language: Autoconf-without-aclocal-m4
> [ALL  ]    aclocal: autom4te failed with exit status: 1
> [ALL  ]    autoreconf: aclocal failed with exit status: 1
> [ALL  ]     at /usr/local/bin/autoreconf line 263
> [ERROR]    Build failed in step 'Extracting and patching toolchain components'
> [ERROR]    Error happened in
> '/usr/local/crosstool-ng/current/lib/ct-ng-1.2.0+svn_trunk@948/scripts/functions'
> in function 'CT_DoExecLog' (line unknown, sorry)
> [ERROR]          called from
> '/usr/local/crosstool-ng/current/lib/ct-ng-1.2.0+svn_trunk@948/scripts/build/mpfr.sh'
> at line # 39 in function 'do_mpfr_extract'
> [ERROR]          called from
> '/usr/local/crosstool-ng/current/lib/ct-ng-1.2.0+svn_trunk@948/scripts/crosstool.sh'
> at line # 381 in function 'main'
> [ERROR]    Look at
> '/home/tao/x-tools/arm-unknown-linux-uclibc/build.log' for more info
> on this error.
> [ERROR]  (elapsed: 0:01.19)
>
> Regards,
> tao
>
> 2008/8/13, Yann E. MORIN <yann.morin.1998@anciens.enib.fr>:
> > Hello Tao!
> > Hello All!
> >
> > On Wednesday 13 August 2008 11:15:42 tao wrote:
> > > [INFO ]  Extracting and patching toolchain components
> > > [EXTRA]    Re-building autotools files
> > > [ERROR]    Build failed in step 'Extracting and patching toolchain components'
> > > [ERROR]    Error happened in
> > > '/usr/local/crosstool-ng/current/lib/ct-ng-1.2.0+svn_trunk@948/scripts/functions'
> > > in function 'CT_DoExecLog' (line unknown, sorry)
> > > [ERROR]          called from
> > > '/usr/local/crosstool-ng/current/lib/ct-ng-1.2.0+svn_trunk@948/scripts/build/mpfr.sh'
> > > at line # 39 in function 'do_mpfr_extract'
> > > [ERROR]          called from
> > > '/usr/local/crosstool-ng/current/lib/ct-ng-1.2.0+svn_trunk@948/scripts/crosstool.sh'
> > > at line # 381 in function 'main'
> > > [ERROR]    Look at
> > > '/home/tao/x-tools/arm-unknown-linux-uclibc/build.log' for more info
> > > on this error.
> >
> > Looks like you have a problem with your autotools. Can you check that you have
> > autoreconf and libtoolize onyour system? If not, then install the needed
> > packages for your distribution (Debian calls them 'autoconf' and 'libtool',
> > yours may differ).
> >
> > Regards,
> > Yann E. MORIN.
> >
> > --
> > .-----------------.--------------------.------------------.--------------------.
> > |  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
> > | +0/33 662376056 | Software  Designer | \ / CAMPAIGN     |   ^                |
> > | --==< °_° >==-- °------------.-------:  X  AGAINST      |  /e\  There is no  |
> > | http://ymorin.is-a-geek.org/ | * _ * | / \ HTML MAIL    |  """  conspiracy.  |
> > °------------------------------°-------°------------------°--------------------°
> >
> >
>

--
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]