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

Applications et environnements graphiques Discussion :

Compiler le compilateur de cobol


Sujet :

Applications et environnements graphiques

  1. #1
    Membre habitué

    Profil pro
    Inscrit en
    Avril 2004
    Messages
    421
    Détails du profil
    Informations personnelles :
    Localisation : Belgique

    Informations forums :
    Inscription : Avril 2004
    Messages : 421
    Points : 189
    Points
    189
    Par défaut Compiler le compilateur de cobol
    bonjour, j'essaie d'installer cobol (pour mon dernier projet youpi) mais le hic, c'est que quand j'essaie de l'instalelr, il me mais ca
    ps--> c'est tynixml que j'essaie d'installer.

    -->./CONFIGURE



    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
     
         #-->./configure
    loading cache ./config.cache
    checking build system type... i686-pc-linux-gnu
    checking for gcc... (cached) gcc
    checking for as... (cached) as
    checking for a BSD compatible install... (cached) /usr/bin/install -c
    checking whether ln -s works... (cached) yes
    checking whether make sets ${MAKE}... (cached) yes
    checking for ranlib... (cached) ranlib
    checking for ar... (cached) ar
    checking for flex... (cached) flex
    checking for bison... (cached) bison
    checking for expand... (cached) /usr/bin/expand
    checking how to run the C preprocessor... (cached) gcc -E
    checking for ANSI C header files... (cached) yes
    checking for stdio.h... (cached) yes
    checking for alloca.h... (cached) yes
    checking for errno.h... (cached) yes
    checking for fcntl.h... (cached) yes
    checking for limits.h... (cached) yes
    checking for sys/time.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking for malloc.h... (cached) yes
    checking for stdlib.h... (cached) yes
    checking for string.h... (cached) yes
    checking for strings.h... (cached) yes
    checking for utime.h... (cached) yes
    checking for ctype.h... (cached) yes
    checking for sys/stat.h... (cached) yes
    checking for sys/types.h... (cached) yes
    checking for getopt.h... (cached) yes
    checking for working const... (cached) yes
    checking for off_t... (cached) yes
    checking for size_t... (cached) yes
    checking whether struct tm is in sys/time.h or time.h... (cached) time.h
    checking for 8-bit clean memcmp... (cached) yes
    checking for vprintf... (cached) yes
    checking for strcspn... (cached) yes
    checking for strdup... (cached) yes
    checking for strerror... (cached) yes
    checking for strspn... (cached) yes
    checking for putenv... (cached) yes
    checking for asin in -lm... (cached) yes
    Beginning DB library header search sequence
    checking for db_185.h... (cached) yes
    Beginning DB library test link sequence
    checking for -ldb (version 2.x or 3.x with 1.85 API compatibility)... yes
    checking for ncurses.h... (cached) yes
    checking for addch in -lncurses... (cached) yes
    checking for color_set in -lncurses... yes
    creating ./config.status
    creating Makefile
    creating compiler/Makefile
    creating compiler/htversion.h
    creating compiler/htcobolrc
    creating lib/Makefile
    creating cobpp/Makefile
    creating cobpp/tcppversion.h
    creating utils/Makefile
    creating utils/cobf2f/Makefile
    creating test.code/Makefile
    creating test.code/copybooks/Makefile
    creating info/Makefile
    creating lockserver/Makefile
    creating htconfig.h
    htconfig.h is unchanged

    et apres make

    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
     
    scan.c:2603: error: invalid type argument of `->'
    scan.c:2604: error: invalid type argument of `->'
    scan.c:2608: warning: pointer/integer type mismatch in conditional expression
    scan.c:2610: warning: assignment makes integer from pointer without a cast
    scan.c: In function `yypop_buffer_state':
    scan.c:2623: warning: pointer/integer type mismatch in conditional expression
    scan.c:2626: warning: pointer/integer type mismatch in conditional expression
    scan.c:2627: warning: assignment makes integer from pointer without a cast
    scan.c:2631: warning: pointer/integer type mismatch in conditional expression
    scan.c: In function `yyensure_buffer_stack':
    scan.c:2653: error: incompatible types in assignment
    scan.c:2671: error: incompatible types in assignment
    scan.c: In function `yyget_text':
    scan.c:2833: warning: return makes pointer from integer without a cast
    scan.c: In function `yylex_destroy':
    scan.c:2877: warning: pointer/integer type mismatch in conditional expression
    scan.c:2878: warning: pointer/integer type mismatch in conditional expression
    scan.c:2879: warning: assignment makes integer from pointer without a cast
    scan.c:2885: error: incompatible types in assignment
    scan.l: At top level:
    scan.l:742: error: parse error before "YY_PROTO"
    scan.l:801: error: conflicting types for `scdebug'
    scan.l:718: error: previous declaration of `scdebug'
    scan.c:1064: error: register name not specified for `yy_act'
    make[1]: *** [scan.o] Error 1
    make[1]: Leaving directory `/home/elekis/Projects/tinycobol-0.62/compiler'
    Making all in lib
    make[1]: Entering directory `/home/elekis/Projects/tinycobol-0.62/lib'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/home/elekis/Projects/tinycobol-0.62/lib'
    Making all in test.code
    make[1]: Entering directory `/home/elekis/Projects/tinycobol-0.62/test.code'
    Making all in copybooks
    make[2]: Entering directory `/home/elekis/Projects/tinycobol-0.62/test.code/copybooks'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/home/elekis/Projects/tinycobol-0.62/test.code/copybooks'
    make[1]: Leaving directory `/home/elekis/Projects/tinycobol-0.62/test.code'
    Making all in info
    make[1]: Entering directory `/home/elekis/Projects/tinycobol-0.62/info'
    make[1]: Leaving directory `/home/elekis/Projects/tinycobol-0.62/info'
    et encore j'ai aps tout mis


    comment qu'il fuat faire pour l'installer ce bazard??

    merci

    a++

  2. #2
    Membre chevronné

    Profil pro
    Inscrit en
    Mars 2004
    Messages
    1 296
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mars 2004
    Messages : 1 296
    Points : 1 803
    Points
    1 803
    Par défaut
    ce serait plutot le debut des erreurs sur la commande make qui donnerait des indication .....
    il manque probablement un .h quelque part.
    Marc
    Slackware for ever ......
    BASH - KSH ( http://marcg.developpez.com/ksh/ )

  3. #3
    Membre habitué

    Profil pro
    Inscrit en
    Avril 2004
    Messages
    421
    Détails du profil
    Informations personnelles :
    Localisation : Belgique

    Informations forums :
    Inscription : Avril 2004
    Messages : 421
    Points : 189
    Points
    189
    Par défaut
    voila, apres que je tape make


    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
     
     ~/Projects/cobol/tinycobol-0.62
         #-->make
    Making all in compiler
    make[1]: Entering directory `/home/elekis/Projects/cobol/tinycobol-0.62/compiler
    '
    gcc -I/usr/include -I/usr/local/include -I../lib -I../ -c scan.c
    scan.c:1060: error: parse error before "YY_PROTO"
    scan.l:120: error: parse error before "switch"
    scan.l:123: error: redefinition of `yy_start'
    scan.c:272: error: `yy_start' previously defined here
    scan.l:123: warning: data definition has no type or storage class
    scan.l:124: error: parse error before "break"
    scan.l:127: error: redefinition of `yy_start'
    scan.l:123: error: `yy_start' previously defined here
    scan.l:127: warning: data definition has no type or storage class
    scan.l:128: error: parse error before "break"
    scan.l:131: error: redefinition of `yy_start'
    scan.l:127: error: `yy_start' previously defined here
    scan.l:131: warning: data definition has no type or storage class
    scan.l:132: error: parse error before "break"
    scan.l:136: error: redefinition of `yy_start'
    scan.l:131: error: `yy_start' previously defined here
    scan.l:136: warning: data definition has no type or storage class
    scan.l:137: error: parse error before "break"
    scan.l:140: error: redefinition of `yy_start'
    scan.l:136: error: `yy_start' previously defined here
    scan.l:140: warning: data definition has no type or storage class
    scan.l:141: error: parse error before "break"
    scan.l:144: error: redefinition of `yy_start'
    scan.l:140: error: `yy_start' previously defined here
    merci

    a++

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. compilation du compilateur java
    Par new_wave dans le forum Débuter avec Java
    Réponses: 3
    Dernier message: 28/10/2010, 17h47
  2. [z/OS] Erreurs de compilation d'un programme Cobol
    Par elajjouri dans le forum Cobol
    Réponses: 2
    Dernier message: 10/05/2009, 23h45
  3. Compilation et compilateur
    Par yaya0057 dans le forum iReport
    Réponses: 1
    Dernier message: 15/07/2008, 23h50
  4. Réponses: 3
    Dernier message: 24/10/2007, 16h36
  5. [compilateur] Compilation en lignes d'un projet
    Par SpirouF40 dans le forum C++Builder
    Réponses: 2
    Dernier message: 25/11/2002, 12h43

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