[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] problems compiling lwip module inside pico-extras
From: |
Leandro Loureiro |
Subject: |
[lwip-users] problems compiling lwip module inside pico-extras |
Date: |
Wed, 12 May 2021 20:59:13 +0000 |
Hello,
I'm sending this mail to check if possible to get some support compiling a project using lwip.
I'm trying to make some tests to get lwip working on Raspberry Pi Pico with LAN8720 module.
At moment i'm having problems to compile lwip lib that is inside pico-extras (git submodule).
I have both PICO_SDK_PATH AND PICO_EXTRAS_PATH setup properly as mentioned.
netif.c:(.text.netif_set_addr+0x7e): undefined reference to `acd_netif_ip_addr_changed'
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: netif.c:(.text.netif_set_addr+0xb6): undefined reference to `acd_netif_ip_addr_changed'
dhcp.c:(.text.dhcp_recv+0x416): undefined reference to `acd_start'
dhcp.c:(.text.dhcp_start+0x42): undefined reference to `acd_add'
etharp.c:(.text.etharp_input+0x72): undefined reference to `acd_arp_reply'
collect2: error: ld returned 1 exit status
make[2]: *** [rmiieth.elf] Error 1
make: *** [all] Error 2
The functions are defined inside acd.c but seems like this file is not listed for compilation and thus functions will be missing during linkage. I don't see any file inside pico-extras repo that that list/specifies in detail configuration for lwip. Maybe I'm missing something.
OS: Mac OS X 10.15.7 (also tried inside Debian Docker image)
CMake Version: 3.20.2
Thanks for reading.
Kind regards,
Leandro Loureiro
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-users] problems compiling lwip module inside pico-extras,
Leandro Loureiro <=