Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: buildroot binutils-2.17 compile error
PostPosted: Thu Nov 15, 2007 11:45 pm 
Offline

Joined: Mon Oct 23, 2006 4:15 pm
Posts: 53
Hi everyone, I'm revisiting an old project and I have begun to rebuild buildroot. The build fails on binutils-2.17 with the following warning:

Code:
WARNING: `makeinfo' is missing on your system.  You should only need it if
         you modified a `.texi' or `.texinfo' file, or any other file
         indirectly affecting the aspect of the manual.  The spurious
         call might also be the consequence of using a buggy `make' (AIX,
         DU, IRIX).  You might want to install the `Texinfo' package or
         the `GNU make' package.  Grab either from any GNU archive site.


but texinfo is installed on my system. I can invoke makeinfo from the command line so I know its in my path. Anyone have any ideas about this? Thanks, Matt.


Code:
Checking build system dependencies:
CC clean:                                       Ok
CXX clean:                                      Ok
CPP clean:                                      Ok
CFLAGS clean:                                   Ok
INCLUDES clean:                                 Ok
CXXFLAGS clean:                                 Ok
which installed:                                Ok
sed works:                                      Ok (/bin/sed)
GNU make version '3.81':                        Ok
C compiler '/usr/bin/gcc'
C compiler version '4.2.2':                     Ok
C++ compiler '/usr/bin/c++'
C++ compiler version '4.2.2':                   Ok
bison installed:                                Ok
flex installed:                                 Ok
gettext installed:                              Ok
makeinfo installed:                             Ok
Build system dependencies:                      Ok

make -j2 -C /usr/arm/buildroot-atmel/toolchain_build_arm_small/binutils-2.17-build all
make[1]: Entering directory `/usr/arm/buildroot-atmel/toolchain_build_arm_small/binutils-2.17-build'
make[2]: Entering directory `/usr/arm/buildroot-atmel/toolchain_build_arm_small/binutils-2.17-build'
make[2]: Nothing to be done for `all-target'.
make[3]: Entering directory `/usr/arm/buildroot-atmel/toolchain_build_arm_small/binutils-2.17-build/intl'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/arm/buildroot-atmel/toolchain_build_arm_small/binutils-2.17-build/intl'
make[3]: Entering directory `/usr/arm/buildroot-atmel/toolchain_build_arm_small/binutils-2.17-build/etc'
for f in standards.info configure.info; do \
          if test -f /usr/arm/buildroot-atmel/toolchain_build_arm_small/binutils-2.17/etc/`echo $f | sed -e 's/.info$/.texi/'`; then \
            if make "MAKEINFO=/usr/arm/buildroot-atmel/toolchain_build_arm_small/binutils-2.17/missing makeinfo --split-size=5000000 --split-size=5000000" $f; then \
              true; \
            else \
              exit 1; \
            fi; \
          fi; \
        done
