tina linux中选择rtl8723ds wifi驱动编译报错
Makefile:193: recipe for target '/home/tina/proj/Tina-Linux/out/f133-mq_r/packages/base/realtek-rftest_1.0.0-1_sunxi.ipk' failed
make[3]: *** [/home/tina/proj/Tina-Linux/out/f133-mq_r/packages/base/realtek-rftest_1.0.0-1_sunxi.ipk] Error 1
make[3]: Leaving directory '/home/tina/proj/Tina-Linux/package/utils/rftest'
package/Makefile:192: recipe for target 'package/utils/rftest/compile' failed
make[2]: *** [package/utils/rftest/compile] Error 2
make[2]: Leaving directory '/home/tina/proj/Tina-Linux'
package/Makefile:189: recipe for target '/home/tina/proj/Tina-Linux/out/f133-mq_r/staging_dir/target/stamp/.package_compile' failed
iincity 发布的最佳帖子
-
tina linux中选择rtl8723ds wifi驱动编译报错
-
回复: f133 melis 1.4 wifi配置:bcm_wifi.c:23:10: fatal error: lwip/tcpip.h: No such file or directory
@iincity
在net drivers选择了brcm ap6203 wifi driver,会导致 -
f133 melis 1.4 wifi配置:bcm_wifi.c:23:10: fatal error: lwip/tcpip.h: No such file or directory
按文档<Melis_RTOS_Wi-Fi_开发指南.pdf>配置,编译出现问题如下:
选择 ntp 组件出现如下冲突:./ekernel/components/thirdparty/net/rt-thread/lwip/src/include/lwip/sockets.h:642:51: error: conflicting types for 'lwip_recvfrom' #define recvfrom(s,mem,len,flags,from,fromlen) lwip_recvfrom(s,mem,len,flags,from,fromlen) ^~~~~~~~~~~~~ ekernel/components/thirdparty/net/rt-thread/net_tools/netutils-master/ntp/ntp.c:39:12: note: in expansion of macro 'recvfrom' extern int recvfrom(int s, void *mem, size_t len, int flags, struct sockaddr *from, socklen_t *fromlen); ^~~~~~~~ ./ekernel/components/thirdparty/net/rt-thread/lwip/src/include/lwip/sockets.h:593:9: note: previous declaration of 'lwip_recvfrom' was here ssize_t lwip_recvfrom(int s, void *mem, size_t len, int flags, ^~~~~~~~~~~~~ ./ekernel/components/thirdparty/net/rt-thread/lwip/src/include/lwip/sockets.h:648:51: error: conflicting types for 'lwip_sendto' #define sendto(s,dataptr,size,flags,to,tolen) lwip_sendto(s,dataptr,size,flags,to,tolen) ^~~~~~~~~~~ ekernel/components/thirdparty/net/rt-thread/net_tools/netutils-master/ntp/ntp.c:40:12: note: in expansion of macro 'sendto' extern int sendto(int s, const void *dataptr, size_t size, int flags, const struct sockaddr *to, socklen_t tolen); ^~~~~~ ./ekernel/components/thirdparty/net/rt-thread/lwip/src/include/lwip/sockets.h:598:9: note: previous declaration of 'lwip_sendto' was here ssize_t lwip_sendto(int s, const void *dataptr, size_t size, int flags,
去掉ntp出现如下编译错误
ekernel/drivers/drv/source/net/brcm_wifi_libs/src/bcm_wifi.c:23:10: fatal error: lwip/tcpip.h: No such file or directory #include "lwip/tcpip.h"
-
回复: f133 melis 1.4 wifi配置:bcm_wifi.c:23:10: fatal error: lwip/tcpip.h: No such file or directory
/home/tina/proj/melis-v3.0/melis-4.x-release/source/../toolchain/riscv64-elf-x86_64-20201104//bin/riscv64-unknown-elf-ld: ekernel/drivers/drv/source/net/brcm_wifi_libs/libs/liblwip_mhd_rtthread.a(mhd_thread.o): relocations in generic ELF (EM: 40)
/home/tina/proj/melis-v3.0/melis-4.x-release/source/../toolchain/riscv64-elf-x86_64-20201104//bin/riscv64-unknown-elf-ld: ekernel/drivers/drv/source/net/brcm_wifi_libs/libs/liblwip_mhd_rtthread.a(mhd_thread.o): relocations in generic ELF (EM: 40)
/home/tina/proj/melis-v3.0/melis-4.x-release/source/../toolchain/riscv64-elf-x86_64-20201104//bin/riscv64-unknown-elf-ld: ekernel/drivers/drv/source/net/brcm_wifi_libs/libs/liblwip_mhd_rtthread.a(mhd_thread.o): relocations in generic ELF (EM: 40)
/home/tina/proj/melis-v3.0/melis-4.x-release/source/../toolchain/riscv64-elf-x86_64-20201104//bin/riscv64-unknown-elf-ld: ekernel/drivers/drv/source/net/brcm_wifi_libs/libs/liblwip_mhd_rtthread.a(mhd_thread.o): relocations in generic ELF (EM: 40)
/home/tina/proj/melis-v3.0/melis-4.x-release/source/../toolchain/riscv64-elf-x86_64-20201104//bin/riscv64-unknown-elf-ld: ekernel/drivers/drv/source/net/brcm_wifi_libs/libs/liblwip_mhd_rtthread.a(mhd_thread.o): relocations in generic ELF (EM: 40)
/home/tina/proj/melis-v3.0/melis-4.x-release/source/../toolchain/riscv64-elf-x86_64-20201104//bin/riscv64-unknown-elf-ld: ekernel/drivers/drv/source/net/brcm_wifi_libs/libs/liblwip_mhd_rtthread.a(mhd_thread.o): relocations in generic ELF (EM: 40)
/home/tina/proj/melis-v3.0/melis-4.x-release/source/../toolchain/riscv64-elf-x86_64-20201104//bin/riscv64-unknown-elf-ld: ekernel/drivers/drv/source/net/brcm_wifi_libs/libs/liblwip_mhd_rtthread.a(mhd_thread.o): relocations in generic ELF (EM: 40)
/home/tina/proj/melis-v3.0/melis-4.x-release/source/../toolchain/riscv64-elf-x86_64-20201104//bin/riscv64-unknown-elf-ld: ekernel/drivers/drv/source/net/brcm_wifi_libs/libs/liblwip_mhd_rtthread.a(mhd_thread.o): relocations in generic ELF (EM: 40)
/home/tina/proj/melis-v3.0/melis-4.x-release/source/../toolchain/riscv64-elf-x86_64-20201104//bin/riscv64-unknown-elf-ld: ekernel/drivers/drv/source/net/brcm_wifi_libs/libs/liblwip_mhd_rtthread.a(mhd_thread.o): relocations in generic ELF (EM: 40)
/home/tina/proj/melis-v3.0/melis-4.x-release/source/../toolchain/riscv64-elf-x86_64-20201104//bin/riscv64-unknown-elf-ld: ekernel/drivers/drv/source/net/brcm_wifi_libs/libs/liblwip_mhd_rtthread.a(mhd_thread.o): relocations in generic ELF (EM: 40)
/home/tina/proj/melis-v3.0/melis-4.x-release/source/../toolchain/riscv64-elf-x86_64-20201104//bin/riscv64-unknown-elf-ld: ekernel/drivers/drv/source/net/brcm_wifi_libs/libs/liblwip_mhd_rtthread.a(mhd_thread.o): relocations in generic ELF (EM: 40)
/home/tina/proj/melis-v3.0/melis-4.x-release/source/../toolchain/riscv64-elf-x86_64-20201104//bin/riscv64-unknown-elf-ld: ekernel/drivers/drv/source/net/brcm_wifi_libs/libs/liblwip_mhd_rtthread.a(mhd_thread.o): relocations in generic ELF (EM: 40)
/home/tina/proj/melis-v3.0/melis-4.x-release/source/../toolchain/riscv64-elf-x86_64-20201104//bin/riscv64-unknown-elf-ld: ekernel/drivers/drv/source/net/brcm_wifi_libs/libs/liblwip_mhd_rtthread.a(mhd_thread.o): relocations in generic ELF (EM: 40)
/home/tina/proj/melis-v3.0/melis-4.x-release/source/../toolchain/riscv64-elf-x86_64-20201104//bin/riscv64-unknown-elf-ld: ekernel/drivers/drv/source/net/brcm_wifi_libs/libs/liblwip_mhd_rtthread.a(mhd_thread.o): relocations in generic ELF (EM: 40)
/home/tina/proj/melis-v3.0/melis-4.x-release/source/../toolchain/riscv64-elf-x86_64-20201104//bin/riscv64-unknown-elf-ld: ekernel/drivers/drv/source/net/brcm_wifi_libs/libs/liblwip_mhd_rtthread.a(mhd_thread.o): relocations in generic ELF (EM: 40)
/home/tina/proj/melis-v3.0/melis-4.x-release/source/../toolchain/riscv64-elf-x86_64-20201104//bin/riscv64-unknown-elf-ld: ekernel/drivers/drv/source/net/brcm_wifi_libs/libs/liblwip_mhd_rtthread.a(mhd_thread.o): relocations in generic ELF (EM: 40)
/home/tina/proj/melis-v3.0/melis-4.x-release/source/../toolchain/riscv64-elf-x86_64-20201104//bin/riscv64-unknown-elf-ld: ekernel/drivers/drv/source/net/brcm_wifi_libs/libs/liblwip_mhd_rtthread.a(mhd_thread.o): relocations in generic ELF (EM: 40)
/home/tina/proj/melis-v3.0/melis-4.x-release/source/../toolchain/riscv64-elf-x86_64-20201104//bin/riscv64-unknown-elf-ld: ekernel/drivers/drv/source/net/brcm_wifi_libs/libs/liblwip_mhd_rtthread.a(mhd_thread.o): relocations in generic ELF (EM: 40)
/home/tina/proj/melis-v3.0/melis-4.x-release/source/../toolchain/riscv64-elf-x86_64-20201104//bin/riscv64-unknown-elf-ld: ekernel/drivers/drv/source/net/brcm_wifi_libs/libs/liblwip_mhd_rtthread.a(mhd_thread.o): relocations in generic ELF (EM: 40)
/home/tina/proj/melis-v3.0/melis-4.x-release/source/../toolchain/riscv64-elf-x86_64-20201104//bin/riscv64-unknown-elf-ld: ekernel/drivers/drv/source/net/brcm_wifi_libs/libs/liblwip_mhd_rtthread.a(mhd_thread.o): relocations in generic ELF (EM: 40)
/home/tina/proj/melis-v3.0/melis-4.x-release/source/../toolchain/riscv64-elf-x86_64-20201104//bin/riscv64-unknown-elf-ld: ekernel/drivers/drv/source/net/brcm_wifi_libs/libs/liblwip_mhd_rtthread.a(mhd_thread.o): relocations in generic ELF (EM: 40)
/home/tina/proj/melis-v3.0/melis-4.x-release/source/../toolchain/riscv64-elf-x86_64-20201104//bin/riscv64-unknown-elf-ld: ekernel/drivers/drv/source/net/brcm_wifi_libs/libs/liblwip_mhd_rtthread.a(mhd_thread.o): relocations in generic ELF (EM: 40)
/home/tina/proj/melis-v3.0/melis-4.x-release/source/../toolchain/riscv64-elf-x86_64-20201104//bin/riscv64-unknown-elf-ld: ekernel/drivers/drv/source/net/brcm_wifi_libs/libs/liblwip_mhd_rtthread.a(mhd_thread.o): relocations in generic ELF (EM: 40)
/home/tina/proj/melis-v3.0/melis-4.x-release/source/../toolchain/riscv64-elf-x86_64-20201104//bin/riscv64-unknown-elf-ld: ekernel/drivers/drv/source/net/brcm_wifi_libs/libs/liblwip_mhd_rtthread.a(mhd_thread.o): relocations in generic ELF (EM: 40)
/home/tina/proj/melis-v3.0/melis-4.x-release/source/../toolchain/riscv64-elf-x86_64-20201104//bin/riscv64-unknown-elf-ld: ekernel/drivers/drv/source/net/brcm_wifi_libs/libs/liblwip_mhd_rtthread.a(mhd_thread.o): relocations in generic ELF (EM: 40)
/home/tina/proj/melis-v3.0/melis-4.x-release/source/../toolchain/riscv64-elf-x86_64-20201104//bin/riscv64-unknown-elf-ld: ekernel/drivers/drv/source/net/brcm_wifi_libs/libs/liblwip_mhd_rtthread.a(mhd_thread.o): relocations in generic ELF (EM: 40)
/home/tina/proj/melis-v3.0/melis-4.x-release/source/../toolchain/riscv64-elf-x86_64-20201104//bin/riscv64-unknown-elf-ld: ekernel/drivers/drv/source/net/brcm_wifi_libs/libs/liblwip_mhd_rtthread.a(mhd_thread.o): relocations in generic ELF (EM: 40)
/home/tina/proj/melis-v3.0/melis-4.x-release/source/../toolchain/riscv64-elf-x86_64-20201104//bin/riscv64-unknown-elf-ld: ekernel/drivers/drv/source/net/brcm_wifi_libs/libs/liblwip_mhd_rtthread.a(mhd_thread.o): relocations in generic ELF (EM: 40)
/home/tina/proj/melis-v3.0/melis-4.x-release/source/../toolchain/riscv64-elf-x86_64-20201104//bin/riscv64-unknown-elf-ld: ekernel/drivers/drv/source/net/brcm_wifi_libs/libs/liblwip_mhd_rtthread.a(mhd_thread.o): relocations in generic ELF (EM: 40)
/home/tina/proj/melis-v3.0/melis-4.x-release/source/../toolchain/riscv64-elf-x86_64-20201104//bin/riscv64-unknown-elf-ld: ekernel/drivers/drv/source/net/brcm_wifi_libs/libs/liblwip_mhd_rtthread.a(mhd_thread.o): relocations in generic ELF (EM: 40)
/home/tina/proj/melis-v3.0/melis-4.x-release/source/../toolchain/riscv64-elf-x86_64-20201104//bin/riscv64-unknown-elf-ld: ekernel/drivers/drv/source/net/brcm_wifi_libs/libs/liblwip_mhd_rtthread.a(mhd_thread.o): relocations in generic ELF (EM: 40)
/home/tina/proj/melis-v3.0/melis-4.x-release/source/../toolchain/riscv64-elf-x86_64-20201104//bin/riscv64-unknown-elf-ld: ekernel/drivers/drv/source/net/brcm_wifi_libs/libs/liblwip_mhd_rtthread.a: error adding symbols: file in wrong format
scripts/Makefile.build:374: recipe for target 'ekernel/drivers/drv/source/net/brcm_wifi_libs/built-in.o' failed
make[5]: *** [ekernel/drivers/drv/source/net/brcm_wifi_libs/built-in.o] Error 1
scripts/Makefile.build:457: recipe for target 'ekernel/drivers/drv/source/net/brcm_wifi_libs' failed