[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gEDA: Win compile help please
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hmm... Are you really compiling with the mingw compiler and not
the cygwin compiler? And did you configure that way? There is some
trickery to get the "getopt" declarations right when compiling for
Windows. I think there is some confusion in your configure/compile
over compilers and linkers.
Unfortunately, it's been a while since I last addressed this. Try
posting your iverilog81/config.h file and I can compare it with
one I have here that successfully compiled iverilog under Windows.
CN wrote:
| When I try to build ivl 0.8 using cygwin, (following Stephen Williams minggw.txt), I get
the following error. Can anybody please help me? I am very new to win build of ivl. Is
there another mailing list where win build issues are being discussed?
|
| 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
|
|
- --
Steve Williams "The woods are lovely, dark and deep.
steve at icarus.com But I have promises to keep,
http://www.icarus.com and lines to code before I sleep,
http://www.picturel.com And lines to code before I sleep."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFCwxygrPt1Sc2b3ikRAmZDAJ9vZe+qW/ptZ2sfeaIORUwAdSK3uwCcCS+N
CLuVCrOawK12rP3AiWnICkU=
=dTWV
-----END PGP SIGNATURE-----