Problem faced in building binutil
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/bug-binutils@gnu.org/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 ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
Re: Problem faced in building binutil
Hi Nick, Thanks for your response. > Makefino is only needed if the info files that are built from the texi > files are out of date. The problem here is that both the info files and > the texi files have come from the same tarball, so they have the same > (approximate anyway) timestamp. One simple solution would be to touch > all the info files in your source tree so that the make system believes > that that are up to date. eg: > >% cd >% find . -name "*.info" -exec touch {} \; > > Alternatively you could install the texinfo package on your system which > will give you a working makeinfo executable. > Before receiving your response, I had also tried building binutils 2.19. Downloaded binutils 2.19 from ftp://ftp.gnu.org/gnu/binutils/binutils-2.19.tar.bz2 Configured binutils 2.19 with following options: ../binutils-2.19/configure --target=mipstx39 --prefix=/home/meena/install Following errors encountered while building 2.19: make[3]: Leaving directory `/home/meena/binutils-2.19/build/bfd/po' make[3]: Entering directory `/home/meena/binutils-2.19/build/bfd/po' make[3]: Nothing to be done for `info'. make[3]: Leaving directory `/home/meena/binutils-2.19/build/bfd/po' make[3]: Entering directory `/home/meena/binutils-2.19/build/bfd' make[3]: Nothing to be done for `info-am'. make[3]: Leaving directory `/home/meena/binutils-2.19/build/bfd' make[2]: *** [info-recursive] Error 1 make[2]: Leaving directory `/home/meena/binutils-2.19/build/bfd' make[1]: *** [all-bfd] Error 2 make[1]: Leaving directory `/home/meena/binutils-2.19/build' make: *** [all] Error 2 Then, I installed texinfo (4.11.dfsg.1-4) package. Further make stops with following messages: 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]: *** [bfd.info] Error make[3]: Leaving directory `/home/meena/binutils-2.19/build/bfd/doc' Making info in po make[3]: Entering directory `/home/meena/binutils-2.19/build/bfd/po' make[3]: Nothing to be done for `info'. make[3]: Leaving directory `/home/meena/binutils-2.19/build/bfd/po' make[3]: Entering directory `/home/meena/binutils-2.19/build/bfd' make[3]: Nothing to be done for `info-am'. make[3]: Leaving directory `/home/meena/binutils-2.19/build/bfd' make[2]: *** [info-recursive] Error 1 make[2]: Leaving directory `/home/meena/binutils-2.19/build/bfd' make[1]: *** [all-bfd] Error 2 make[1]: Leaving directory `/home/meena/binutils-2.19/build' make: *** [all] Error 2 In order to re-check, I have freshly build the binutils which again results into following errors: ../../binutils-2.19/gas/config/tc-mips.c: In function ‘macro_end’: ../../binutils-2.19/gas/config/tc-mips.c:3460: error: format not a string literal and no format arguments ../../binutils-2.19/gas/config/tc-mips.c: In function ‘md_convert_frag’: ../../binutils-2.19/gas/config/tc-mips.c:14453: error: format not a string literal and no format arguments Modified the tc-mips.c file as mentioned in my earlier mail. Further "make" ends with following messages: make[4]: Leaving directory `/home/meena/Binutils/binutils-2.19/build/ld' make[3]: Leaving directory `/home/meena/Binutils/binutils-2.19/build/ld' make[2]: Leaving directory `/home/meena/Binutils/binutils-2.19/build/ld' make[1]: Nothing to be done for `all-target'. make[1]: Leaving directory `/home/meena/Binutils/binutils-2.19/build' "make install" results into make[3]: Entering directory `/home/meena/Binutils/binutils-2.19/build/libiberty/testsuite' make[3]: Nothing to be done for `install'. make[3]: Leaving directory `/home/meena/Binutils/binutils-2.19/build/libiberty/testsuite' make[2]: Leaving directory `/home/meena/Binutils/binutils-2.19/build/libiberty' make[1]: Nothing to be done for `install-target'. make[1]: Leaving directory `/home/meena/Binutils/binutils-2.19/build' The above command results into generation of "/home/meena/install" folder and following sub-folders generated in this directory. me...@meena-laptop:~/install$ ls bin info lib man mipstx39 share Please confirm whether the messages, started with "Nothing to be done for ", generated with make and make install are expected and whether my build is successful or not > Thanks for mentioning this. We have already fixed the problem in the > mainline sources, so you may want to start using them. > >From where, I can get the m
Re: Problem faced in building binutil
Hi Nick, I need one more clarification which was missed earlier. > ../../binutils-2.19.1/gas/config/tc-mips.c:3459: error: format not a > > string literal and no format arguments > > Thanks for mentioning this. We have already fixed the problem in the > mainline sources, so you may want to start using them. > > > Is this problem is specific to ubuntu linux client? This is because We are not getting this error on cygwin client. I am currently working on ubuntu 8.10 intrepid. Could you please tell from where I can get the updated source? Thanks in advance. Meena On Fri, 2009-04-24 at 08:32 +0100, Nick Clifton wrote: > Hi Meena, > > > ../../binutils-2.19.1/gas/config/tc-mips.c:3459: error: format not a > > string literal and no format arguments > > Thanks for mentioning this. We have already fixed the problem in the > mainline sources, so you may want to start using them. > > > 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. > > Makefino is only needed if the info files that are built from the texi > files are out of date. The problem here is that both the info files and > the texi files have come from the same tarball, so they have the same > (approximate anyway) timestamp. One simple solution would be to touch > all the info files in your source tree so that the make system believes > that that are up to date. eg: > >% cd >% find . -name "*.info" -exec touch {} \; > > Alternatively you could install the texinfo package on your system which > will give you a working makeinfo executable. > > Cheers >Nick > > ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
Problem faced in building binutil
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/bug-binutils@gnu.org/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 -- View this message in context: http://www.nabble.com/Problem-faced-in-building-binutil-tp23194892p23194892.html Sent from the Gnu - Binutils - Bugs mailing list archive at Nabble.com. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils