Dear All,
It will be great if anyone can help me out. I am new in Unbuntu (9.04), in fact in Linux environment and was trying to generate arm-elf binaries for cortex-m3 target. I am refering http://eluaproject.dreamhosters.com/en/Building_GCC_for_Cortex In Step 1, I am getting following error, don't know how to proceed....... gcc -DHAVE_CONFIG_H -I. -I../../gas -I. -I. -I../../gas -I../bfd -I../../gas/config -I../../gas/../include -I../../gas/.. -I../../gas/../bfd -DLOCALEDIR="\"/home/xxxxx/cross-cortex/share/locale \"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c ../../gas/config/tc-arm.c cc1: warnings being treated as errors ../../gas/config/tc-arm.c: In function ‘s_arm_unwind_save_mmxwr’: ../../gas/config/tc-arm.c:3459: error: format not a string literal and no format arguments ../../gas/config/tc-arm.c:3473: error: format not a string literal and no format arguments ../../gas/config/tc-arm.c: In function ‘s_arm_unwind_save_mmxwcg’: ../../gas/config/tc-arm.c:3591: error: format not a string literal and no format arguments ../../gas/config/tc-arm.c:3606: error: format not a string literal and no format arguments ../../gas/config/tc-arm.c: In function ‘s_arm_unwind_movsp’: ../../gas/config/tc-arm.c:3712: error: format not a string literal and no format arguments make[4]: *** [tc-arm.o] Error 1 make[4]: Leaving directory `/home/varung/Build/binutils-2.19.1/build/gas' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/varung/Build/binutils-2.19.1/build/gas' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/varung/Build/binutils-2.19.1/build/gas' make[1]: *** [all-gas] Error 2 make[1]: Leaving directory `/home/xxxxx/Build/binutils-2.19.1/build' make: *** [all] Error 2 Pls. help me out. Thanks and Regards, Varun Goyal _______________________________________________ Elua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
http://www.mail-archive.com/bug-binutils@.../msg06475.html
Best, Bogdan On Thu, Sep 3, 2009 at 9:14 AM, varung <[hidden email]> wrote: Dear All, _______________________________________________ Elua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
Thanks for the prompt reply..... It worked!
I am delighted.... let me move to the next step.... Regards, Varun -----Original Message----- From: Bogdan Marinescu <[hidden email]> Reply-to: eLua Users and Development List <[hidden email]> To: eLua Users and Development List <[hidden email]> Subject: Re: [eLua-dev] Error in building binutils for cortex Date: Thu, 3 Sep 2009 09:57:57 +0300 http://www.mail-archive.com/bug-binutils@.../msg06475.html Best, Bogdan On Thu, Sep 3, 2009 at 9:14 AM, varung <[hidden email]> wrote: Dear All, It will be great if anyone can help me out. I am new in Unbuntu (9.04), in fact in Linux environment and was trying to generate arm-elf binaries for cortex-m3 target. I am refering http://eluaproject.dreamhosters.com/en/Building_GCC_for_Cortex In Step 1, I am getting following error, don't know how to proceed....... gcc -DHAVE_CONFIG_H -I. -I../../gas -I. -I. -I../../gas -I../bfd -I../../gas/config -I../../gas/../include -I../../gas/.. -I../../gas/../bfd -DLOCALEDIR="\"/home/xxxxx/cross-cortex/share/locale \"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c ../../gas/config/tc-arm.c cc1: warnings being treated as errors ../../gas/config/tc-arm.c: In function ‘s_arm_unwind_save_mmxwr’: ../../gas/config/tc-arm.c:3459: error: format not a string literal and no format arguments ../../gas/config/tc-arm.c:3473: error: format not a string literal and no format arguments ../../gas/config/tc-arm.c: In function ‘s_arm_unwind_save_mmxwcg’: ../../gas/config/tc-arm.c:3591: error: format not a string literal and no format arguments ../../gas/config/tc-arm.c:3606: error: format not a string literal and no format arguments ../../gas/config/tc-arm.c: In function ‘s_arm_unwind_movsp’: ../../gas/config/tc-arm.c:3712: error: format not a string literal and no format arguments make[4]: *** [tc-arm.o] Error 1 make[4]: Leaving directory `/home/varung/Build/binutils-2.19.1/build/gas' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/varung/Build/binutils-2.19.1/build/gas' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/varung/Build/binutils-2.19.1/build/gas' make[1]: *** [all-gas] Error 2 make[1]: Leaving directory `/home/xxxxx/Build/binutils-2.19.1/build' make: *** [all] Error 2 Pls. help me out. Thanks and Regards, Varun Goyal _______________________________________________ Elua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev _______________________________________________ Elua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev _______________________________________________ Elua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
In reply to this post by BogdanM
Dear All,
I am getting warning in step 3 (Building Newlib) as below, configure: WARNING: unrecognized options: --enable-interwork, --disable-newlib-supplied-syscalls, --with-gnu-ld, --with-gnu-as, --disable-shared Is it fine to proceed? Regards, Varun -----Original Message----- From: Bogdan Marinescu <[hidden email]> Reply-to: eLua Users and Development List <[hidden email]> To: eLua Users and Development List <[hidden email]> Subject: Re: [eLua-dev] Error in building binutils for cortex Date: Thu, 3 Sep 2009 09:57:57 +0300 http://www.mail-archive.com/bug-binutils@.../msg06475.html Best, Bogdan On Thu, Sep 3, 2009 at 9:14 AM, varung <[hidden email]> wrote: Dear All, It will be great if anyone can help me out. I am new in Unbuntu (9.04), in fact in Linux environment and was trying to generate arm-elf binaries for cortex-m3 target. I am refering http://eluaproject.dreamhosters.com/en/Building_GCC_for_Cortex In Step 1, I am getting following error, don't know how to proceed....... gcc -DHAVE_CONFIG_H -I. -I../../gas -I. -I. -I../../gas -I../bfd -I../../gas/config -I../../gas/../include -I../../gas/.. -I../../gas/../bfd -DLOCALEDIR="\"/home/xxxxx/cross-cortex/share/locale \"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c ../../gas/config/tc-arm.c cc1: warnings being treated as errors ../../gas/config/tc-arm.c: In function ‘s_arm_unwind_save_mmxwr’: ../../gas/config/tc-arm.c:3459: error: format not a string literal and no format arguments ../../gas/config/tc-arm.c:3473: error: format not a string literal and no format arguments ../../gas/config/tc-arm.c: In function ‘s_arm_unwind_save_mmxwcg’: ../../gas/config/tc-arm.c:3591: error: format not a string literal and no format arguments ../../gas/config/tc-arm.c:3606: error: format not a string literal and no format arguments ../../gas/config/tc-arm.c: In function ‘s_arm_unwind_movsp’: ../../gas/config/tc-arm.c:3712: error: format not a string literal and no format arguments make[4]: *** [tc-arm.o] Error 1 make[4]: Leaving directory `/home/varung/Build/binutils-2.19.1/build/gas' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/varung/Build/binutils-2.19.1/build/gas' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/varung/Build/binutils-2.19.1/build/gas' make[1]: *** [all-gas] Error 2 make[1]: Leaving directory `/home/xxxxx/Build/binutils-2.19.1/build' make: *** [all] Error 2 Pls. help me out. Thanks and Regards, Varun Goyal _______________________________________________ Elua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev _______________________________________________ Elua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev _______________________________________________ Elua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
Definitely not. What version of Newlib are you using?
Best, Bogdan On Thu, Sep 3, 2009 at 4:08 PM, varung <[hidden email]> wrote: Dear All, _______________________________________________ Elua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
newlib1.17.0 Regards, Varun -----Original Message----- From: Bogdan Marinescu <[hidden email]> Reply-to: eLua Users and Development List <[hidden email]> To: eLua Users and Development List <[hidden email]> Subject: Re: [eLua-dev] Error in building binutils for cortex Date: Thu, 3 Sep 2009 16:13:16 +0300 Definitely not. What version of Newlib are you using? Best, Bogdan On Thu, Sep 3, 2009 at 4:08 PM, varung <[hidden email]> wrote: Dear All, I am getting warning in step 3 (Building Newlib) as below, configure: WARNING: unrecognized options: --enable-interwork, --disable-newlib-supplied-syscalls, --with-gnu-ld, --with-gnu-as, --disable-shared Is it fine to proceed? Regards, Varun -----Original Message----- From: Bogdan Marinescu <[hidden email]> Reply-to: eLua Users and Development List <[hidden email]> To: eLua Users and Development List <[hidden email]> Subject: Re: [eLua-dev] Error in building binutils for cortex Date: Thu, 3 Sep 2009 09:57:57 +0300 http://www.mail-archive.com/bug-binutils@.../msg06475.html Best, Bogdan On Thu, Sep 3, 2009 at 9:14 AM, varung <[hidden email]> wrote: Dear All, It will be great if anyone can help me out. I am new in Unbuntu (9.04), in fact in Linux environment and was trying to generate arm-elf binaries for cortex-m3 target. I am refering http://eluaproject.dreamhosters.com/en/Building_GCC_for_Cortex In Step 1, I am getting following error, don't know how to proceed....... gcc -DHAVE_CONFIG_H -I. -I../../gas -I. -I. -I../../gas -I../bfd -I../../gas/config -I../../gas/../include -I../../gas/.. -I../../gas/../bfd -DLOCALEDIR="\"/home/xxxxx/cross-cortex/share/locale \"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c ../../gas/config/tc-arm.c cc1: warnings being treated as errors ../../gas/config/tc-arm.c: In function ‘s_arm_unwind_save_mmxwr’: ../../gas/config/tc-arm.c:3459: error: format not a string literal and no format arguments ../../gas/config/tc-arm.c:3473: error: format not a string literal and no format arguments ../../gas/config/tc-arm.c: In function ‘s_arm_unwind_save_mmxwcg’: ../../gas/config/tc-arm.c:3591: error: format not a string literal and no format arguments ../../gas/config/tc-arm.c:3606: error: format not a string literal and no format arguments ../../gas/config/tc-arm.c: In function ‘s_arm_unwind_movsp’: ../../gas/config/tc-arm.c:3712: error: format not a string literal and no format arguments make[4]: *** [tc-arm.o] Error 1 make[4]: Leaving directory `/home/varung/Build/binutils-2.19.1/build/gas' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/varung/Build/binutils-2.19.1/build/gas' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/varung/Build/binutils-2.19.1/build/gas' make[1]: *** [all-gas] Error 2 make[1]: Leaving directory `/home/xxxxx/Build/binutils-2.19.1/build' make: *** [all] Error 2 Pls. help me out. Thanks and Regards, Varun Goyal _______________________________________________ Elua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev _______________________________________________ Elua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev _______________________________________________ Elua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev _______________________________________________ Elua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev _______________________________________________ Elua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
In reply to this post by BogdanM
Hi all,
Further when I tried to proceed, I got following error, checking whether ln -s works... yes checking for arm-elf-as... /home/varung/Build/gcc-4.3.3/cortex-gcc/./gcc/as checking for arm-elf-ar... /home/varung/Public/cross-cortex/arm-elf/bin/ar checking for arm-elf-ranlib... /home/varung/Public/cross-cortex/arm-elf/bin/ranlib checking whether to enable maintainer-specific portions of Makefiles... no configure: CPU config directory is cpu/arm configure: OS config directory is os/generic /home/varung/Build/gcc-4.3.3/libstdc++-v3/configure: line 5029: syntax error near unexpected token `fi' /home/varung/Build/gcc-4.3.3/libstdc++-v3/configure: line 5029: `fi' make[1]: *** [configure-target-libstdc++-v3] Error 1 make[1]: Leaving directory `/home/varung/Build/gcc-4.3.3/cortex-gcc' make: *** [all] Error 2 I think it has something to do with libstdc++-v3/configure.ac, but I don't know what. I have made all the changes mentioned on the site and was able to run autoconf (v2.63) with no error (After making necessary corrections in config/override.m4). Do I need to run something like "make clean" or "make distclean", etc. before invoking autoconf? Pls. help me out. Regards, Varun -----Original Message----- From: Bogdan Marinescu <[hidden email]> Reply-to: eLua Users and Development List <[hidden email]> To: eLua Users and Development List <[hidden email]> Subject: Re: [eLua-dev] Error in building binutils for cortex Date: Thu, 3 Sep 2009 16:13:16 +0300 Definitely not. What version of Newlib are you using? Best, Bogdan On Thu, Sep 3, 2009 at 4:08 PM, varung <[hidden email]> wrote: Dear All, I am getting warning in step 3 (Building Newlib) as below, configure: WARNING: unrecognized options: --enable-interwork, --disable-newlib-supplied-syscalls, --with-gnu-ld, --with-gnu-as, --disable-shared Is it fine to proceed? Regards, Varun -----Original Message----- From: Bogdan Marinescu <[hidden email]> Reply-to: eLua Users and Development List <[hidden email]> To: eLua Users and Development List <[hidden email]> Subject: Re: [eLua-dev] Error in building binutils for cortex Date: Thu, 3 Sep 2009 09:57:57 +0300 http://www.mail-archive.com/bug-binutils@.../msg06475.html Best, Bogdan On Thu, Sep 3, 2009 at 9:14 AM, varung <[hidden email]> wrote: Dear All, It will be great if anyone can help me out. I am new in Unbuntu (9.04), in fact in Linux environment and was trying to generate arm-elf binaries for cortex-m3 target. I am refering http://eluaproject.dreamhosters.com/en/Building_GCC_for_Cortex In Step 1, I am getting following error, don't know how to proceed....... gcc -DHAVE_CONFIG_H -I. -I../../gas -I. -I. -I../../gas -I../bfd -I../../gas/config -I../../gas/../include -I../../gas/.. -I../../gas/../bfd -DLOCALEDIR="\"/home/xxxxx/cross-cortex/share/locale \"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c ../../gas/config/tc-arm.c cc1: warnings being treated as errors ../../gas/config/tc-arm.c: In function ‘s_arm_unwind_save_mmxwr’: ../../gas/config/tc-arm.c:3459: error: format not a string literal and no format arguments ../../gas/config/tc-arm.c:3473: error: format not a string literal and no format arguments ../../gas/config/tc-arm.c: In function ‘s_arm_unwind_save_mmxwcg’: ../../gas/config/tc-arm.c:3591: error: format not a string literal and no format arguments ../../gas/config/tc-arm.c:3606: error: format not a string literal and no format arguments ../../gas/config/tc-arm.c: In function ‘s_arm_unwind_movsp’: ../../gas/config/tc-arm.c:3712: error: format not a string literal and no format arguments make[4]: *** [tc-arm.o] Error 1 make[4]: Leaving directory `/home/varung/Build/binutils-2.19.1/build/gas' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/varung/Build/binutils-2.19.1/build/gas' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/varung/Build/binutils-2.19.1/build/gas' make[1]: *** [all-gas] Error 2 make[1]: Leaving directory `/home/xxxxx/Build/binutils-2.19.1/build' make: *** [all] Error 2 Pls. help me out. Thanks and Regards, Varun Goyal _______________________________________________ Elua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev _______________________________________________ Elua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev _______________________________________________ Elua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev _______________________________________________ Elua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev _______________________________________________ Elua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
Free forum by Nabble | Edit this page |