I thought it would be fun to see if i can get buildroot linux to compile for esp32.
I already know i will probably get memory errors if i try to upload it but still i want to compile it.
BUt it throws an error when building buildroot:
Code: Select all
/usr/xtensa-buildroot-linux-uclibc/bin/ -B/home/tim/Desktop/linuxforesp32/buildroot-build/host/usr/xtensa-buildroot-linux-uclibc/lib/ -isystem /home/tim/Desktop/linuxforesp32/buildroot-build/host/usr/xtensa-buildroot-linux-uclibc/include -isystem /home/tim/Desktop/linuxforesp32/buildroot-build/host/usr/xtensa-buildroot-linux-uclibc/sys-include -g -Os -O2 -g -Os -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -Dinhibit_libc -fPIC -I. -I. -I../.././gcc -I../../../libgcc -I../../../libgcc/. -I../../../libgcc/../gcc -I../../../libgcc/../include -o _mulxc3.o -MT _mulxc3.o -MD -MP -MF _mulxc3.dep -DL_mulxc3 -c ../../../libgcc/libgcc2.c -fvisibility=hidden -DHIDE_EXPORTS
/home/tim/Desktop/linuxforesp32/buildroot-build/build/host-gcc-initial-4.8.3/build/./gcc/xgcc -B/home/tim/Desktop/linuxforesp32/buildroot-build/build/host-gcc-initial-4.8.3/build/./gcc/ -B/home/tim/Desktop/linuxforesp32/buildroot-build/host/usr/xtensa-buildroot-linux-uclibc/bin/ -B/home/tim/Desktop/linuxforesp32/buildroot-build/host/usr/xtensa-buildroot-linux-uclibc/lib/ -isystem /home/tim/Desktop/linuxforesp32/buildroot-build/host/usr/xtensa-buildroot-linux-uclibc/include -isystem /home/tim/Desktop/linuxforesp32/buildroot-build/host/usr/xtensa-buildroot-linux-uclibc/sys-include -g -Os -O2 -g -Os -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -Dinhibit_libc -fPIC -I. -I. -I../.././gcc -I../../../libgcc -I../../../libgcc/. -I../../../libgcc/../gcc -I../../../libgcc/../include -o _multc3.o -MT _multc3.o -MD -MP -MF _multc3.dep -DL_multc3 -c ../../../libgcc/libgcc2.c -fvisibility=hidden -DHIDE_EXPORTS
/tmp/cckLVToT.s: Assembler messages:
/tmp/cckLVToT.s:51: Error: unknown opcode or format name 'div.s'
Makefile:460: recipe for target '_powisf2.o' failed
make[2]: *** [_powisf2.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/tim/Desktop/linuxforesp32/buildroot-build/build/host-gcc-initial-4.8.3/build/xtensa-buildroot-linux-uclibc/libgcc'
Makefile:9969: recipe for target 'all-target-libgcc' failed
make[1]: *** [all-target-libgcc] Error 2
make[1]: Leaving directory '/home/tim/Desktop/linuxforesp32/buildroot-build/build/host-gcc-initial-4.8.3/build'
package/pkg-generic.mk:182: recipe for target '/home/tim/Desktop/linuxforesp32/buildroot-build/build/host-gcc-initial-4.8.3/.stamp_built' failed
make: *** [/home/tim/Desktop/linuxforesp32/buildroot-build/build/host-gcc-initial-4.8.3/.stamp_built] Error 2
make: Leaving directory '/home/tim/Desktop/linuxforesp32/buildroot'
And i am using the esp32 overlay file from here: server.soud.co.uk/esp8266/esp-open-sdk- ... /overlays/
I used this command to built buildroot:
Code: Select all
make -C buildroot O=$(pwd)/buildroot-build
Could someone help me resolve this error?
I dont realy know what information to provide you with so if i am missing something then you can ask for it.
I hope to hear soon from you peaple,
thanks in advance