嵌入式开发者社区

标题: [Linux SDK] sdk编译buildroot失败 [打印本页]

作者: slamdunk31598    时间: 2023-11-14 15:24
标题: [Linux SDK] sdk编译buildroot失败
Hello Tronlong:

我在编译SDK时遇到buildroot编译失败的问题:

1、一开始我是./build.sh全部编译的,结果是失败的
2、为了排查是哪一步失败,我分开编译bootloader、kernel、buildroot等
3、其中bootloader、kernel编译成功,在编译buildroot时失败了

[code]gdbusmessage.c: In function parse_value_from_blob:
gdbusmessage.c:1712:29: warning: variable item set but not used [-Wunused-but-set-variable]
1712 |                   GVariant *item
      |                             ^~~~
gdbusmessage.c: In function append_value_to_blob:
gdbusmessage.c:2326:24: warning: unused variable end [-Wunused-variable]
2326 |           const gchar *end
      |                        ^~~
  CC       libgio_2_0_la-gdbusmethodinvocation.lo
gdbusauth.c: In function _g_dbus_auth_run_server:
gdbusauth.c:1302:11: error: %s directive argument is null [-Werror=format-overflow=]
1302 |           debug_print ("SERVER: WaitingForBegin, read %s", line)
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gdbusintrospection.c: In function g_dbus_interface_info_generate_xml:
gdbusintrospection.c:751:3: warning: access_string may be used uninitialized in this function [-Wmaybe-uninitialized]
  751 |   g_string_append_printf (string_builder, "%*s




欢迎光临 嵌入式开发者社区 (https://51dsp.net/) Powered by Discuz! X3.4