You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, first of all i wanted to thank you for your software implementation it's really helpful and very useful in the vintage computers world!
But i've unable to build esp_slip_router with custom build esp-open-lwip. The lwip is built as described
Only if you don't want to use the precompiled library, checkout the sources from
https://github.com/martin-ger/esp-open-lwip . Use it to replace the directory
"esp-open-lwip" in the esp-open-sdk tree. "make clean" in the esp_open_lwip dir
and once again a "make" in the upper esp_open_sdk directory. This will compile
a liblwip_open.a that contains the NAT-features.
Replace liblwip_open_napt.a with that binary.
I did that successfully, with standard liblwip_open_napt.a it builds ok, but if i try to build with custom build of "esp-open-lwip/liblwip_open.a" replaced as "liblwip_open_napt.a", i've got these errors:
root@9c35154a9cb0:~/esp_slip_router# make clean;make
CC driver/sio.c
CC driver/softuart.c
CC driver/uart.c
CC user/config_flash.c
CC user/ringbuf.c
CC user/user_main.c
AR build/app_app.a
LD build/app.out
build/app_app.a(user_main.o):(.text+0x8): undefined reference to `slipif_received_byte'
build/app_app.a(user_main.o): In function `write_to_pbuf':
/home/builder/esp_slip_router/user/user_main.c:827: undefined reference to `slipif_received_byte'
build/app_app.a(user_main.o): In function `console_handle_command':
/home/builder/esp_slip_router/user/user_main.c:422: undefined reference to `slipif_process_rxqueue'
/home/builder/esp_slip_router/user/user_main.c:445: undefined reference to `slipif_process_rxqueue'
/home/builder/esp_slip_router/user/user_main.c:518: undefined reference to `slipif_init'
collect2: error: ld returned 1 exit status
make: *** [build/app.out] Error 1
Thanks in advance!
The text was updated successfully, but these errors were encountered:
Yeah, i already tried to use Makefile.open and built library, then copied it to esp_slip_router folder and replaced the old one, but after trying to recompile esp_slip_router i've got that issue.
Edit: Have found that i need provide build option of LWIP_HAVE_SLIPIF in include/lwipopts.h of esp-open-lwip to make it work.
I had the same issues and only saw this issue after figuring out and fixing it myself, editing lwipopts.h and Makefile.open. Maybe the branch enc_polling of the repo https://github.com/martin-ger/esp-open-lwip.git should get these changes.
Note that copying the esp-open-lwip into the esp-open-sdk like the README says isn't necessary, you can just build the lwip library out-of-tree without problems.
Hi, first of all i wanted to thank you for your software implementation it's really helpful and very useful in the vintage computers world!
But i've unable to build esp_slip_router with custom build esp-open-lwip. The lwip is built as described
I did that successfully, with standard liblwip_open_napt.a it builds ok, but if i try to build with custom build of "esp-open-lwip/liblwip_open.a" replaced as "liblwip_open_napt.a", i've got these errors:
Thanks in advance!
The text was updated successfully, but these errors were encountered: