[PTLsim-devel] Compilation Error of PTLsim on 32-bit Linux System

Matt T. Yourst
Tue Oct 16 16:40:47 EDT 2007


On Tuesday 16 October 2007 15:11, Pan Yan wrote:
> Hi PTLsim developers,
>
> seqcore.cpp:897: error: no matching function for call to 'inrange(Waddr&,
> W64&, W64&)'
> make: *** [seqcore.o] Error 1
> ---------------------------------------------------------------------------
>---------------------------------------
>
> Could anyone help me explain this? And what should I do to get it correctly
> compiled?
>

The problem is that Waddr is 32 bits and W64 is 64 bits on 32-bit platforms. 
If you ever have this problem, just do a typecast like this:

  inrange(W64(x), y, z)

In the next release we'll fix all the places where this occurs - we forgot to 
test the last release on 32-bit machines, so we missed this.

- Matt

-------------------------------------------------------
 Matt T. Yourst                    yourst at peptidal.com
 Peptidal Research Inc., Co-Founder and Lead Architect
-------------------------------------------------------


More information about the PTLsim-devel mailing list