<font><font size="2">Hi all,<br>
<br>
I tried to link DiskSim to OMNeT++, but after a week
of struggling I still haven't got it working. <br>
I linked all the libraries (disksim, diskmodel, dxtools, st, ddbg, param
and memsmodel) but got the following error:<br>
<br>
.../lib/libddbg.a(ddbg_trace.o): In fuction 'ddbg_register':<br>
.../ddbg_trace.c:95 undefined reference to 'bit_zero'<br>
.../lib/libddbg.a(ddbg_trace.o): In fuction 'ddbg_enable':<br>
.../ddbg_trace.c:110 undefined reference to 'bit_setall'<br>
.../lib/libddbg.a(ddbg_trace.o): In fuction 'ddbg_disable':<br>
.../ddbg_trace.c:123 undefined reference to 'bit_zero'<br>
colllect2: ld returned 1 exit status<br>
<br>
When I also link disksim_interface.o errors occur saying: multiple
definition of...<br>
I'm using an own makefile, because the one generated by OMNeT doesn't
include the paths properly <br>
(it first searches for a file and gets an error, before including the
path where this file is in).<br>
I searched on the internet and tried lots of things, but I can't find
what I'm doing wrong. Do anyone have some advice?<br>
I'd really appreciate it. Thanks in advance.<br>
<br>
Regards,<br>
Joep </font></font>