Re: Compilation error in cont.c
by Emanuele Ricci other posts by this author
May 8 2008 10:07AM messages near this date
Re: Compilation error in cont.c
|
Re: Compilation error in cont.c
Yukihiro Matsumoto wrote:
> Hi,
>
> In message "Re: Compilation error in cont.c"
> on Fri, 9 May 2008 01:00:49 +0900, Emanuele Ricci
> <maurice.enciel@[...].com> writes:
>
> |Hi,
> |with ruby 1.9.0-1, I get the following error during the
> |cross-compilation :
> |
> |cont.o -c cont.c
> |cont.c: In function `cont_restore_0':
> |cont.c:327: error: structure has no member named `machine_stack_src'
> |make: *** [cont.o] Error 1
> |
> |This code seems not to be usually compiled.
>
> Could you try the trunk from the svn repo?
>
> We also need you platform information. 1.9.0-1 was compiled without
> any problem on my Linux box.
>
> matz.
Thank you very much for answering Matsumoto-sensei,
I just tried to cross compile ruby 1.9 trunk getting the same error:
arm-linux-gcc -mbig-endian -I. -I.ext/include/arm-linux -I./include
-I. -DRUBY_EXPORT -D_GNU_SOURCE=1 -o cont.o -c cont.c
cont.c: In function `cont_restore_0':
cont.c:326: error: structure has no member named `machine_stack_size'
make: *** [cont.o] Error 1
I'm cross compiling ruby for an arm processor embedded device on an
ubuntu gutsy gibbon vm using the embedded device compiler tool chain.
So from the configure log:
checking build system type... i686-pc-linux-gnu
checking host system type... arm-unknown-linux-gnu
checking target system type... arm-unknown-linux-gnu
checking for arm-linux-gcc... arm-linux-gcc
checking for arm-linux-gcc... (cached) arm-linux-gcc
I configured it with exactly the same options I used to succesfully
cross compile ruby 1.8.6 p114:
./configure --host=arm-linux CFLAGS=-mbig-endian LDFLAGS=-mbig-endian
Please tell me if any other info could be useful.
Thanks,
Emanuele.
--
Posted via http://www.ruby-forum.com/.
Thread:
Emanuele Ricci
Yukihiro Matsumoto
Emanuele Ricci
Yukihiro Matsumoto
Emanuele Ricci
Yukihiro Matsumoto
Emanuele Ricci
Yukihiro Matsumoto
Emanuele Ricci
|