From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21571 invoked by alias); 17 Feb 2011 17:17:32 -0000 Received: (qmail 21560 invoked by uid 22791); 17 Feb 2011 17:17:30 -0000 X-SWARE-Spam-Status: No, hits=-0.6 required=5.0 tests=AWL,BAYES_50 X-Spam-Check-By: sourceware.org Received: from wp154.webpack.hosteurope.de (HELO wp154.webpack.hosteurope.de) (80.237.132.161) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 17 Feb 2011 17:17:23 +0000 Received: from cor000cs01.americas.hp.net ([15.251.169.69]); authenticated by wp154.webpack.hosteurope.de running ExIM with esmtpa id 1Pq7Tk-0006ja-JS; Thu, 17 Feb 2011 18:17:21 +0100 Message-ID: <4D5D581C.6070105@andihellmund.com> Date: Thu, 17 Feb 2011 18:15:00 -0000 From: Andi Hellmund User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.11pre) Gecko/20100624 Spicebird/0.8 MIME-Version: 1.0 To: charfi asma CC: gcc-help@gcc.gnu.org Subject: Re: can not make gcc-dev References: <307075.68480.qm@web28506.mail.ukl.yahoo.com> In-Reply-To: <307075.68480.qm@web28506.mail.ukl.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2011-02/txt/msg00264.txt.bz2 Hey Asma, > I tried to install gcc that I get from git clone > git://crules.org/git/gcc-dev.git. > It seems that this repo is not totally up-to-date. The GIT logs show that the last update apparently was on Feb 15, but Phil will now this better. Anyway, you could also the following ways to get the GCC trunk: via GIT: http://gcc.gnu.org/wiki/GitMirror via SVN: http://gcc.gnu.org/svn.html > I configure with : ../gcc-dev/configure --enable-languages=c,c++,uml > --disable-werror --disable-bootstrap > > when I call make with: make STAGE1_CFLAGS="g -O1" I get those errors msg > dealing with lexer and parser !! > I'm not sure if that works if you disable bootstrapping, because I think that staging is only relevant for bootstap builds. Instead, you could just use CFLAGS. Another note: if you plan to build a debugable version of gcc (it seems so due to the -O1 option), I personally favor to add -fno-inline as well. > ...... > /export/home/charfi/Bureau/build_uml/gcc/../../gcc-dev/gcc/gengtype-parse.c:915: > undefined reference to `lexer_line' > build/gengtype-parse.o: In function `token': > /export/home/charfi/Bureau/build_uml/gcc/../../gcc-dev/gcc/gengtype-parse.c:49: > undefined reference to `yylex' > build/gengtype-parse.o: In function `typedef_decl': > /export/home/charfi/Bureau/build_uml/gcc/../../gcc-dev/gcc/gengtype-parse.c:838: > undefined reference to `lexer_line' > build/gengtype-parse.o: In function `def_vec_alloc': > /export/home/charfi/Bureau/build_uml/gcc/../../gcc-dev/gcc/gengtype-parse.c:939: > undefined reference to `lexer_line' > build/gengtype-parse.o: In function `token': > /export/home/charfi/Bureau/build_uml/gcc/../../gcc-dev/gcc/gengtype-parse.c:49: > undefined reference to `yylex' > /export/home/charfi/Bureau/build_uml/gcc/../../gcc-dev/gcc/gengtype-parse.c:49: > undefined reference to `yylex' > collect2: ld a retourné 1 code d'état d'exécution > make[2]: *** [build/gengtype] Erreur 1 > make[2]: quittant le répertoire « /export/home/charfi/Bureau/build_uml/gcc » > make[1]: *** [all-gcc] Erreur 2 > make[1]: quittant le répert > > I don't know why you get this error. Let me try to check on my system. Anyway, I would first try to get the really latest bits and try again on your system ... Best regards, Andre-Marcel