<br clear="all">Hi all,<div><br></div><div>Does anyone have used the SSD model(ssd-add-on.zip) with disksim?  When I compile the ssdmoel, there is an error :</div><div><br></div><div>If you have the same problem and solution, please drop me a message. I will be very appreciated. Thank you very much.</div>
<div><br></div><div><div>gcc -Wall -Wno-unused -MD -m32 -c -m32 -g -DASSERTS  -I../src// -I../diskmodel/include -I../ -I../src//src ssd.c -o ssd.o</div><div>ssd.c: In function `getssd':</div><div>ssd.c:33: error: structure has no member named `ssdinfo'</div>
<div>ssd.c:34: error: structure has no member named `ssdinfo'</div><div>ssd.c: In function `ssd_invoke_element_cleaning':</div><div>ssd.c:423: error: structure has no member named `ssd_elem_num'</div><div>ssd.c: In function `ssd_activate_elem':</div>
<div>ssd.c:543: error: structure has no member named `ssd_elem_num'</div><div>ssd.c:566: error: structure has no member named `ssd_elem_num'</div><div>ssd.c:599: error: structure has no member named `ssd_elem_num'</div>
<div>ssd.c: In function `ssd_clean_element_complete':</div><div>ssd.c:766: error: structure has no member named `ssd_elem_num'</div><div>ssd.c: In function `ssd_access_complete_element':</div><div>ssd.c:814: error: structure has no member named `ssd_elem_num'</div>
<div>ssd.c:814: error: structure has no member named `ssd_elem_num'</div><div>ssd.c: In function `ssd_get_numdisks':</div><div>ssd.c:1042: error: structure has no member named `ssdinfo'</div><div>ssd.c: In function `ssd_add':</div>
<div>ssd.c:1068: error: structure has no member named `ssdinfo'</div><div>ssd.c:1070: error: structure has no member named `ssdinfo'</div><div>ssd.c:1071: error: structure has no member named `ssdinfo'</div><div>
ssd.c:1072: error: structure has no member named `ssdinfo'</div><div>ssd.c:1073: error: structure has no member named `ssdinfo'</div><div>ssd.c:1079: error: structure has no member named `ssdinfo'</div><div>ssd.c:1080: error: structure has no member named `ssdinfo'</div>
<div>ssd.c:1083: error: structure has no member named `ssdinfo'</div><div>ssd.c:1083: error: structure has no member named `ssdinfo'</div><div>ssd.c:1083: error: structure has no member named `ssdinfo'</div><div>
ssd.c:1086: error: structure has no member named `ssdinfo'</div><div>ssd.c:1087: error: structure has no member named `ssdinfo'</div><div>ssd.c:1088: error: structure has no member named `ssdinfo'</div><div>ssd.c: In function `ssdmodel_ssd_loadparams':</div>
<div>ssd.c:1099: error: structure has no member named `ssdinfo'</div><div>ssd.c: In function `ssd_printstats':</div><div>ssd.c:1414: error: structure has no member named `ssdinfo'</div><div>ssd.c:1431: error: structure has no member named `ssdinfo'</div>
<div>ssd.c:1433: error: structure has no member named `ssdinfo'</div><div>ssd.c:1434: error: structure has no member named `ssdinfo'</div><div>ssd.c:1436: error: structure has no member named `ssdinfo'</div><div>
ssd.c:1440: error: structure has no member named `ssdinfo'</div><div>ssd.c: At top level:</div><div>ssd.c:1487: error: `DEVICETYPE_SSD' undeclared here (not in a function)</div><div>ssd.c:1487: error: initializer element is not constant</div>
<div>ssd.c:1487: error: (near initialization for `ssd_hdr_initializer.device_type')</div><div>make: *** [ssd.o] Error 1</div>-- <br>All the Best<br><br>-----------------------------------------------------------<br>Yangyang<br>
Electrical and Computer&System Engineering Department<br>Rensselaer Polytechnic Institute,<br>12180,Troy.NY<br>
</div>