make[4]: Entering directory `/usr/arm/buildroot-atmel/toolchain_build_arm_small/binutils-2.17-build/etc'
make[4]: `/usr/arm/buildroot-atmel/toolchain_build_arm_small/binutils-2.17/etc/standards.info' is up to date.
make[4]: Leaving directory `/usr/arm/buildroot-atmel/toolchain_build_arm_small/binutils-2.17-build/etc'
make[3]: Entering directory `/usr/arm/buildroot-atmel/toolchain_build_arm_small/binutils-2.17-build/libiberty'
make[4]: Entering directory `/usr/arm/buildroot-atmel/toolchain_build_arm_small/binutils-2.17-build/etc'
make[4]: `/usr/arm/buildroot-atmel/toolchain_build_arm_small/binutils-2.17/etc/configure.info' is up to date.
make[4]: Leaving directory `/usr/arm/buildroot-atmel/toolchain_build_arm_small/binutils-2.17-build/etc'
make[3]: Leaving directory `/usr/arm/buildroot-atmel/toolchain_build_arm_small/binutils-2.17-build/etc'
make[4]: Entering directory `/usr/arm/buildroot-atmel/toolchain_build_arm_small/binutils-2.17-build/libiberty/testsuite'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/arm/buildroot-atmel/toolchain_build_arm_small/binutils-2.17-build/libiberty/testsuite'
make[3]: Leaving directory `/usr/arm/buildroot-atmel/toolchain_build_arm_small/binutils-2.17-build/libiberty'
make[3]: Entering directory `/usr/arm/buildroot-atmel/toolchain_build_arm_small/binutils-2.17-build/bfd'
Making info in doc
make[4]: Entering directory `/usr/arm/buildroot-atmel/toolchain_build_arm_small/binutils-2.17-build/bfd/doc'
restore=: && backupdir=".am$$" && \
        am__cwd=`pwd` && cd /usr/arm/buildroot-atmel/toolchain_build_arm_small/binutils-2.17/bfd/doc && \
        rm -rf $backupdir && mkdir $backupdir && \
        for f in /usr/arm/buildroot-atmel/toolchain_build_arm_small/binutils-2.17/bfd/doc/bfd.info /usr/arm/buildroot-atmel/toolchain_build_arm_small/binutils-2.17/bfd/doc/bfd.info-[0-9] /usr/arm/buildroot-atmel/toolchain_build_arm_small/binutils-2.17/bfd/doc/bfd.info-[0-9][0-9] /usr/arm/buildroot-atmel/toolchain_build_arm_small/binutils-2.17/bfd/doc/bfd.i[0-9] /usr/arm/buildroot-atmel/toolchain_build_arm_small/binutils-2.17/bfd/doc/bfd.i[0-9][0-9]; do \
          if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
        done; \
        cd "$am__cwd"; \
        if /usr/arm/buildroot-atmel/toolchain_build_arm_small/binutils-2.17/missing makeinfo --split-size=5000000 --split-size=5000000   -I /usr/arm/buildroot-atmel/toolchain_build_arm_small/binutils-2.17/bfd/doc \
         -o /usr/arm/buildroot-atmel/toolchain_build_arm_small/binutils-2.17/bfd/doc/bfd.info /usr/arm/buildroot-atmel/toolchain_build_arm_small/binutils-2.17/bfd/doc/bfd.texinfo; \
        then \
          rc=0; \
          cd /usr/arm/buildroot-atmel/toolchain_build_arm_small/binutils-2.17/bfd/doc; \
        else \
          rc=$?; \
          cd /usr/arm/buildroot-atmel/toolchain_build_arm_small/binutils-2.17/bfd/doc && \
          $restore $backupdir/* `echo ".//usr/arm/buildroot-atmel/toolchain_build_arm_small/binutils-2.17/bfd/doc/bfd.info" | sed 's|[^/]*$||'`; \
        fi; \
        rm -rf $backupdir; exit $rc
WARNING: `makeinfo' is missing on your system.  You should only need it if
         you modified a `.texi' or `.texinfo' file, or any other file
         indirectly affecting the aspect of the manual.  The spurious
         call might also be the consequence of using a buggy `make' (AIX,
         DU, IRIX).  You might want to install the `Texinfo' package or
         the `GNU make' package.  Grab either from any GNU archive site.
make[4]: *** [/usr/arm/buildroot-atmel/toolchain_build_arm_small/binutils-2.17/bfd/doc/bfd.info] Error 1
make[4]: Leaving directory `/usr/arm/buildroot-atmel/toolchain_build_arm_small/binutils-2.17-build/bfd/doc'
Making info in po
make[4]: Entering directory `/usr/arm/buildroot-atmel/toolchain_build_arm_small/binutils-2.17-build/bfd/po'
make[4]: Nothing to be done for `info'.
make[4]: Leaving directory `/usr/arm/buildroot-atmel/toolchain_build_arm_small/binutils-2.17-build/bfd/po'
make[4]: Entering directory `/usr/arm/buildroot-atmel/toolchain_build_arm_small/binutils-2.17-build/bfd'
make[4]: Nothing to be done for `info-am'.
make[4]: Leaving directory `/usr/arm/buildroot-atmel/toolchain_build_arm_small/binutils-2.17-build/bfd'
make[3]: *** [info-recursive] Error 1
make[3]: Leaving directory `/usr/arm/buildroot-atmel/toolchain_build_arm_small/binutils-2.17-build/bfd'
make[2]: *** [all-bfd] Error 2
make[2]: Leaving directory `/usr/arm/buildroot-atmel/toolchain_build_arm_small/binutils-2.17-build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/arm/buildroot-atmel/toolchain_build_arm_small/binutils-2.17-build'
make: *** [/usr/arm/buildroot-atmel/toolchain_build_arm_small/binutils-2.17-build/binutils/objdump] Error 2
cp      -f .config      configs/at91sam9263ek-2007-11-15.config

[/code]


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 06, 2008 10:05 pm 
Offline

Joined: Wed Dec 12, 2007 8:55 pm
Posts: 2
I have the same problem! My host OS is Mandriva Linux 2007. Texinfo installed. I try to change buildroot configuration, but it not solve problem.

P.S. Sorry for my english.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 10, 2008 6:36 am 
Offline

Joined: Wed Feb 14, 2007 5:51 am
Posts: 10
Has anyone found a solution for this? I'm following the directions on linux4sam.org:

1) download buildroot
2) run make menuconfig (don't do anything just exit)
3) run sudo make > at91sam8260dfc.log 2>&1

I'm getting the exact same binutils errors as the OP.

- Coleman


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 04, 2008 7:47 pm 
Offline

Joined: Thu Jul 12, 2007 9:40 pm
Posts: 9
Location: michigan, usa
Several of us are getting the same failure using bitbake and fedora 8. Has anyone been successful and what is your formula, please include version numbers.

Sam


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 06, 2008 12:00 am 
Offline

Joined: Thu Jul 12, 2007 9:40 pm
Posts: 9
Location: michigan, usa
I switched over to my othere machin the runs fedora 6: i386 2.6.22.14-72.fc6. And I can build the angstrom-minimal-image without errors or warnings. There appears to be a problem with the Fedora 8 in x86_64.

Sam


Top
 Profile  
 
 Post subject: Successful build on New Stuff
PostPosted: Thu May 08, 2008 5:47 pm 
Offline

Joined: Fri Apr 25, 2008 4:30 pm
Posts: 6
Tried to build the older recipes that are on the Linux4sam webstie with Fedora 8 and got the same bin-utils problem!

As a test I checked out the latest version of the OE system and looked at the available builds in the angstrom packages. Set the distro to 2008.1 and the machine to AT91SAM9263-EK and bitbaked the gpe package and it was successful, so my theory is old recipes and new linux just won't work. (specifically when it comes to the bin-utils 2.17 compile)

I'm trying to come up with a successful build on Fedora Core 6 that I had, we see if that will work.

I'll let you know if I have success.

Joe


Top
 Profile  
 
 Post subject: Changed bin-utils to 2.16
PostPosted: Fri May 09, 2008 10:30 pm 
Offline

Joined: Fri Apr 25, 2008 4:30 pm
Posts: 6
Got past the error by adding the following to the local.conf

PREFERRED_VERSION_binutils-cross = "2.16"

At the time that the 2007.1 distro of Angstrom was built, it was recommended to use <2.17 of bin-utils.

Dump the tmp file and run bitbake again and you should make it past the cross compile of bin-utils

Joe


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 12, 2008 4:14 pm 
Offline

Joined: Tue May 06, 2008 10:36 am
Posts: 4
Location: Italy
Hi all,

I have same problem on my Fedora Core 7.
I solved it add a patch for configure script of binutils-cross-2.17.50.0.5-r1:
1 - add org.openembedded.dev/packages/binutils/binutils-2.17.50.0.5/binutils-configure-texinfo-version.patch
2 - modify org.openembedded.dev/packages/binutils/binutils_2.17.50.0.5.bb

binutils-configure-texinfo-version.patch
Code:
Index: binutils-2.17.50.0.5/configure
===================================================================
--- binutils-2.17.50.0.5.orig/configure
+++ binutils-2.17.50.0.5/configure
@@ -3680,7 +3680,7 @@ case " $build_configdirs " in
     # For an installed makeinfo, we require it to be from texinfo 4.4 or
     # higher, else we use the "missing" dummy.
     if ${MAKEINFO} --version \
-       | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|[5-9])' >/dev/null 2>&1; then
+       | egrep 'texinfo[^0-9]*(4\.([6-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
       :
     else
       MAKEINFO="$MISSING makeinfo"
Index: binutils-2.17.50.0.5/configure.in
===================================================================
--- binutils-2.17.50.0.5.orig/configure.in
+++ binutils-2.17.50.0.5/configure.in
@@ -2231,7 +2231,7 @@ changequote(,)
     # For an installed makeinfo, we require it to be from texinfo 4.4 or
     # higher, else we use the "missing" dummy.
     if ${MAKEINFO} --version \
-       | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|[5-9])' >/dev/null 2>&1; then
+       | egrep 'texinfo[^0-9]*(4\.([6-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
       :
     else
       MAKEINFO="$MISSING makeinfo"


binutils_2.17.50.0.5.bb
Code:
require binutils.inc

PR = "r1"

SRC_URI = \
    "${KERNELORG_MIRROR}/pub/linux/devel/binutils/binutils-${PV}.tar.bz2 \
     file://binutils-2.16.91.0.6-objcopy-rename-errorcode.patch;patch=1 \
     file://binutils-configure-texinfo-version.patch;patch=1 \
     file://binutils-uclibc-100-uclibc-conf.patch;patch=1 \
     file://110-arm-eabi-conf.patch;patch=1 \
     file://binutils-uclibc-300-001_ld_makefile_patch.patch;patch=1 \
     file://binutils-uclibc-300-006_better_file_error.patch;patch=1 \
     file://binutils-uclibc-300-012_check_ldrunpath_length.patch;patch=1 \
     "


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: