public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: charfi asma <charfiasma@yahoo.fr>
To: charfi asma <charfiasma@yahoo.fr>
Cc: gcc-help@gcc.gnu.org
Subject: Re : can not make gcc-dev
Date: Fri, 18 Feb 2011 14:13:00 -0000	[thread overview]
Message-ID: <649997.9766.qm@web28501.mail.ukl.yahoo.com> (raw)
In-Reply-To: <307075.68480.qm@web28506.mail.ukl.yahoo.com>





----- Message d'origine ----
De : charfi asma <charfiasma@yahoo.fr>
À : gcc-help@gcc.gnu.org
Envoyé le : Jeu 17 février 2011, 17h 30min 29s
Objet : can not make gcc-dev

Hello,

I tried to install gcc that I get from git clone 
git://crules.org/git/gcc-dev.git.

I downlaod  this file into it (to install mpc, mpfr and gmp) :  
http://gcc.gnu.org/svn/gcc/trunk/contrib/download_prerequisites

$ cd gcc-dev

$ sh ./download_prerequisites

$ cd ..

$ mkdir build_uml

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 !!

......
/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

did I miss something ?

My PC is a new one with gcc 4.4.1

[charfi@is010178 build_uml]$ gcc --v
Utilisation des specs internes.
Target: x86_64-manbo-linux-gnu
Configuré avec: ../configure --prefix=/usr --libexecdir=/usr/lib 
--with-slibdir=/lib64 --with-bugurl=https://qa.mandriva.com/ 
--mandir=/usr/share/man --infodir=/usr/share/info --enable-checking=release 
--enable-languages=c,c++,ada,fortran,objc,obj-c++,java 
--build=x86_64-manbo-linux-gnu --host=x86_64-manbo-linux-gnu --with-cpu=generic 
--with-system-zlib --enable-threads=posix --enable-shared --enable-objc-gc 
--enable-long-long --enable-__cxa_atexit --disable-libunwind-exceptions 
--enable-clocale=gnu --enable-java-awt=gtk 
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre 
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-gtk-cairo 
--disable-libjava-multilib --enable-ssp --disable-libssp --disable-werror 
--with-ppl --with-cloog --with-python-dir=/lib/python2.6/site-packages
Modèle de thread: posix
gcc version 4.4.1 (GCC)

[charfi@is010178 build_uml]$ uname -a
Linux is010178 2.6.31.14-desktop-1mnb #1 SMP Wed Nov 24 10:42:07 EST 2010 x86_64 

Intel(R) Core(TM)2 Duo CPU     P8400  @ 2.26GHz GNU/Linux

thank you very much

Asma


Hello,

Jonathan was right, I get a new pc and flex was not installed by default in the 
mandriva distribution ;)

So the error does not come from gcc directory :)

thank you very much

ASMA



      parent reply	other threads:[~2011-02-18 13:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-17 16:53 charfi asma
2011-02-17 18:15 ` Andi Hellmund
2011-02-17 18:33 ` Jonathan Wakely
2011-02-17 19:32   ` Andi Hellmund
2011-02-18  1:13     ` Philip Herron
2011-02-18 14:13 ` charfi asma [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=649997.9766.qm@web28501.mail.ukl.yahoo.com \
    --to=charfiasma@yahoo.fr \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).