[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-user: Icarus compile under Debian



Hi,

I'm trying to compile Icarus on a Debian (testing) system.

I'm having several issues, including a header problem and what
appears to be a flex or bison problem. See below for further details ..

I am running ./configure and then 'make check' to attempt to compile
the source. The issues and make file output are:

1. Header issue.

<snip>
c++ -DHAVE_CVS_IDENT=1 -DHAVE_CONFIG_H -g -O2 -I. -I. -MD -c elaborate.cc -o elaborate.o
In file included from /usr/include/c++/3.3/backward/strstream:51,
from elaborate.cc:33:
/usr/include/c++/3.3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
<snip>


2. Flex/Bison (apparent) issue ..

<snip>
c++ -DHAVE_CVS_IDENT=1 -DHAVE_CONFIG_H -g -O2 -I. -I. -MD -c functor.cc -o functor.o
mv functor.d dep/functor.d
flex -PVL -s -olexor.cc ./lexor.lex
./lexor.lex:382: warning, -s option given but default rule can be matched
bison --verbose -t -p VL -d -o parse.cc ./parse.y
mv parse.cc.h parse.h || mv parse.hh parse.h
mv: cannot stat `parse.cc.h': No such file or directory
<snip>


Anyone else come across these problems? or can anyone offer a suggestion as to
what I might do to overcome these problems?

tks,
Jason.


PS. For reference, the complete compiler output is:

root@asterix:/usr/bin/verilog-0.7# make check
c++ -DHAVE_CVS_IDENT=1 -DHAVE_CONFIG_H -g -O2 -I. -I. -MD -c main.cc -o main.o
mv main.d dep/main.d
c++ -DHAVE_CVS_IDENT=1 -DHAVE_CONFIG_H -g -O2 -I. -I. -MD -c async.cc -o async.o
mv async.d dep/async.d
c++ -DHAVE_CVS_IDENT=1 -DHAVE_CONFIG_H -g -O2 -I. -I. -MD -c design_dump.cc -o design_dump.o
mv design_dump.d dep/design_dump.d
c++ -DHAVE_CVS_IDENT=1 -DHAVE_CONFIG_H -g -O2 -I. -I. -MD -c dup_expr.cc -o dup_expr.o
mv dup_expr.d dep/dup_expr.d
c++ -DHAVE_CVS_IDENT=1 -DHAVE_CONFIG_H -g -O2 -I. -I. -MD -c elaborate.cc -o elaborate.o
In file included from /usr/include/c++/3.3/backward/strstream:51,
from elaborate.cc:33:
/usr/include/c++/3.3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
mv elaborate.d dep/elaborate.d
c++ -DHAVE_CVS_IDENT=1 -DHAVE_CONFIG_H -g -O2 -I. -I. -MD -c elab_expr.cc -o elab_expr.o
mv elab_expr.d dep/elab_expr.d
c++ -DHAVE_CVS_IDENT=1 -DHAVE_CONFIG_H -g -O2 -I. -I. -MD -c elab_lval.cc -o elab_lval.o
mv elab_lval.d dep/elab_lval.d
c++ -DHAVE_CVS_IDENT=1 -DHAVE_CONFIG_H -g -O2 -I. -I. -MD -c elab_net.cc -o elab_net.o
mv elab_net.d dep/elab_net.d
c++ -DHAVE_CVS_IDENT=1 -DHAVE_CONFIG_H -g -O2 -I. -I. -MD -c elab_anet.cc -o elab_anet.o
mv elab_anet.d dep/elab_anet.d
c++ -DHAVE_CVS_IDENT=1 -DHAVE_CONFIG_H -g -O2 -I. -I. -MD -c elab_pexpr.cc -o elab_pexpr.o
mv elab_pexpr.d dep/elab_pexpr.d
c++ -DHAVE_CVS_IDENT=1 -DHAVE_CONFIG_H -g -O2 -I. -I. -MD -c elab_scope.cc -o elab_scope.o
mv elab_scope.d dep/elab_scope.d
c++ -DHAVE_CVS_IDENT=1 -DHAVE_CONFIG_H -g -O2 -I. -I. -MD -c elab_sig.cc -o elab_sig.o
mv elab_sig.d dep/elab_sig.d
c++ -DHAVE_CVS_IDENT=1 -DHAVE_CONFIG_H -g -O2 -I. -I. -MD -c emit.cc -o emit.o
mv emit.d dep/emit.d
c++ -DHAVE_CVS_IDENT=1 -DHAVE_CONFIG_H -g -O2 -I. -I. -MD -c eval.cc -o eval.o
mv eval.d dep/eval.d
c++ -DHAVE_CVS_IDENT=1 -DHAVE_CONFIG_H -g -O2 -I. -I. -MD -c eval_attrib.cc -o eval_attrib.o
mv eval_attrib.d dep/eval_attrib.d
c++ -DHAVE_CVS_IDENT=1 -DHAVE_CONFIG_H -g -O2 -I. -I. -MD -c eval_rconst.cc -o eval_rconst.o
mv eval_rconst.d dep/eval_rconst.d
c++ -DHAVE_CVS_IDENT=1 -DHAVE_CONFIG_H -g -O2 -I. -I. -MD -c eval_tree.cc -o eval_tree.o
mv eval_tree.d dep/eval_tree.d
c++ -DHAVE_CVS_IDENT=1 -DHAVE_CONFIG_H -g -O2 -I. -I. -MD -c expr_synth.cc -o expr_synth.o
mv expr_synth.d dep/expr_synth.d
c++ -DHAVE_CVS_IDENT=1 -DHAVE_CONFIG_H -g -O2 -I. -I. -MD -c functor.cc -o functor.o
mv functor.d dep/functor.d
flex -PVL -s -olexor.cc ./lexor.lex
./lexor.lex:382: warning, -s option given but default rule can be matched
bison --verbose -t -p VL -d -o parse.cc ./parse.y
mv parse.cc.h parse.h || mv parse.hh parse.h
mv: cannot stat `parse.cc.h': No such file or directory
c++ -DHAVE_CVS_IDENT=1 -DHAVE_CONFIG_H -g -O2 -I. -I. -MD -c lexor.cc -o lexor.o
mv lexor.d dep/lexor.d
gperf -o -i 7 -C -k 1-3,$ -L ANSI-C -H keyword_hash -N check_identifier -t ./lexor_keyword.gperf > lexor_keyword.cc || (rm -f lexor_keyword.cc ; false)
c++ -DHAVE_CVS_IDENT=1 -DHAVE_CONFIG_H -g -O2 -I. -I. -MD -c lexor_keyword.cc -o lexor_keyword.o
mv lexor_keyword.d dep/lexor_keyword.d
c++ -DHAVE_CVS_IDENT=1 -DHAVE_CONFIG_H -g -O2 -I. -I. -MD -c link_const.cc -o link_const.o
mv link_const.d dep/link_const.d
c++ -DHAVE_CVS_IDENT=1 -DHAVE_CONFIG_H -g -O2 -I. -I. -MD -c load_module.cc -o load_module.o
load_module.cc: In function `bool load_module(const char*)':
load_module.cc:100: error: `assert' undeclared (first use this function)
load_module.cc:100: error: (Each undeclared identifier is reported only once
for each function it appears in.)
load_module.cc: In function `int build_library_index(const char*, bool)':
load_module.cc:181: error: `assert' undeclared (first use this function)
make: *** [load_module.o] Error 1