Hello!
  I have tried to compiled parrot-0.1.2 on debian-arm
and get the error below:

src/platform.c
/usr/bin/perl -MFile::Copy=cp -e 'cp
q|jit/arm/jit_emit.h|, q|include/parrot/jit_emit.h|'
src/jit.c
/usr/bin/perl build_tools/jit2h.pl arm src/jit_cpu.c
jit2h: 92 (+ 143 vtable) of 1425 ops are JITed.
src/jit_cpu.c
In file included from src/jit_cpu.c:47:
include/parrot/jit_emit.h: In function
`Parrot_jit_int_load':
include/parrot/jit_emit.h:675: error: structure has no
member named `int_reg'
include/parrot/jit_emit.h: In function
`Parrot_jit_int_store':
include/parrot/jit_emit.h:719: error: structure has no
member named `int_reg'
make: *** [src/jit_cpu.o] Error 1
debian-arm:~/study/parrot-0.1.2#
...............

    I opened jit/arm/jit_emit.h and found:
Parrot_jit_int_load(Parrot_jit_info_t *jit_info,
                    Interp *interpreter,
                    arm_cond_t cond,
                    int param,
                    arm_register_t hwreg)
{
  ...
  offset = ((char
*)&interpreter->int_reg.registers[val])
  ...
}

the Interp is defined in include/parrot/parrot.h:
typedef struct parrot_interp_t Interp;

and the parrot_interp_t is defined                    
    in include/parrot/interpreter.h

   I searched the struct parrot_interp_t { ... } in
include/parrot/interpreter.h and didn't find a memeber
named int_reg . 
   Is it a bug of parrot ?  How can I fix it ? 

Regards 
Falls Huang

_________________________________________________________
Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
http://cn.rd.yahoo.com/mail_cn/tag/yisou/music/*http://music.yisou.com/
美女明星应有尽有,搜遍美图、艳图和酷图
http://cn.rd.yahoo.com/mail_cn/tag/yisou/image/*http://image.yisou.com
1G就是1000兆,雅虎电邮自助扩容!
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/

Reply via email to