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
Cannot build latest version (c_types.h missing) #138
Comments
Same here:
|
A quick and dirty fix is to patch
I'll let @pfalcon fix this as here probably some env variable of |
After adding this patch I am getting following error: -- I may not have added patch correctly. |
Same problem here but only if compiled with "STANDALONE=n" |
A change which should fix this was pushed. If you still have any |
It works with "STANDALONE=y" but same issue otherwise. |
It's broken for me too, on a fresh clone. Note that I built it with |
@Ghostbird You still have to use solution from #94 to fix the issue for Installing pass-2 core C compiler.. Once you do that it works. |
Ah, I had to use sed instead of gsed, and I just used a rather sloppy one-liner, but it worked. sed -i '1s/^/#include <stddef.h>\n/' crosstool-NG/.build/src/gcc-4.8.2/gcc/graphite*.c
Thanks for the help |
This still occurs on the latest master, with STANDALONE=n Please see the attached console.log to confirm the following:
I've also included the full build log, the important part is: |
Pull request #148 should fix this issue. |
This issue is really annoying. Can anybody tell which is the last commit this did work, then I'll revert to that. |
@sappo: You should just build with "make" and there're no issues. |
@pfalcon Thanks for the quick response. Just "make" works fine indeed 👍 |
This was resolved. |
make[4]: Leaving directory '/tmp/esp-open-sdk/src/git/lx106-hal'
make[3]: Leaving directory '/tmp/esp-open-sdk/src/git/lx106-hal'
make[2]: Leaving directory '/tmp/esp-open-sdk/src/git/lx106-hal'
make[1]: Leaving directory '/tmp/esp-open-sdk/src/git/lx106-hal'
make -C esp-open-lwip -f Makefile.open install
CC=/tmp/esp-open-sdk/src/git/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc
PREFIX=/tmp/esp-open-sdk/src/git/xtensa-lx106-elf
make[1]: Entering directory '/tmp/esp-open-sdk/src/git/esp-open-lwip'
/tmp/esp-open-sdk/src/git/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP -DICACHE_FLASH -Os -Iinclude -Wl,-EL -mlongcalls -mtext-section-literals -c -o lwip/core/def.o lwip/core/def.c
In file included from include/lwip/arch.h:43:0,
from include/lwip/debug.h:35,
from include/lwip/opt.h:46,
from lwip/core/def.c:39:
include/arch/cc.h:38:21: fatal error: c_types.h: No such file or directory
#include "c_types.h"
^
compilation terminated.
: recipe for target 'lwip/core/def.o' failed
make[1]: Leaving directory '/tmp/esp-open-sdk/src/git/esp-open-lwip'
make[1]: *** [lwip/core/def.o] Error 1
Makefile:283: recipe for target 'lwip' failed
make: *** [lwip] Error 2
The text was updated successfully, but these errors were encountered: