Query (vhdl compilation)

lrtaylor@micron.com lrtaylor@micron.com
Mon Jan 17 17:49:00 GMT 2005


At first glance, it looks like you're probably not using GCC, but some
other C compiler that came with your system.  Try running 'cc -v'.  That
will at least tell you if you're even using GCC or not...

Thanks,
Lyle


-----Original Message-----
From: gcc-help-owner@gcc.gnu.org [mailto:gcc-help-owner@gcc.gnu.org] On
Behalf Of Virender Kashyap
Sent: Sunday, January 16, 2005 11:22 PM
To: GCC HELP
Subject: Query (vhdl compilation)

hi
    I am trying to install PICA tool for vhdl simualtion.  The steps i 
follow are give blow and the erros follow. Is this error related to gcc
? 
say it needs an old version of gcc or something like that ?


[root@dmclab161 PICA]# patch -p1 -s < ../pica.diff
[root@dmclab161 PICA]# make
(cd ./vcomp; make )
make[1]: Entering directory `/usr/local/src/PICA/vcomp'
cc -I . -I ../include   -c -o y_tab.o y_tab.c
vparse_yacc.y:76: error: initializer element is not constant
In file included from vparse_yacc.y:3300:
lex_yy.c:20: error: initializer element is not constant
lex_yy.c:20: error: (near initialization for `yyin')
lex_yy.c:20: error: initializer element is not constant
lex_yy.c:20: error: (near initialization for `yyout')
In file included from vparse_yacc.y:3300:
lex_yy.c:90:9: warning: extra tokens at end of #else directive
lex_yy.c:94:9: warning: extra tokens at end of #endif directive
make[1]: *** [y_tab.o] Error 1
make[1]: Leaving directory `/usr/local/src/PICA/vcomp'
make: *** [vcomp/vcomp] Error 2


-- 
Regards.
Virender




More information about the Gcc-help mailing list