[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gEDA: Win compile help please
My previous posting below, the last para was only partially correct. With 1.875-1, I get that error, but with 1.875b of bison, the compile goes past this step without errors.
However, I am now getting the following in the link step of ivl.exe. Any suggestions or pointer will be well appreciated!
Cordially, CN
...
g++ -DHAVE_CVS_IDENT=1 -DHAVE_CONFIG_H -I. -I. -Ic:/gnuwin32/include -Ic:/MinGW-
packages/include -Wall -g -O2 -MD -c t-dll-proc.cc -o t-dll-proc.o
mv t-dll-proc.d dep/t-dll-proc.d
g++ -DHAVE_CVS_IDENT=1 -DHAVE_CONFIG_H -I. -I. -Ic:/gnuwin32/include -Ic:/MinGW-
packages/include -Wall -g -O2 -MD -c t-xnf.cc -o t-xnf.o
mv t-xnf.d dep/t-xnf.d
g++ -o ivl.exe main.o async.o design_dump.o dup_expr.o elaborate.o elab_expr.o e
lab_lval.o elab_net.o elab_anet.o elab_pexpr.o elab_scope.o elab_sig.o emit.o ev
al.o eval_attrib.o eval_tree.o expr_synth.o functor.o lexor.o lexor_keyword.o li
nk_const.o load_module.o netlist.o netmisc.o net_assign.o net_design.o net_event
.o net_expr.o net_force.o net_func.o net_link.o net_modulo.o net_nex_input.o net
_nex_output.o net_proc.o net_scope.o net_udp.o net_variable.o pad_to_width.o par
se.o parse_misc.o pform.o pform_dump.o set_width.o symbol_search.o sync.o sys_fu
ncs.o verinum.o verireal.o target.o targets.o Attrib.o HName.o LineInfo.o Module
.o PData.o PDelays.o PEvent.o PExpr.o PGate.o PTask.o PUdp.o PFunction.o PWire.o
Statement.o StringHeap.o cprop.o nodangle.o synth.o synth2.o syn-rules.o xnfio.
o t-dll.o t-dll-api.o t-dll-expr.o t-dll-proc.o t-xnf.o
main.o: In function `Z17read_iconfig_filePKc':
.../iverilog81/main.cc:406: undefined reference to `optarg'
main.o: In function `main':
.../iverilog81/main.cc:492: undefined reference to `getopt'
.../iverilog81/main.cc:461: undefined reference to `optarg'
.../iverilog81/main.cc:471: undefined reference to `optarg'
.../iverilog81/main.cc:474: undefined reference to `optarg'
main.o: In function `main':
c:/MinGW/include/c++/3.2/bits/stl_alloc.h:630: undefined reference to `optarg'
c:/MinGW/include/c++/3.2/bits/stl_alloc.h:630: undefined reference to `optarg'
main.o: In function `main':
.../iverilog81/main.cc:518: undefined reference to `optind'
.../iverilog81/main.cc:552: undefined reference to `optind'
lexor.o: In function `Z14VL_init_bufferP15yy_buffer_stateP6_iobuf':
.../iverilog81/lexor.cc:2409: undefined reference to `isatty(int)'
make: *** [ivl.exe] Error 1
On Tue, 28 Jun 2005 22:56:18 -0700, CN wrote:
When I compile ivl 0.8, under cygwin, I get the following error:
.....
g++ -DHAVE_CVS_IDENT=1 -DHAVE_CONFIG_H -I. -I. -Ic:/gnuwin32/include -Ic:/MinGW-
packages/include -Wall -g -O2 -MD -c pad_to_width.cc -o pad_to_width.o
mv pad_to_width.d dep/pad_to_width.d
g++ -DHAVE_CVS_IDENT=1 -DHAVE_CONFIG_H -I. -I. -Ic:/gnuwin32/include -Ic:/MinGW-
packages/include -Wall -g -O2 -MD -c parse.cc -o parse.o
parse.cc: In function `int VLparse()':
parse.cc:7217: ISO C++ forbids declaration of `yylerrsp' with no type
parse.cc:7217: conflicting types for `int yylerrsp'
parse.cc:3197: previous declaration as `vlltype*yylerrsp'
parse.cc:7217: invalid conversion from `vlltype*' to `int'
parse.cc:7218: invalid type argument of `unary *'
parse.cc:7260: invalid operands of types `int' and `vlltype*' to binary `
operator-'
parse.cc:7260: invalid operands of types `int' and `vlltype*' to binary `
operator-'
parse.cc:7209: warning: label `yyerrlab1' defined but not used
make: *** [parse.o] Error 1
I have tried with bison 1.875-1 and 1.875b the only two versions available thru cygwin setup. If the above error is bison version related, could somebody give me some pointers as to where to get the 1.75 version of bison? Thank you very much!
Cordially, CN