Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not being able to build the code #182

Open
EmersonGjR opened this issue Jan 21, 2025 · 0 comments
Open

Not being able to build the code #182

EmersonGjR opened this issue Jan 21, 2025 · 0 comments

Comments

@EmersonGjR
Copy link

im trying to build using esp-idf, and every version i try, got the same output of this error:
/home/mersin/.espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/12.2.0/../../../../xtensa-esp32-elf/bin/ld: esp-idf/main/libmain.a(esp32_nat_router.c.obj):(.literal.apply_portmap_tab+0x8): undefined reference to ip_portmap_add' /home/mersin/.espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/12.2.0/../../../../xtensa-esp32-elf/bin/ld: esp-idf/main/libmain.a(esp32_nat_router.c.obj):(.literal.delete_portmap_tab+0x0): undefined reference to ip_portmap_remove'
/home/mersin/.espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/12.2.0/../../../../xtensa-esp32-elf/bin/ld: esp-idf/main/libmain.a(esp32_nat_router.c.obj): in function apply_portmap_tab': /home/mersin/esp/esp32_nat_router/esp32_nat_router/main/esp32_nat_router.c:324: undefined reference to ip_portmap_add'
/home/mersin/.espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/12.2.0/../../../../xtensa-esp32-elf/bin/ld: esp-idf/main/libmain.a(esp32_nat_router.c.obj): in function delete_portmap_tab': /home/mersin/esp/esp32_nat_router/esp32_nat_router/main/esp32_nat_router.c:134: undefined reference to ip_portmap_remove'
/home/mersin/.espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/12.2.0/../../../../xtensa-esp32-elf/bin/ld: esp-idf/main/libmain.a(esp32_nat_router.c.obj): in function add_portmap': /home/mersin/esp/esp32_nat_router/esp32_nat_router/main/esp32_nat_router.c:201: undefined reference to ip_portmap_add'
/home/mersin/.espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/12.2.0/../../../../xtensa-esp32-elf/bin/ld: esp-idf/main/libmain.a(esp32_nat_router.c.obj): in function del_portmap': /home/mersin/esp/esp32_nat_router/esp32_nat_router/main/esp32_nat_router.c:227: undefined reference to ip_portmap_remove'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
ninja failed with exit code 1, output of the command is in the /home/mersin/esp/esp32_nat_router/esp32_nat_router/build/log/idf_py_stderr_output_8810 and /home/mersin/esp/esp32_nat_router/esp32_nat_router/build/log/idf_py_stdout_output_8810

can someone help me ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant