Tuyen> You are right, I installed older LLVM because building another
        Tuyen> thing (I can't remember what) made me to. Thanks for pointing
        Tuyen> out.

Great; I'm glad we figued that out!

        Tuyen> Anyway, I built and installed LLVM3.3 and try configure again.
        Tuyen> It prompted for a number of Perl modules that I successfully
        Tuyen> installed with cpan -i  command, except the Sys::CPU
        Tuyen> 
        Tuyen> [...]
        Tuyen> 
        Tuyen> CPU.xs: In function 'XS_Sys__CPU_cpu_clock':
        Tuyen> CPU.xs:349:5: error: unknown type name 'processor_info_t'
        Tuyen> CPU.xs:350:48: error: request for member 'pi_state' in something 
not a structure
        Tuyen>  or union
        Tuyen> [...]
        Tuyen> 
        Tuyen> Am I having too old Perl?

I would expect that your version of Perl (5.14) should be new enough, as far as
C-Reduce is concerned.

The symptom above is one that I don't recognize.  I don't have a good idea why
`Sys::CPU' won't compile on your platform, and a quick google didn't turn up
any helpful advice.

As John Regehr mentioned previously, none of the primary C-Reduce developers
uses a Windows box for development.  So to diagnose the problem with Sys::CPU,
you might have to dig into the "CPU.xs" code yourself.  I'm sorry that I can't
offer better advice.

Eric.

-- 
-------------------------------------------------------------------------------
Eric Eide <[email protected]>  .         University of Utah School of Computing
http://www.cs.utah.edu/~eeide/ . +1 (801) 585-5512 voice, +1 (801) 581-5843 FAX

Reply via email to