Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

compiling Stanford PVRG

5 views
Skip to first unread message

Tim

unread,
Aug 21, 2001, 4:59:59 PM8/21/01
to
Hi all,
I'm trying to compile the Stanford pvrg jpeg codec(v1.2.1) in
Caldera/Openlinux. During the compile I error out in the lexer.c file
because the line "FILE *yyin = {stdin}, *yyout = {stdout};" isn't
declared constant(even though this IS valid C++). Also there is an
error mentioned in the readme that there can be a timestamp problem
with lexer.c and lexer.l, but I'm not sure if that's the problem here.
Is it known if the version of the compilier is an issue(newer vs.
older)? Are there compiler parameters needed beyond the make file?
Any help would be appreciated.
Tim Fowers
Voxel Inc.

David Clunie

unread,
Aug 22, 2001, 9:42:36 AM8/22/01
to
Hi Tim

Remove lexer.c and uncomment the relevant lines in the makefile
and lexer.c will be recreated by lex.

You will need to set the command line options for lex in the Makefile
to include the "-ll" option as described in the comments.

david

--
David A. Clunie mailto:dcl...@radpharm.com
Director, Technical Operations http://www.radpharm.com/
RadPharm Work 609-924-1067 Fax 609-924-2094
335 Wall Street Home 570-897-7123 Fax 425-930-0171
Princeton NJ 08540 http://www.dclunie.com/

0 new messages