[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-user: vpi compile mingw
I got most of the modules built; the synthesis portion appears to be working. However vpi fails make check. I had to supply c:/cygwin/lib/libc.a to the link step for the vpi build to complete; otherwise I get undefined references to `fseeko' and `ftello'. I do not know if that is the correct libc, but that is the only one I have under the cygwin, mingw, mingw-packages, and gnuwin32 trees here.
make[1]: Entering directory `/cygdrive/c/ivl_ag/v81b/vvp'
./vvp -M../vpi ./examples/hello.vvp | grep 'Hello, World.'
3 [main] ? 4080 cygheap_fixup_in_child: Couldn't reserve 9891792 bytes of
space for cygwin's heap (0x61820000 <0xE30000>) in child, Win32 error 487
c:\ivl_ag\v81b\vvp\vvp.exe (4080): *** m.AllocationBase 0x0, m.BaseAddress 0x618
20000, m.RegionSize 0x3E0000, m.State 0x10000
Sometimes, the make check will leave my cygwin environment trashed, I have to reboot!
I get the following compile warnings:
gcc -DHAVE_CVS_IDENT=1 -I. -I./.. -I. -I.. -Ic:/gnuwin32/include -Ic:/MinGW/inc
lude -Ic:/MinGW-packages/include -Ic:/cygwin/usr/include/mingw -DHAVE_CONFIG_H
-Wall -g -O2 -MD -c lxt2_write.c -o lxt2_write.o
lxt2_write.c: In function `lxt2_wr_emit_value_bit_string':
lxt2_write.c:1755: warning: implicit declaration of function `alloca'
mv lxt2_write.d dep
gcc -DHAVE_CVS_IDENT=1 -I. -I./.. -I. -I.. -Ic:/gnuwin32/include -Ic:/MinGW/inc
lude -Ic:/MinGW-packages/include -Ic:/cygwin/usr/include/mingw -DHAVE_CONFIG_H
-Wall -g -O2 -MD -c lxt_write.c -o lxt_write.o
lxt_write.c: In function `lt_emitfacs':
lxt_write.c:658: warning: implicit declaration of function `fseeko'
lxt_write.c:659: warning: implicit declaration of function `ftello'
gcc -DHAVE_CVS_IDENT=1 -I. -I./.. -I. -I.. -Ic:/gnuwin32/include -Ic:/MinGW/inc
lude -Ic:/MinGW-packages/include -Ic:/cygwin/usr/include/mingw -DHAVE_CONFIG_H
-Wall -g -O2 -MD -c sys_vcd.c -o sys_vcd.o
sys_vcd.c: In function `variable_cb_2':
sys_vcd.c:183: warning: unsigned int format, different type arg (arg 3)
sys_vcd.c: In function `dumpvars_cb':
sys_vcd.c:233: warning: unsigned int format, different type arg (arg 3)
sys_vcd.c: In function `install_dumpvars_callback':
...
Any suggestion on how to fix these? I have exhaused all the options that I can think of on my own... Thank you very much for your help.
Cordially, CN