Mailing List Archive

perl5.001 Compile problem
Hi,

Anybody solved this one, I runnig gcc v 2.7.0 on a Sparc 5 Solaris2.4 system.

Thanks in advace !

make
make: Warning: Both `makefile' and `Makefile' exist
`sh cflags libperl.a miniperlmain.o` miniperlmain.c
CCCMD = gcc -c -O
`sh cflags libperl.a perl.o` perl.c
CCCMD = gcc -c -O
`sh cflags libperl.a malloc.o` malloc.c
CCCMD = gcc -c -O
`sh cflags libperl.a gv.o` gv.c
CCCMD = gcc -c -O
`sh cflags libperl.a toke.o` toke.c
CCCMD = gcc -c -O
`sh cflags libperl.a perly.o` perly.c
CCCMD = gcc -c -O
perly.y:34: conflicting types for `YYSTYPE'
perly.h:60: previous declaration of `YYSTYPE'
y.tab.c:1347: conflicting types for `yylval'
perly.h:62: previous declaration of `yylval'
*** Error code 1
make: Fatal error: Command failed for target `perly.o'

I have tried recreating perly.c with byacc but results are the same.

Brian Compston
Camtek Ltd