[Disksim-users] Compiling problem of SSD model

Yangyang Pan yyangpan at gmail.com
Thu Apr 22 22:05:44 EDT 2010


Hi all,

Does anyone have used the SSD model(ssd-add-on.zip) with disksim?  When I
compile the ssdmoel, 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 -m32 -c -m32 -g -DASSERTS  -I../src//
-I../diskmodel/include -I../ -I../src//src ssd.c -o ssd.o
ssd.c: In function `getssd':
ssd.c:33: error: structure has no member named `ssdinfo'
ssd.c:34: error: structure has no member named `ssdinfo'
ssd.c: In function `ssd_invoke_element_cleaning':
ssd.c:423: error: structure has no member named `ssd_elem_num'
ssd.c: In function `ssd_activate_elem':
ssd.c:543: error: structure has no member named `ssd_elem_num'
ssd.c:566: error: structure has no member named `ssd_elem_num'
ssd.c:599: error: structure has no member named `ssd_elem_num'
ssd.c: In function `ssd_clean_element_complete':
ssd.c:766: error: structure has no member named `ssd_elem_num'
ssd.c: In function `ssd_access_complete_element':
ssd.c:814: error: structure has no member named `ssd_elem_num'
ssd.c:814: error: structure has no member named `ssd_elem_num'
ssd.c: In function `ssd_get_numdisks':
ssd.c:1042: error: structure has no member named `ssdinfo'
ssd.c: In function `ssd_add':
ssd.c:1068: error: structure has no member named `ssdinfo'
ssd.c:1070: error: structure has no member named `ssdinfo'
ssd.c:1071: error: structure has no member named `ssdinfo'
ssd.c:1072: error: structure has no member named `ssdinfo'
ssd.c:1073: error: structure has no member named `ssdinfo'
ssd.c:1079: error: structure has no member named `ssdinfo'
ssd.c:1080: error: structure has no member named `ssdinfo'
ssd.c:1083: error: structure has no member named `ssdinfo'
ssd.c:1083: error: structure has no member named `ssdinfo'
ssd.c:1083: error: structure has no member named `ssdinfo'
ssd.c:1086: error: structure has no member named `ssdinfo'
ssd.c:1087: error: structure has no member named `ssdinfo'
ssd.c:1088: error: structure has no member named `ssdinfo'
ssd.c: In function `ssdmodel_ssd_loadparams':
ssd.c:1099: error: structure has no member named `ssdinfo'
ssd.c: In function `ssd_printstats':
ssd.c:1414: error: structure has no member named `ssdinfo'
ssd.c:1431: error: structure has no member named `ssdinfo'
ssd.c:1433: error: structure has no member named `ssdinfo'
ssd.c:1434: error: structure has no member named `ssdinfo'
ssd.c:1436: error: structure has no member named `ssdinfo'
ssd.c:1440: error: structure has no member named `ssdinfo'
ssd.c: At top level:
ssd.c:1487: error: `DEVICETYPE_SSD' undeclared here (not in a function)
ssd.c:1487: error: initializer element is not constant
ssd.c:1487: error: (near initialization for
`ssd_hdr_initializer.device_type')
make: *** [ssd.o] Error 1
-- 
All the Best

-----------------------------------------------------------
Yangyang
Electrical and Computer&System Engineering Department
Rensselaer Polytechnic Institute,
12180,Troy.NY
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/disksim-users/attachments/20100422/fb9730f4/attachment.html>


More information about the Disksim-users mailing list