error in binutils make
Hi,
While installing binutils-2.17, im stuck with some weird error. I configured binutils as ./configure --prefix=/opt/x86_64-unknown-linux-gnu-gcc --target=x86_64-unknown-linux-gnu --with-sysroot=/opt/x86_64-unknown-linux-gnu-root and i did make all which results in error shown below... make[3]: Leaving directory `/home/gobi/build/binutils-build/bfd/po' make[3]: Entering directory `/home/gobi/build/binutils-build/bfd' /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I/home/gobi//tarballs/binutils-2.17/bfd -I. -I. -I/home/gobi//tarballs/binutils-2.17/bfd -I/home/gobi//tarballs/binutils-2.17/bfd/../include -I/home/gobi//tarballs/binutils-2.17/bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -Dinhibit-libc -c -o archive.lo /home/gobi//tarballs/binutils-2.17/bfd/archive.c gcc -DHAVE_CONFIG_H -I. -I/home/gobi//tarballs/binutils-2.17/bfd -I. -I. -I/home/gobi//tarballs/binutils-2.17/bfd -I/home/gobi//tarballs/binutils-2.17/bfd/../include -I/home/gobi//tarballs/binutils-2.17/bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -Dinhibit-libc -c /home/gobi//tarballs/binutils-2.17/bfd/archive.c <command line>:1:8: error: missing whitespace after the macro name make[3]: *** [archive.lo] Error 1 make[3]: Leaving directory `/home/gobi/build/binutils-build/bfd' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/home/gobi/build/binutils-build/bfd' make[1]: *** [install-bfd] Error 2 make[1]: Leaving directory `/home/gobi/build/binutils-build' make: *** [install] Error 2 + exit 1 This is the main error i got.. <command line>:1:8: error: missing whitespace after the macro name Someone pl help me to overcome this? |
You're building from source? Why not install from a binary package using your package manager? Are you doing LFS or something? What distro are you using?
|
Hi matthew,
Thanks for your reply. The problem solved. Before invoking this configure i just did " unset CFLAGS " and everything went perfect. Though i couldn understand the problem, im atleast happy with the proceedings. Thanks Gk |
But why not install from a binary package? You don't have to compile everything from source code you know. Unless you have some specific reason to build everything, it's usually much more convenient to install from binary packages.
What is your distro? You're using FC3 (according to your profile)? It has binary packages for these sorts of tools. Building your own compiler toolchain is something most people really don't want to be doing... It's up to you, but you'd save a lot of time and potential problems by just installing Fedora's pre-built packages. |
Quote:
|
All times are GMT -5. The time now is 12:20 AM. |