trying to build lwip2 from tools/sdk/lwip2
I need to build lwip2 using the instructions located in tools/sdk/lwip2 using make install.
But the makefiles are looking for ../../../xtensa-lx106-elf/bin/extensa-lx106-elf-gcc and cant find them and failing to build. My question is why in the make files is it looking for things that dont exist? /tools/xtensa-lx106-elf is not in the repository. I can get all of those files that its looking for from esp-open-sdk and place them where the make files are looking but then get other errors.
any help would be appreciated.
It's very straightforward if you follow these instructions. Its literally few commands. You shouldn't have any trouble if you follow it. I've compiled lwip2 dozen of times already using above steps.
@cloeffler are you using latest git core? I'm not sure rebuilding lwip from source is meant to be used with a vanilla core release installed via board manager. The previous comment seems to be aimed at precisely that: install latest git first, then try to rebuild lwip from source. @d-a-v ?
hey guys, I actually figured it out by editing some makefiles, and then just building lwip2 by itself. Develo, yes i was using the latest git core.
On Tue, Apr 9, 2019 at 11:56 AM Develo <[email protected]mailto:[email protected]> wrote:
@cloefflerhttps://github.com/cloeffler are you using latest git core? I'm not sure rebuilding lwip from source is meant to be used with a vanilla core release installed via board manager. The previous comment seems to be aimed at precisely that: install latest git first, then try to rebuild lwip from source. @d-a-vhttps://github.com/d-a-v ?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/esp8266/Arduino/issues/5961#issuecomment-481390897, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AelnmJUH9LvgxPmiQkQyVHUe_-UUFom-ks5vfOI6gaJpZM4cjCuv.
-- [https://docs.google.com/uc?export=download&id=15xQQ2IBAggvOz0VO9wEkXjfxdAIyW-dL&revid=0B3knPoivDEFYUlQ0cDRVci8vUytFV2UyMWlKSjl0ekhURnQwPQ]
Fadi, thanks for the info, i was not aware of that! I will try that also.
On Tue, Apr 9, 2019 at 12:11 PM Chris Loeffler <[email protected]mailto:[email protected]> wrote: hey guys, I actually figured it out by editing some makefiles, and then just building lwip2 by itself. Develo, yes i was using the latest git core.
On Tue, Apr 9, 2019 at 11:56 AM Develo <[email protected]mailto:[email protected]> wrote:
@cloefflerhttps://github.com/cloeffler are you using latest git core? I'm not sure rebuilding lwip from source is meant to be used with a vanilla core release installed via board manager. The previous comment seems to be aimed at precisely that: install latest git first, then try to rebuild lwip from source. @d-a-vhttps://github.com/d-a-v ?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/esp8266/Arduino/issues/5961#issuecomment-481390897, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AelnmJUH9LvgxPmiQkQyVHUe_-UUFom-ks5vfOI6gaJpZM4cjCuv.
-- [https://docs.google.com/uc?export=download&id=15xQQ2IBAggvOz0VO9wEkXjfxdAIyW-dL&revid=0B3knPoivDEFYUlQ0cDRVci8vUytFV2UyMWlKSjl0ekhURnQwPQ]
-- [https://docs.google.com/uc?export=download&id=15xQQ2IBAggvOz0VO9wEkXjfxdAIyW-dL&revid=0B3knPoivDEFYUlQ0cDRVci8vUytFV2UyMWlKSjl0ekhURnQwPQ]
Looks like things are working for the original user now, and I can confirm (via the esp-quick-toolchain) that the LWIP2 makefiles do complete fine, assuming the tools are installed in a GIT version.
However, if you try and build from inside a boards-manager installed repo, I bet the hardcoded paths (../../tools/blah/blah) will not exist since Arduino installs the exes in a separate spot from the actual core sources.
@d-a-v, do you think it's worth updating the LWIP2 README.md to note this?
Per previous comment, the original issue here is addressed. IMHO, building lwip from source is a very advanced operation, and it's ok to assume that anyone attempting it will likely already be on git. Closing.