#1 Le 05/01/2007, à 20:52
- rems
Tiemu3 compile pas
Bonjour tout le monde, je ne parvient pas à installer tiemu3 à partir des sources.
Le configure passe sans erreur, mais voila, lorsque je fait le checkinstall (qui équivaut à make + make install), il m'affiche l'erreur suivante (avec plein de texte avant ça):
#-c -g -O2 -D__I386__ -D__LINUX__ -fvisibility=hidden -DGTK_DISABLE_DEPRECATED -DDEBUGGER -I/usr/local/include/tilp2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/local/include/tilp2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/local/include/tilp2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/local/include/tilp2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include core/uae/newcpu.c -o core/uae/newcpu.o
make[1]: *** No rule to make target `core/uae/cpuemu1.o', needed by `tiemu'. Stop.
make[1]: Leaving directory `/home/remi/misc/ti/programs/tiemu3/src'
make: *** [install-recursive] Error 1
Que faire?
toute aide est appréciée
merci d'avance
Hors ligne
#2 Le 05/01/2007, à 21:52
- rems
Re : Tiemu3 compile pas
Bon en fait il fallait d'abord faire make
mais maintenant j'ai une autre erreur:
gcc -c -g -O2 -I. -I.././gdb -I.././gdb/config -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I.././gdb/../include/opcode -I.././gdb/../readline/.. -I../bfd -I.././gdb/../bfd -I.././gdb/../include -I../intl -I.././gdb/../intl -DMI_OUT=1 -DGDBTK -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wformat-nonliteral -Wunused-label -Wunused-function -Wno-pointer-sign -Wuninitialized c-exp.c
btyaccpa.ske:111: error: expected specifier-qualifier-list before ‘yyparsestate’
btyaccpa.ske:128: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
btyaccpa.ske:131: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
btyaccpa.ske:167:1: warning: "yyval" redefined
c-exp.y:89:1: warning: this is the location of the previous definition
btyaccpa.ske:180: error: expected ‘)’ before ‘*’ token
btyaccpa.ske:181: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
btyaccpa.ske:182: error: expected ‘)’ before ‘*’ token
btyaccpa.ske: In function ‘c_parse’:
btyaccpa.ske:193: error: ‘yyparsestate’ undeclared (first use in this function)
btyaccpa.ske:193: error: (Each undeclared identifier is reported only once
btyaccpa.ske:193: error: for each function it appears in.)
btyaccpa.ske:193: error: ‘yyerrctx’ undeclared (first use in this function)
btyaccpa.ske:206: error: ‘c_ps’ undeclared (first use in this function)
btyaccpa.ske:206: warning: implicit declaration of function ‘YYNewState’
btyaccpa.ske:257: error: ‘yypath’ undeclared (first use in this function)
btyaccpa.ske:265: error: ‘save’ undeclared (first use in this function)
btyaccpa.ske:270: warning: implicit declaration of function ‘YYFreeState’
btyaccpa.ske:309: error: ‘new’ undeclared (first use in this function)
btyaccpa.ske:309: error: expected ‘;’ before ‘Yshort’
btyaccpa.ske:310: error: expected ‘;’ before ‘YYSTYPE’
btyaccpa.ske:312: error: expected ‘;’ before ‘int’
btyaccpa.ske:369: warning: implicit declaration of function ‘YYMoreStack’
btyaccpa.ske: In function ‘YYLex1’:
btyaccpa.ske:739: error: ‘c_ps’ undeclared (first use in this function)
btyaccpa.ske: In function ‘yyexpand’:
btyaccpa.ske:762: error: ‘new’ undeclared (first use in this function)
btyaccpa.ske:762: error: expected ‘;’ before ‘YYSTYPE’
btyaccpa.ske:763: error: expected ‘;’ before ‘int’
btyaccpa.ske:764: error: expected ‘;’ before ‘Yshort’
btyaccpa.ske:768: error: ‘delete’ undeclared (first use in this function)
btyaccpa.ske:768: error: expected expression before ‘]’ token
btyaccpa.ske:769: error: expected expression before ‘]’ token
btyaccpa.ske:770: error: expected expression before ‘]’ token
btyaccpa.ske: At top level:
btyaccpa.ske:794: error: expected ‘)’ before ‘*’ token
btyaccpa.ske:814: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
Un problême avec yacc apparament?
J'ai aussi essayé d'installer le rpm (après l'avoir converti avec alien bien sur), l'install a marché mais dès que je lance le programme il me dit:
Floating point exception (core dumped)
Et il quitte.
Si quelqu'un a une idée soit pour la source soit pour le rpm, qu'il n'hésite pas!
Hors ligne
#3 Le 15/01/2007, à 22:45
- lirakien
Re : Tiemu3 compile pas
moi aussi j'ai le même message :
voilà mon fichier :
import gtk
def OnDestroy(widget, data):
# Arret de la boucle evenementielle
gtk.main_quit()
def main():
window = gtk.Window(gtk.WINDOW_TOPLEVEL)
window.set_position(gtk.WIN_POS_CENTER)
window.set_default_size(320, 200)
window.set_title("Chapitre Fenetre")
window.connect("destroy", OnDestroy, None)
window.show()
gtk.main()
if __name__ == '__main__':
main()
message d'erreur et compilation :
gcc ` pkg-config --cflags --libs gtk+-2.0 ` gtk.c -o gtk
gtk.c:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gtk’
gtk.c:4:7: error: invalid preprocessing directive #Arret
gtk.c:25:16: warning: character constant too long for its type
make: *** [Hello] Erreur 1
Hors ligne