我在编译一个简单的Buildroot根文件系统的时候出现了一个从没有遇到过的错误,请大神帮忙看看,谢谢了。
Checking for size of "wchar_t" : 4
Checking if "GCC size_t typedef is int" compiles: YES
Checking if "GCC size_t typedef is long" compiles: NO
Checking if "__va_copy check" compiles: YES
Checking if "va_copy check" compiles: YES
Checking if "ISO C99 varargs macros in C" compiles: YES
Checking if "GNUC varargs macros" compiles: YES
Has header "alloca.h" : YES (cached)
Has header "sys/poll.h" : YES
Has header "sys/types.h" : YES (cached)
Has header "winsock2.h" : NO
Computing int of "POLLIN" : 1
Computing int of "POLLOUT" : 4
Computing int of "POLLPRI" : 2
Computing int of "POLLERR" : 8
Computing int of "POLLHUP" : 16
Computing int of "POLLNVAL" : 32
Computing int of "AF_UNIX" : 1
Computing int of "AF_INET" : 2
Computing int of "AF_INET6" : 10
Computing int of "MSG_OOB" : 1
Computing int of "MSG_PEEK" : 2
Computing int of "MSG_DONTROUTE" : 4
Checking for type "struct in6_addr" : YES
Checking if "atomic ops" : links: YES
Checking if "atomic ops define" compiles: YES
Run-time dependency threads found: YES
Header "pthread.h" has symbol "pthread_attr_setstacksize" : YES
Header "pthread.h" has symbol "pthread_attr_setinheritsched" : YES
Header "pthread.h" has symbol "pthread_condattr_setclock" : YES
Header "pthread.h" has symbol "pthread_cond_timedwait_relative_np" : NO
Header "pthread.h" has symbol "pthread_getname_np" : YES
Header "sys/syscall.h" has symbol "SYS_sched_getattr" : YES
Checking if "pthread_setname_np(const char*)" with dependency threads: links: NO
Checking if "pthread_setname_np(pthread_t, const char*)" with dependency threads: links: YES
Header "iconv.h" has symbol "iconv_open" : YES
Library iconv found: YES
Found pkg-config: /home/liefyuan/rv1103/luckfox-pico-main-origin/sysdrv/source/buildroot-2023.02.6/output/host/bin/pkgconf (1.6.3)
Run-time dependency libpcre found: YES 8.45
Library m found: YES
Run-time dependency libffi found: YES 3.4.4
Run-time dependency zlib found: YES 1.2.13
Checking for function "ngettext" : NO
Library intl found: NO
output/build/libglib2-2.72.3/meson.build:2102:4: ERROR: Automatic wrap-based subproject downloading is disabled
A full log can be found at /home/liefyuan/rv1103/luckfox-pico-main-origin/sysdrv/source/buildroot-2023.02.6/output/build/libglib2-2.72.3/build/meson-logs/meson-log.txt
package/pkg-generic.mk:273: recipe for target '/home/liefyuan/rv1103/luckfox-pico-main-origin/sysdrv/source/buildroot-2023.02.6/output/build/libglib2-2.72.3/.stamp_configured' failed
make[1]: *** [/home/liefyuan/rv1103/luckfox-pico-main-origin/sysdrv/source/buildroot-2023.02.6/output/build/libglib2-2.72.3/.stamp_configured] Error 1
Makefile:82: recipe for target '_all' failed
make: *** [_all] Error 2
buildroot-2023.02.6/output/build/libglib2-2.72.3/build/meson-logs/meson-log.txt文件内容:
Checking for function "ngettext" : NO
Running compile:
Working directory: /home/liefyuan/rv1103/luckfox-pico-main-origin/sysdrv/tools/board/buildroot/buildroot-2023.02.6/output/build/libglib2-2.72.3/build/meson-private/tmpq5wyfo6i
Command line: /home/liefyuan/rv1103/luckfox-pico-main-origin/sysdrv/tools/board/buildroot/buildroot-2023.02.6/output/host/bin/arm-rockchip830-linux-uclibcgnueabihf-gcc /home/liefyuan/rv1103/luckfox-pico-main-origin/sysdrv/tools/board/buildroot/buildroot-2023.02.6/output/build/libglib2-2.72.3/build/meson-private/tmpq5wyfo6i/testfile.c -o /home/liefyuan/rv1103/luckfox-pico-main-origin/sysdrv/tools/board/buildroot/buildroot-2023.02.6/output/build/libglib2-2.72.3/build/meson-private/tmpq5wyfo6i/output.exe -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Os -g0 -D_FILE_OFFSET_BITS=64 -O0 -Wl,--start-group -lintl -Wl,--end-group -Wl,--allow-shlib-undefined
Code:
int main(void) { return 0; }
Compiler stdout:
Compiler stderr:
/home/liefyuan/rv1103/luckfox-pico-main-origin/tools/linux/toolchain/arm-rockchip830-linux-uclibcgnueabihf/bin/../lib/gcc/arm-rockchip830-linux-uclibcgnueabihf/8.3.0/../../../../arm-rockchip830-linux-uclibcgnueabihf/bin/ld.bfd: cannot find -lintl
collect2: error: ld returned 1 exit status
Library intl found: NO
output/build/libglib2-2.72.3/meson.build:2102:4: ERROR: Automatic wrap-based subproject downloading is disabled
离线