This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re : can not make gcc-dev





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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]