[Disksim-users] help for compile error

Marlow Weston catblade at gmail.com
Fri Apr 16 16:31:59 EDT 2010


You are building on a 64 bit machine.  You need to add -m32 to your build
flags, or build on a 32-bit machine.

Best wishes,
--Marlow


2010/4/16 Yangyang Pan <yyangpan at gmail.com>

> Hi All,
>
>  I am new beginner of Disksim.  When I compiled the disksim first,
>
>
> gcc -Wall -Wno-unused -MD -c -I. -I../diskmodel/include
> -I../libparam/include -I../libddbg/include -g -DASSERTS
> -I../memsmodel/include -D_INLINE  disksim_iosim.c -o disksim_iosim.o
> disksim_iosim.c: In function `iosim_load_map':
> disksim_iosim.c:364: warning: cast to pointer from integer of different
> size
> disksim_iosim.c: In function `io_initialize':
> disksim_iosim.c:712: error: duplicate case value
> disksim_iosim.c:712: error: previously used here
> make[1]: *** [disksim_iosim.o] Error 1
> make[1]: Leaving directory `/home/rhome/pany2/Disksim/disksim-4.0/src'
> make: *** [all] Error 2
> If anybody have the same problem and the solution. I will be very
> appreciated if you can provide some help. Thank you very much.
>
> All the best,
> Yangyang
>
> --
> All the Best
>
> -----------------------------------------------------------
> Yangyang
> Electrical and Computer&System Engineering Department
> Rensselaer Polytechnic Institute,
> 12180,Troy.NY
>
> _______________________________________________
> Disksim-users mailing list
> Disksim-users at ece.cmu.edu
> https://sos.ece.cmu.edu/mailman/listinfo/disksim-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/disksim-users/attachments/20100416/b792b604/attachment.html>


More information about the Disksim-users mailing list