Build error at value_guest.c:73
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- c
- Lĩnh vực
- build-system
Hướng nghiên cứu
Bắt đầu với README.md và tái hiện lệnh được báo cáo, ./bin/rake spec --trace, bằng môi trường GCC được liệt kê. Kiểm tra ext/mruby_engine/value_guest.c quanh dòng 73 và các header mruby được include; hoàn tất khi engine build vượt qua lỗi này và lệnh spec hoàn thành.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hello.
I'm trying to build engine as its described in Readme.md, but I've encountered an error:
$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc-multilib/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=release
Thread model: posix
gcc version 6.3.1 20170109 (GCC)
./bin/rake spec --trace
** Invoke spec (first_time)
** Invoke compile (first_time)
** Invoke compile:x86_64-linux (first_time)
** Invoke compile:mruby_engine:x86_64-linux (first_time)
** Invoke copy:mruby_engine:x86_64-linux:2.4.0 (first_time)
** Invoke lib/mruby_engine (first_time, not_needed)
** Invoke tmp/x86_64-linux/mruby_engine/2.4.0/mruby_engine.so (first_time)
** Invoke tmp/x86_64-linux/mruby_engine/2.4.0/Makefile (first_time, not_needed)
** Invoke tmp/x86_64-linux/mruby_engine/2.4.0 (first_time, not_needed)
** Invoke ext/mruby_engine/extconf.rb (first_time, not_needed)
** Invoke ext/mruby_engine/dlmalloc.c (first_time, not_needed)
** Invoke ext/mruby_engine/eval_monitored.c (first_time, not_needed)
** Invoke ext/mruby_engine/eval_unmonitored.c (first_time, not_needed)
** Invoke ext/mruby_engine/ext.c (first_time, not_needed)
** Invoke ext/mruby_engine/host.c (first_time, not_needed)
** Invoke ext/mruby_engine/libunwind_test.c (first_time, not_needed)
** Invoke ext/mruby_engine/memory_pool.c (first_time, not_needed)
** Invoke ext/mruby_engine/memory_pool_test.c (first_time, not_needed)
** Invoke ext/mruby_engine/mruby_engine.c (first_time, not_needed)
** Invoke ext/mruby_engine/platform_darwin.c (first_time, not_needed)
** Invoke ext/mruby_engine/platform_linux.c (first_time, not_needed)
** Invoke ext/mruby_engine/value_guest.c (first_time, not_needed)
** Invoke ext/mruby_engine/value_host.c (first_time, not_needed)
** Execute tmp/x86_64-linux/mruby_engine/2.4.0/mruby_engine.so
cd tmp/x86_64-linux/mruby_engine/2.4.0
/bin/make
compiling ../../../../ext/mruby_engine/value_guest.c
In file included from /usr/include/mruby/proc.h:71:0,
from ../../../../ext/mruby_engine/mruby_engine_private.h:7,
from ../../../../ext/mruby_engine/value_guest.c:1:
../../../../ext/mruby_engine/value_guest.c: In function ‘me_value_to_host_r’:
../../../../ext/mruby_engine/value_guest.c:73:38: error: dereferencing pointer to incomplete type ‘struct kh_ht’
for (int i = kh_begin(kh), f = kh_end(kh); i < f; ++i) {
^
make: *** [Makefile:242: value_guest.o] Error 1
rake aborted!
Command failed with status (2): [/bin/make...]
- Ngôn ngữ chính
- C
- Star
- 81
- Fork
- 19
- Merge trung bình
- 12 ngày 4 giờ
- Pull request đã merge (30 ngày)
- 1
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Shopify/mruby-engine
-
Rake build missing dependency Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
Shopify/mruby-engine#25 ·
-
mgem questions Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
Shopify/mruby-engine#23 ·
Tất cả issue của Shopify/mruby-engine
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
duckdb/duckdb-wasm#2258 ·
-
how does install.sh work Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
rofl0r/microsocks#110 ·
-
OTA is not aborted correctly Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
espressif/esp-aws-iot#261 ·
-
os:linux
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
mpv-player/mpv#18510 · 2 bình luận ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100