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"
-
-
此回复已被删除! -
@iincity
wifi这块好多问题,应该没有做全面测试 -
/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 -
@iincity
在net drivers选择了brcm ap6203 wifi driver,会导致
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号