gpt4 book ai didi

编译mruby

转载 作者:太空宇宙 更新时间:2023-11-04 07:34:25 25 4
gpt4 key购买 nike

我正在尝试编译 mruby .这是我第一次从命令行编译东西。当我在目录上运行 make 时,我得到这个:

make -C mrblib --no-print-directory CC=gcc LL=gcc
make -C ../tools/mrbc --no-print-directory CC=gcc LL=gcc
gcc -Wall -Werror-implicit-function-declaration -g -MMD -I../../src -I../../src/../include -c ../../src/st.c -o ../../src/st.o
In file included from ../../src/regint.h:93,
from ../../src/st.c:6:
../../src/../include/mruby.h: In function ‘mrb_special_const_p’:
../../src/../include/mruby.h:100: warning: comparison is always true due to limited range of data type
../../src/st.c: In function ‘st_hash’:
../../src/st.c:1053: error: ‘SIZEOF_ST_INDEX_T’ undeclared (first use in this function)
../../src/st.c:1053: error: (Each undeclared identifier is reported only once
../../src/st.c:1053: error: for each function it appears in.)
make[2]: *** [../../src/st.o] Error 1
make[1]: *** [../bin/mrbc] Error 2
make: *** [src/mrblib/mrblib.o] Error 2

在 Mac OS X 10.7.3 上构建我缺少一个步骤吗?谢谢

最佳答案

此问题已在数小时前修复。只需获取一份新的行李箱副本即可。

关于编译mruby,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10259082/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com