[Disksim-users] Compilation Errors

Tyler Clemons clemons.47 at buckeyemail.osu.edu
Fri Nov 6 12:36:23 EST 2009


  tried to compile Disksim v4.0 and I received this nasty error:

disksim_iosim.c:712: error: duplicate case value


I tried getting rid of that line and I got this:

In file included from common.h:62,
               from sched.c:48:
md.h:128:2: error: #error Unknown CPU architecture
sched.c: In function ‘st_thread_create’:
sched.c:889: error: ‘MD_JB_SP’ undeclared (first use in this function)
sched.c:889: error: (Each undeclared identifier is reported only once
sched.c:889: error: for each function it appears in.)
make[3]: *** [DARWIN_10.0.0_DBG/sched.o] Error 1
make[2]: *** [darwin-debug] Error 2
make[1]: *** [st-1.7/obj] Error 2
make: *** [all] Error 2

I also tried running runvalid and I got segfaults.  One of them is here:

syssim: externally-controlled DiskSim (avg. resp should be about 8.9ms)
./runvalid: line 145:  5458 Segmentation fault      ${PREFIX}/syssim  
cheetah4LP.parv syssim.outv 2676846

My system is a Macbook with OS X10.6.1 (Leopard 64bits)

Any help would be appreciated!

Thanks!

-Tyler



More information about the Disksim-users mailing list