Précédent   Forum des professionnels en informatique > Systèmes > Linux > Applications
Applications Questions sur l'utilisation d'applications, du shell, et des interfaces graphiques (KDE, Gnome, XFCE... )
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 02/12/2004, 18h22   #1
Membre habitué
 
Inscription : avril 2004
Messages : 421
Détails du profil
Informations forums :
Inscription : avril 2004
Messages : 421
Points : 120
Points : 120
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 :
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 :
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++
elekis est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 03/12/2004, 09h54   #2
Rédacteur
 
Inscription : mars 2004
Messages : 1 298
Détails du profil
Informations forums :
Inscription : mars 2004
Messages : 1 298
Points : 1 450
Points : 1 450
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/ )
MarcG est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 03/12/2004, 10h45   #3
Membre habitué
 
Inscription : avril 2004
Messages : 421
Détails du profil
Informations forums :
Inscription : avril 2004
Messages : 421
Points : 120
Points : 120
voila, apres que je tape make


Code :
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++
elekis est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité Cette discussion est résolue.
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 12h47.


 
 
 
 
Partenaires

Hébergement Web