IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Flex Discussion :

probleme de compilation


Sujet :

Flex

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre confirmé
    Profil pro
    Inscrit en
    Novembre 2006
    Messages
    75
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Novembre 2006
    Messages : 75
    Par défaut probleme de compilation
    Bonjour.

    J'essaie de compiler 2 fichier y.tab.c et lex.yy.c avec la commande

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    gcc y.tab.c lex.yy.c -o grapher1
    et j'obtient une belle liste d'erreurs :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    In file included from grapher.y:2:
    grapher.h:4: erreur: expected specifier-qualifier-list before «Kind»
    grapher.h:7: erreur: expected specifier-qualifier-list before «Expression»
    grapher.h:11: erreur: expected «=», «,», «;», «asm» or «__attribute__» before «*» token
    grapher.h:12: erreur: expected «=», «,», «;», «asm» or «__attribute__» before «*» token
    grapher.h:13: erreur: expected «)» before «&» token
    grapher.h:14: erreur: expected «=», «,», «;», «asm» or «__attribute__» before «*» token
    grapher.h:15: erreur: expected «=», «,», «;», «asm» or «__attribute__» before «grapher»
    grapher.h:16: erreur: expected «=», «,», «;», «asm» or «__attribute__» before «*» token
    grapher.y:4: erreur: expected specifier-qualifier-list before «Expression»
    grapher.y: Dans la fonction «yyparse» :
    grapher.y:24: erreur: «grapher» undeclared (first use in this function)
    grapher.y:24: erreur: (Each undeclared identifier is reported only once
    grapher.y:24: erreur: for each function it appears in.)
    grapher.y:24: erreur: «YYSTYPE» has no member named «expr_val»
    grapher.y:24: attention : incompatible implicit declaration of built-in function «printf»
    grapher.y:25: attention : incompatible implicit declaration of built-in function «printf»
    grapher.y:26: attention : incompatible implicit declaration of built-in function «printf»
    grapher.y:27: attention : incompatible implicit declaration of built-in function «printf»
    grapher.y:28: attention : incompatible implicit declaration of built-in function «printf»
    grapher.y:32: attention : incompatible implicit declaration of built-in function «printf»
    grapher.y:38: erreur: «YYSTYPE» has no member named «expr_val»
    grapher.y:39: erreur: «YYSTYPE» has no member named «expr_val»
    grapher.y:40: erreur: «YYSTYPE» has no member named «expr_val»
    grapher.y:40: erreur: «expr_x» undeclared (first use in this function)
    grapher.y:41: erreur: «YYSTYPE» has no member named «expr_val»
    grapher.y:41: erreur: «expr_y» undeclared (first use in this function)
    grapher.y:42: erreur: «YYSTYPE» has no member named «expr_val»
    grapher.y:42: erreur: «YYSTYPE» has no member named «expr_val»
    grapher.y:43: erreur: «YYSTYPE» has no member named «expr_val»
    grapher.y:43: erreur: «YYSTYPE» has no member named «expr_val»
    grapher.y:43: erreur: «YYSTYPE» has no member named «expr_val»
    grapher.y:44: erreur: «YYSTYPE» has no member named «expr_val»
    grapher.y:44: erreur: «YYSTYPE» has no member named «expr_val»
    grapher.y:45: erreur: «YYSTYPE» has no member named «expr_val»
    grapher.y:45: erreur: «YYSTYPE» has no member named «expr_val»
    grapher.y:45: erreur: «YYSTYPE» has no member named «expr_val»
    grapher.y:46: erreur: «YYSTYPE» has no member named «expr_val»
    grapher.y:46: erreur: «YYSTYPE» has no member named «expr_val»
    grapher.y:46: erreur: «YYSTYPE» has no member named «expr_val»
    grapher.y:47: erreur: «YYSTYPE» has no member named «expr_val»
    grapher.y:47: erreur: «YYSTYPE» has no member named «expr_val»
    In file included from grapher.l:2:
    grapher.h:4: erreur: expected specifier-qualifier-list before «Kind»
    grapher.h:7: erreur: expected specifier-qualifier-list before «Expression»
    grapher.h:11: erreur: expected «=», «,», «;», «asm» or «__attribute__» before «*» token
    grapher.h:12: erreur: expected «=», «,», «;», «asm» or «__attribute__» before «*» token
    grapher.h:13: erreur: expected «)» before «&» token
    grapher.h:14: erreur: expected «=», «,», «;», «asm» or «__attribute__» before «*» token
    grapher.h:15: erreur: expected «=», «,», «;», «asm» or «__attribute__» before «grapher»
    grapher.l: Dans la fonction «yylex» :
    grapher.l:8: erreur: «X0» undeclared (first use in this function)
    grapher.l:8: erreur: (Each undeclared identifier is reported only once
    grapher.l:8: erreur: for each function it appears in.)
    grapher.l:9: erreur: «X1» undeclared (first use in this function)
    grapher.l:10: erreur: «Y0» undeclared (first use in this function)
    grapher.l:11: erreur: «Y1» undeclared (first use in this function)
    grapher.l:12: erreur: «X» undeclared (first use in this function)
    grapher.l:13: erreur: «Y» undeclared (first use in this function)
    grapher.l:14: erreur: «GRID» undeclared (first use in this function)
    grapher.l:15: erreur: «YES» undeclared (first use in this function)
    grapher.l:16: erreur: «NO» undeclared (first use in this function)
    grapher.l:17: erreur: «NIVREC» undeclared (first use in this function)
    grapher.l:18: erreur: «FUNC» undeclared (first use in this function)
    grapher.l:19: erreur: «DRAW» undeclared (first use in this function)
    grapher.l:20: erreur: «yylval» undeclared (first use in this function)
    grapher.l:22: erreur: «DOUBLE» undeclared (first use in this function)
    grapher.l:25: erreur: «INT» undeclared (first use in this function)
    grapher.l:26: erreur: «MOINS» undeclared (first use in this function)
    grapher.l:27: erreur: «PLUS» undeclared (first use in this function)
    grapher.l:28: erreur: «TIMES» undeclared (first use in this function)
    grapher.l:29: erreur: «PUISS» undeclared (first use in this function)
    grapher.l:30: erreur: «LPAREN» undeclared (first use in this function)
    grapher.l:31: erreur: «RPAREN» undeclared (first use in this function)
    grapher.l:32: erreur: «PV» undeclared (first use in this function)
    grapher.l:33: erreur: «ERREUR» undeclared (first use in this function)
    Quelqun'un a une idée d'ou ca coince ?

    Merci

  2. #2
    Membre confirmé
    Profil pro
    Inscrit en
    Mars 2007
    Messages
    38
    Détails du profil
    Informations personnelles :
    Localisation : France, Paris (Île de France)

    Informations forums :
    Inscription : Mars 2007
    Messages : 38
    Par défaut
    Salut,

    Ici, on parle de la technologie Internet Riche Flex, développée par Adobe, et non de l'analyseur syntaxique du même nom, donc je ne pense pas que tu obtiendras beaucoup de réponses.

    Mais le mieux reste quand même de demander autour de toi ou à tes assistants, car les forum traitants de ces technos ne doivent pas être très nombreux

Discussions similaires

  1. [API][Cup] problem niveau compilation
    Par KoLziG dans le forum Général Java
    Réponses: 1
    Dernier message: 02/01/2005, 19h30
  2. [JSP & TAGLIB] Probleme de compilation
    Par GesMo dans le forum Servlets/JSP
    Réponses: 7
    Dernier message: 17/05/2004, 15h03
  3. Probleme de Compilation de la STL
    Par stoluup dans le forum MFC
    Réponses: 3
    Dernier message: 05/05/2004, 17h25
  4. [TP]Probleme de compilation sous TP7
    Par yffick dans le forum Turbo Pascal
    Réponses: 7
    Dernier message: 18/12/2003, 20h32
  5. Problemes de compilation avec g++ sous linux
    Par Selimmel dans le forum Autres éditeurs
    Réponses: 3
    Dernier message: 19/09/2003, 13h43

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo