[Disksim-users] Errors in compiling disksim-4.0 with SSD-patch

何爽 hshopeful1 at gmail.com
Fri Jan 11 06:36:33 EST 2013


Dear all,
I have already solved the problem.
Before I install disksim-4.0,I have already installed the disksim-3.0,and
in order to install the disksim-3.0 successfully,I degraded the gcc.That is
the problem.
Disksim-4.0 needs a high gcc version.
So I update the gcc,and re-install the disksim-4.0.and I succeed

Thanks
All the best
Heshuang


2013/1/9 何爽 <hshopeful1 at gmail.com>

> Dear,all
> Does anyone have used the SSD model(ssd-add-on.zip) with disksim4-0?  When
> I
> compile the ssdmodel, there is an error .
>
>  If you have the same problem and solution, please drop me a message. I
> will
>  be very appreciated. Thank you very much.
>
> gcc -Wall -Wno-unused -MD -o mems_seektest mems_seektest.o -L. -lm -g
> -DASSERTS  -I../src// -I../ -I../src//src -lmems_internals
> ./libmems_internals.a(mems_internals.o): In function
> `find_turnaround_time':
> /home/he/disksim-4.0/memsmodel/mems_internals.c:323: undefined reference
> to `disksim'
> /home/he/disksim-4.0/memsmodel/mems_internals.c:325: undefined reference
> to `disksim'
> /home/he/disksim-4.0/memsmodel/mems_internals.c:345: undefined reference
> to `disksim'
> /home/he/disksim-4.0/memsmodel/mems_internals.c:348: undefined reference
> to `disksim'
> ./libmems_internals.a(mems_internals.o): In function
> `mems_find_precomputed_seek_time':
> /home/he/disksim-4.0/memsmodel/mems_internals.c:809: undefined reference
> to `disksim'
> ./libmems_internals.a(mems_internals.o):/home/he/disksim-4.0/memsmodel/mems_internals.c:811:
> more undefined references to
> `disksim' follow collect2: ld returned 1 exit status
>
> All the best
>
> Heshuang
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/disksim-users/attachments/20130111/935df493/attachment.html>


More information about the Disksim-users mailing list