Dr. Diesel ha scritto: > On Sun, Aug 9, 2009 at 12:56 PM, Leonardo Miliani < > leona...@leonardomiliani.com> wrote: > >> Benoît Minisini ha scritto: >>>> Benoît Minisini ha scritto: >>>>>> Benoît Minisini ha scritto: >>>>>>>> This is the output of the make command on Gambas2 SVN. >>>>>>> I think you have a problem on your system, as gcc tells it does not >>>>>>> recognize an option... >>>>>>> >>>>>>> Please post the full output of the compilation process, i.e. with >>>>>>> configure. >>>>>>> >>>>>>> And try to do a checkout from scratch, and a ./reconf before doing >>>>>>> "./configure -C". >>>>>>> >>>>>>> Regards, >>>>>> I suppose you know that Arch Linux is a rolling release distro so >> every >>>>>> program is always at the very last version. Maybe there could be a >>>>>> compatibily issue between Gambas sources and gcc 4.4.1 that is >> installed >>>>>> on my system? >>>>>> >>>>>> P.S.: >>>>>> I've inclued part of the /reconf-all command too. It contains a loto >> of >>>>>> messages that I've never seen before. >>>>> You have clearly a problem with your installation of gcc. I think >> either >>>>> you didn't install it completely (for example a new gcc with an old >>>>> linker), or the new version of gcc is not compatible with the old one, >>>>> but I think it is unlikely. >>>>> >>>>> Regards, >>>> Could you please post the the version of gcc needed to compile Gambas? >>>> Or the version that you used? I cannot understand why until the rev. >>>> #2127 I was able to compile Gambas and now I'm not. >>> I'm using gcc 4.3.2 on Mandriva 2009.1. >>> >>> You have the same problem than Dr.Diesel. The configure script tells: >>> >>> ... >>> checking whether we are using the GNU C compiler... no >>> checking whether gcc accepts -g... no >>> checking for gcc option to accept ISO C89... unsupported >>> ... >>> >>> These tests are not made by me, and you see like me that gcc *should* be >> a GNU >>> c compiler, and accept "-g". There is clearly a problem between the >> compiler >>> and the script written to detect it... >>> >> Strange. This is what I get: >> [...@hp_laptop ~]$ gcc --version >> gcc (GCC) 4.4.1 >> Copyright (C) 2009 Free Software Foundation, Inc. >> This is free software; see the source for copying conditions. There is NO >> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. >> >> >> As you see, my gcc comes from GNU but it's newer than the one on your >> system. >> This is the only difference that I see. >> >> Now I'm trying to reinstall gcc, now building it from scratch using >> sources... > > > FYI, my Ubuntu 9.10 box is also gcc 4.4.1, perhaps new behaviour for this > version? > > I am compiling gambas3 from svn on 3 separate machines, 1=Fedora 10_32 bit, > 2=Fedora 10_64b bit and a Ubuntu 9.10_32bit. My compiling/error posts might > be a bit confusing! :) > > Andy > > >
After reinstalling gcc configure reports the following about gcc: checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes Now I'm trying to recompile both gambas2 2.15 and gambas2 svn #2228 (with this I'm having a lot of warning from reconf-all, all related to autoconf: This is an excract: acinclude.m4:100: GB_INIT is expanded from... configure.ac:4: the top level configure.ac:4: warning: AC_REQUIRE: `AC_PROG_CC' was expanded before it was required ../../lib/autoconf/c.m4:433: AC_LANG_COMPILER(C) is expanded from... ../../lib/autoconf/lang.m4:315: AC_LANG_COMPILER_REQUIRE is expanded from... ../../lib/autoconf/general.m4:2665: AC_LINK_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ../../lib/m4sugar/m4sh.m4:368: AS_REQUIRE is expanded from... ../../lib/autoconf/general.m4:204: AC_REQUIRE_SHELL_FN is expanded from... ../../lib/autoconf/functions.m4:82: AC_CHECK_FUNC is expanded from... ../../lib/m4sugar/m4sh.m4:588: AS_FOR is expanded from... ../../lib/autoconf/functions.m4:109: AC_CHECK_FUNCS is expanded from... ../../lib/autoconf/functions.m4:143: AC_REPLACE_FUNCS is expanded from... acinclude.m4:100: GB_INIT is expanded from... configure.ac:4: the top level configure.ac:4: warning: AC_REQUIRE: `AC_PROG_CC' was expanded before it was required ../../lib/autoconf/c.m4:433: AC_LANG_COMPILER(C) is expanded from... ../../lib/autoconf/lang.m4:315: AC_LANG_COMPILER_REQUIRE is expanded from... ../../lib/autoconf/general.m4:2665: AC_LINK_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ../../lib/m4sugar/m4sh.m4:368: AS_REQUIRE is expanded from... ../../lib/autoconf/general.m4:204: AC_REQUIRE_SHELL_FN is expanded from... ../../lib/autoconf/functions.m4:82: AC_CHECK_FUNC is expanded from... ../../lib/m4sugar/m4sh.m4:588: AS_FOR is expanded from... ../../lib/autoconf/functions.m4:109: AC_CHECK_FUNCS is expanded from... ../../lib/autoconf/functions.m4:143: AC_REPLACE_FUNCS is expanded from... acinclude.m4:100: GB_INIT is expanded from... configure.ac:4: the top level configure.ac:4: warning: AC_REQUIRE: `AC_PROG_CC' was expanded before it was required ../../lib/autoconf/c.m4:433: AC_LANG_COMPILER(C) is expanded from... ../../lib/autoconf/lang.m4:315: AC_LANG_COMPILER_REQUIRE is expanded from... ../../lib/autoconf/general.m4:2665: AC_LINK_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ../../lib/m4sugar/m4sh.m4:368: AS_REQUIRE is expanded from... ../../lib/autoconf/general.m4:204: AC_REQUIRE_SHELL_FN is expanded from... ../../lib/autoconf/functions.m4:82: AC_CHECK_FUNC is expanded from... ../../lib/m4sugar/m4sh.m4:588: AS_FOR is expanded from... ../../lib/autoconf/functions.m4:109: AC_CHECK_FUNCS is expanded from... ../../lib/autoconf/functions.m4:143: AC_REPLACE_FUNCS is expanded from... acinclude.m4:100: GB_INIT is expanded from... configure.ac:4: the top level -- Web: www.leonardomiliani.com E-mail: leona...@leonardomiliani.com Scegli software opensource - Choose opensource software Co-fondatore di Gambas-it.org Il sito di riferimento della comunità italiana degli utenti di Gambas www.gambas-it.org ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user