OpenEdv-开源电子网

 找回密码
 立即注册
查看: 1404|回复: 5

RK3568 Buildroot编译错误

[复制链接]

190

主题

401

帖子

0

精华

金牌会员

Rank: 6Rank: 6

积分
1289
金钱
1289
注册时间
2014-6-15
在线时间
143 小时
发表于 2024-1-6 10:11:35 | 显示全部楼层 |阅读模式
1金钱
Ubuntu20.04上编译开发板自带的Linux SDK: 这个SDK是三天前从百度网盘下载的,
./build.sh all 和./build.sh buildroot都是会报相同的错入,如下,在正点团队编译的时候没这个错误 ?


0901/buildroot/output/rockchip_rk3568/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libsbc.so -lm -lpthread -pthread -Wl,-rpath -Wl,/home/rd/RK3568/linux_sdk/atk-rk3568_linux_release_v1.1_20230901/buildroot/output/rockchip_rk3568/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib -Wl,-rpath -Wl,/home/rd/RK3568/linux_sdk/atk-rk3568_linux_release_v1.1_20230901/buildroot/output/rockchip_rk3568/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib
2024-01-06T09:47:29 /home/rd/RK3568/linux_sdk/atk-rk3568_linux_release_v1.1_20230901/buildroot/output/rockchip_rk3568/host/lib/gcc/aarch64-buildroot-linux-gnu/10.3.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: bluez.o.bss+0x0): multiple definition of `bluez_a2dp_codecs'; bluealsa.o.bss+0x0): first defined here
2024-01-06T09:47:29 /home/rd/RK3568/linux_sdk/atk-rk3568_linux_release_v1.1_20230901/buildroot/output/rockchip_rk3568/host/lib/gcc/aarch64-buildroot-linux-gnu/10.3.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: bluez-a2dp.o.data+0x18): multiple definition of `bluez_a2dp_codecs'; bluealsa.o.bss+0x0): first defined here
2024-01-06T09:47:29 /home/rd/RK3568/linux_sdk/atk-rk3568_linux_release_v1.1_20230901/buildroot/output/rockchip_rk3568/host/lib/gcc/aarch64-buildroot-linux-gnu/10.3.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: bluez-iface.o.rodata+0x1d8): multiple definition of `bluez_iface_profile'; bluez.o.rodata+0x58): first defined here
2024-01-06T09:47:29 /home/rd/RK3568/linux_sdk/atk-rk3568_linux_release_v1.1_20230901/buildroot/output/rockchip_rk3568/host/lib/gcc/aarch64-buildroot-linux-gnu/10.3.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: bluez-iface.o.rodata+0x208): multiple definition of `bluez_iface_endpoint'; bluez.o.rodata+0xe0): first defined here
2024-01-06T09:47:29 /home/rd/RK3568/linux_sdk/atk-rk3568_linux_release_v1.1_20230901/buildroot/output/rockchip_rk3568/host/lib/gcc/aarch64-buildroot-linux-gnu/10.3.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ctl.o.bss+0x0): multiple definition of `bluez_a2dp_codecs'; bluealsa.o.bss+0x0): first defined here
2024-01-06T09:47:29 /home/rd/RK3568/linux_sdk/atk-rk3568_linux_release_v1.1_20230901/buildroot/output/rockchip_rk3568/host/lib/gcc/aarch64-buildroot-linux-gnu/10.3.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: io.o:(.bss+0x0): multiple definition of `bluez_a2dp_codecs'; bluealsa.o:(.bss+0x0): first defined here
2024-01-06T09:47:29 /home/rd/RK3568/linux_sdk/atk-rk3568_linux_release_v1.1_20230901/buildroot/output/rockchip_rk3568/host/lib/gcc/aarch64-buildroot-linux-gnu/10.3.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: rfcomm.o:(.bss+0x0): multiple definition of `bluez_a2dp_codecs'; bluealsa.o:(.bss+0x0): first defined here
2024-01-06T09:47:29 /home/rd/RK3568/linux_sdk/atk-rk3568_linux_release_v1.1_20230901/buildroot/output/rockchip_rk3568/host/lib/gcc/aarch64-buildroot-linux-gnu/10.3.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: transport.o:(.bss+0x0): multiple definition of `bluez_a2dp_codecs'; bluealsa.o:(.bss+0x0): first defined here
2024-01-06T09:47:29 /home/rd/RK3568/linux_sdk/atk-rk3568_linux_release_v1.1_20230901/buildroot/output/rockchip_rk3568/host/lib/gcc/aarch64-buildroot-linux-gnu/10.3.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: main.o:(.bss+0x8): multiple definition of `bluez_a2dp_codecs'; bluealsa.o:(.bss+0x0): first defined here
2024-01-06T09:47:29 collect2: error: ld returned 1 exit status
2024-01-06T09:47:29 make[5]: *** [Makefile:507: bluealsa] Error 1
2024-01-06T09:47:29 make[4]: *** [Makefile:568: all-recursive] Error 1
2024-01-06T09:47:29 make[3]: *** [Makefile:428: all-recursive] Error 1
2024-01-06T09:47:29 make[2]: *** [Makefile:360: all] Error 2
2024-01-06T09:47:29 make[1]: *** [package/pkg-generic.mk:231: /home/rd/RK3568/linux_sdk/atk-rk3568_linux_release_v1.1_20230901/buildroot/output/rockchip_rk3568/build/bluez-alsa-22ffb1965a0b79fbb28af5751b98814f94f6f81d/.stamp_built] Error 2
2024-01-06T09:47:29 make: *** [/home/rd/RK3568/linux_sdk/atk-rk3568_linux_release_v1.1_20230901/buildroot/output/rockchip_rk3568/Makefile:16: _all] Error 2
Command exited with non-zero status 1
you take 0:15.26 to build builroot
ERROR: Running build_buildroot failed!
ERROR: exit code 1 from line 717:
    /usr/bin/time -f "you take %E to build builroot" $COMMON_DIR/mk-buildroot.sh $BOARD_CONFIG



正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

190

主题

401

帖子

0

精华

金牌会员

Rank: 6Rank: 6

积分
1289
金钱
1289
注册时间
2014-6-15
在线时间
143 小时
 楼主| 发表于 2024-1-6 10:12:38 | 显示全部楼层
怎么出来这么多表情包,论坛有bug呀
回复

使用道具 举报

19

主题

296

帖子

0

精华

金牌会员

Rank: 6Rank: 6

积分
1873
金钱
1873
注册时间
2013-7-29
在线时间
276 小时
发表于 2024-1-14 22:44:12 | 显示全部楼层
我也是这个问题。大哥这个问题解决了吗?
回复

使用道具 举报

19

主题

296

帖子

0

精华

金牌会员

Rank: 6Rank: 6

积分
1873
金钱
1873
注册时间
2013-7-29
在线时间
276 小时
发表于 2024-1-15 09:07:19 | 显示全部楼层
老大,上午问题有解决吗?
回复

使用道具 举报

19

主题

296

帖子

0

精华

金牌会员

Rank: 6Rank: 6

积分
1873
金钱
1873
注册时间
2013-7-29
在线时间
276 小时
发表于 2024-1-15 09:13:29 | 显示全部楼层
我操,官方没有人解决?
回复

使用道具 举报

0

主题

2

帖子

0

精华

新手上路

积分
35
金钱
35
注册时间
2014-4-25
在线时间
2 小时
发表于 2024-4-25 00:19:56 | 显示全部楼层
我也遇到一样的问题了,楼主解决了吗
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

原子哥极力推荐上一条 /2 下一条

正点原子公众号

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2024-11-25 08:58

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

快速回复 返回顶部 返回列表