error in lex.yy.c?

Mike mike at if-site.com
Fri Jun 11 01:45:00 EDT 1999


Hello,

I'm trying to compile vtk and having these results:

# ./configure --prefix=/opt/vtk --with-x --with-mesa --with-shared
--with-tcl --without-python --without-java --with-tkwidget
--with-contrib --with-patented
#
# nice -n 19 make
cd wrap;        make - all
make[1]: Entering directory `/usr/local/src/vtk/wrap'
/usr/bin/gcc -O2 -D__NO_MATH_INLINES  -fPIC -D_HP_NO_FAST_MACROS
-DHAVE_LIMITS_H        -DHAVE_UNISTD_H  -I.
-I/usr/src/redhat/SOURCES/tk8.0.4/generic
-I/usr/src/redhat/SOURCES/tcl8.0.4/generic -I/usr/include/GL
-DVTK_USE_OGLR   -I/usr/X11R6/include -I./../graphics -DVTK_USE_GRAPHICS
-I./../imaging -DVTK_USE_IMAGING -I./../patented -DVTK_USE_PATENTED
-I./../contrib -DVTK_USE_CONTRIB  -I. -c -o vtkParse.o ./vtkParse.tab.c
-lm
In file included from vtkParse.y:813:
lex.yy.c:45: initializer element for `yyin' is not constant
lex.yy.c:45: initializer element for `yyout' is not constant
make[1]: *** [vtkParse.o] Error 1
make[1]: Leaving directory `/usr/local/src/vtk/wrap'
make: *** [build_wrap] Error 2
#
#
# cat /etc/issue
Red Hat Linux release 6.0 (Hedwig)
Kernel 2.2.5-15 on an i586
# 
# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
#

What is going wrong?

-- 
Best regards,
Mike


-----------------------------------------------------------------------------
This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.
-----------------------------------------------------------------------------





More information about the vtkusers mailing list