[Magic-dev] IRSIM on Mac OS X
Kevin Scarbery
kscarbery at mac.com
Tue Dec 21 12:37:15 EST 2004
Has anyone successfully compiled and ran IR Sim on Mac OS X? I am
running 10.3.7 with the latest libraries via Fink and cannot seem to
get any version to compile properly. The following is from irsim-9.7.1.
The first warnings I get are during compile of rsim.c:
:rsim.c: In function `apply':
rsim.c:303: warning: passing arg 4 of `Tcl_SplitList' from incompatible
pointer type
rsim.c:308: warning: passing arg 1 of `Tcl_Free' from incompatible
pointer type
rsim.c:387: warning: passing arg 1 of `Tcl_Free' from incompatible
pointer type
sim.c: In function `rd_network':
sim.c:905: warning: passing arg 1 of `lprintf' from incompatible
pointer type
Next:
:subckt.c:57: warning: static declaration for `HashSub' follows
non-static
tclirsim.c: In function `_irsim_dispatch':
tclirsim.c:117: warning: passing arg 3 of `Tcl_GetIndexFromObj' from
incompatible pointer type
Finally some errors:
:../rules.mak:34: warning: overriding commands for target
`/usr/local/bin/irsim'
Makefile:31: warning: ignoring old commands for target
`/usr/local/bin/irsim'
random.c:73:20: malloc.h: No such file or directory
random.c: In function `do_random':
random.c:268: warning: passing arg 4 of `Tcl_SplitList' from
incompatible pointer type
random.c:287: warning: passing arg 4 of `Tcl_SplitList' from
incompatible pointer type
random.c:349: warning: passing arg 4 of `Tcl_SplitList' from
incompatible pointer type
random.c: In function `Random_Init':
random.c:379: warning: passing arg 3 of `Tcl_CreateCommand' from
incompatible pointer type
make[2]: *** [randwrap.o] Error 1
And a whole bunch of multiple definitions:
ld: warning multiple definitions of symbol _tclIntPlatStubsPtr
/usr/local/lib/libtcl8.4.dylib(tclStubLib.o) definition of
_tclIntPlatStubsPtr
/usr/local/lib/libtk8.4.dylib(tclStubLib.o) definition of
_tclIntPlatStubsPtr
ld: warning multiple definitions of symbol _tclStubsPtr
/usr/local/lib/libtcl8.4.dylib(tclStubLib.o) definition of _tclStubsPtr
/usr/local/lib/libtk8.4.dylib(tclStubLib.o) definition of _tclStubsPtr
ld: warning multiple definitions of symbol _tclIntStubsPtr
/usr/local/lib/libtcl8.4.dylib(tclStubLib.o) definition of
_tclIntStubsPtr
/usr/local/lib/libtk8.4.dylib(tclStubLib.o) definition of
_tclIntStubsPtr
ld: warning multiple definitions of symbol _Tcl_InitStubs
/usr/local/lib/libtcl8.4.dylib(tclStubLib.o) definition of
_Tcl_InitStubs
/usr/local/lib/libtk8.4.dylib(tclStubLib.o) definition of _Tcl_InitStubs
ld: warning multiple definitions of symbol _tclPlatStubsPtr
/usr/local/lib/libtcl8.4.dylib(tclStubLib.o) definition of
_tclPlatStubsPtr
/usr/local/lib/libtk8.4.dylib(tclStubLib.o) definition of
_tclPlatStubsPtr
ld: warning suggest use of -bind_at_load, as lazy binding may result in
errors o
r different symbols being used
symbol _Tcl_InitStubs used from d
Upon trying to make install:
--- installing to /usr/local
../rules.mak:34: warning: overriding commands for target
`/usr/local/bin/irsim'
Makefile:31: warning: ignoring old commands for target
`/usr/local/bin/irsim'
random.c:73:20: malloc.h: No such file or directory
random.c: In function `do_random':
random.c:268: warning: passing arg 4 of `Tcl_SplitList' from
incompatible pointer type
random.c:287: warning: passing arg 4 of `Tcl_SplitList' from
incompatible pointer type
random.c:349: warning: passing arg 4 of `Tcl_SplitList' from
incompatible pointer type
random.c: In function `Random_Init':
random.c:379: warning: passing arg 3 of `Tcl_CreateCommand' from
incompatible pointer type
make[2]: *** [randwrap.o] Error 1
Any ideas how to get something, anything working?
More information about the magic-dev
mailing list