[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem faced in building binutil
From: |
Meena |
Subject: |
Problem faced in building binutil |
Date: |
Thu, 23 Apr 2009 15:59:00 +0530 |
Hi All!
I am facing problem in building binutils. Binutils source has been
downloaded from
http://ftp.gnu.org/gnu/binutils/binutils-2.19.1.tar.gz
For learning purpose, I have configured binutil for mipstx39 using
following command:
../binutils-2.19.1/configure --target=mipstx39
--prefix=/home/meena/install
On doing 'make' afterwards stops with following errors:
../../binutils-2.19.1/gas/config/tc-mips.c: In function ‘macro_end’:
../../binutils-2.19.1/gas/config/tc-mips.c:3459: error: format not a
string literal and no format arguments
../../binutils-2.19.1/gas/config/tc-mips.c: In function
‘md_convert_frag’:
../../binutils-2.19.1/gas/config/tc-mips.c:14452: error: format not a
string literal and no format arguments
The above errors was occurred for below lines of code in tc-mpis.c file:
Line 3459: as_warn(msg)
:
Line 14452: as_warn_where (fragp->fr_file, fragp->fr_line, msg);
Explored on net regarding the cause of above error. Referred the below
link
http://www.mail-archive.com/address@hidden/msg06475.html
Modified the above lines of code as
Line 3459: as_warn("%s", msg)
:
Line 14452: as_warn_where (fragp->fr_file, fragp->fr_line, "%s", msg);
After doing above modifications, the above errors are not coming but
make stops with another warning/error messages as shown below:
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[3]: *** [ld.info] Error 1
make[3]: Leaving directory `/home/meena/binutils-2.19.1/build/ld'
make[2]: *** [info-recursive] Error 1
make[2]: Leaving directory `/home/meena/binutils-2.19.1/build/ld'
make[1]: *** [all-ld] Error 2
make[1]: Leaving directory `/home/meena/binutils-2.19.1/build'
make: *** [all] Error 2
Any idea what could be the cause of above error?
Thanks in advance.
Meena