View previous topic :: View next topic |
Author |
Message |
roha n00b

Joined: 01 Sep 2002 Posts: 31
|
Posted: Thu Jan 30, 2003 7:49 pm Post subject: Kann qt-3.1.1 nicht emergen |
|
|
Beim Versuch qt-3.1.1 zu emergen erhalte ich folgenden fehler
g++ -c -pipe -fno-exceptions -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/var/tmp/portage/qt-3.1.1/work/qt-x11-free-3.1.1/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../../include -I../tools -I. -o ./moc_yacc.o moc_yacc.cpp
moc.y:1911: previous declaration of `char* hack_getenv()' with C++ linkage
y.tab.c:3585: conflicts with new declaration with C linkage
lex.yy.c:1130: previous declaration of `int yylex()' with C++ linkage
y.tab.c:3586: conflicts with new declaration with C linkage
moc.y:1594: previous declaration of `int yyparse()' with C++ linkage
y.tab.c:3587: conflicts with new declaration with C linkage
make[2]: *** [moc_yacc.o] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/qt-3.1.1/work/qt-x11-free-3.1.1/src/moc'
make[1]: *** [src-moc] Fehler 2
make[1]: Leaving directory `/var/tmp/portage/qt-3.1.1/work/qt-x11-free-3.1.1'
make: *** [init] Fehler 2
Am ebuild kann es eigentlich nicht liegen da ich den selben fehler
bekomme wen ich qt-3.1.1 von hand kompiliere.
Woran könnte es liegen ?
Mein System ist Athlon XP1800+ mit Gentoo 1.4rc2
MFG roha |
|
Back to top |
|
 |
roha n00b

Joined: 01 Sep 2002 Posts: 31
|
Posted: Fri Jan 31, 2003 11:43 pm Post subject: Re: Kann qt-3.1.1 nicht emergen |
|
|
roha wrote: | Beim Versuch qt-3.1.1 zu emergen erhalte ich folgenden fehler
moc_yacc.cpp
moc.y:1911: previous declaration of `char* hack_getenv()' with C++ linkage
y.tab.c:3585: conflicts with new declaration with C linkage
lex.yy.c:1130: previous declaration of `int yylex()' with C++ linkage
y.tab.c:3586: conflicts with new declaration with C linkage
moc.y:1594: previous declaration of `int yyparse()' with C++ linkage
y.tab.c:3587: conflicts with new declaration with C linkage
make[2]: *** [moc_yacc.o] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/qt-3.1.1/work/qt-x11-free-3.1.1/src/moc'
Am ebuild kann es eigentlich nicht liegen da ich den selben fehler
bekomme wen ich qt-3.1.1 von hand kompiliere.
Woran könnte es liegen ?
|
Ich Antworte mir jetzt einfach mal selber, Nach vielem rumprobieren
habe ich das Problem gelöst es lag am yacc 1.9.1 mit dem geht es
einfach nicht, nach unermergen von yacc 1.9.1 und emergen von
byacc 1.9 geht jetzt das compilieren von qt-3.1.1.
MFG roha |
|
Back to top |
|
 |
|