I've been banging my head against this for a number of hours now...
I've built the esp-open-sdk (after having to enlarge the VM's disk to fit the build). I tried to build it standalone and not.
I'm still getting link errors:
Code: Select all [LD] images/antares.elf
/home/esp8266/src/esp-open-sdk/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: cannot find -lmain
/home/esp8266/src/esp-open-sdk/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: cannot find -lnet80211
/home/esp8266/src/esp-open-sdk/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: cannot find -lphy
/home/esp8266/src/esp-open-sdk/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: cannot find -lpp
/home/esp8266/src/esp-open-sdk/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: cannot find -lwpa
/home/esp8266/src/esp-open-sdk/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: cannot find -lssl
/home/esp8266/src/esp-open-sdk/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: cannot find -llwip
collect2: error: ld returned 1 exit status
make: *** [images/antares.elf] Error 1
Should I build the esp-open-sdk standalone or not?
What exactly is Antares and how does it relate to Franekstein?
Should I be building this in the sdk's app directory? I didn't have to before.
How do I get Frankenstein to use the esp-open-sdk SDK libraries? They are in /home/esp8266/src/esp-open-sdk/sdk/lib.
I tried adding:
Code: Select allCONFIG_LDFLAGS="-L/home/esp8266/src/esp-open-sdk/sdk/lib"
manually to .config in esp8266-frankenstein to no avail.
Could you please give detailed build instructions on a fresh system? Thanks. I don't know what I'm missing.