isti37 wrote:
Fixed, I managed to compile the opus codec with the esp-open-sdk and the virtualbox environment :Code:
sudo ./configure --target=xtensa-lx106-elf --host=xtensa-lx106-elf && sudo make
or for fixed point math (better performance and lower latency, but lower quality)Code:
sudo ./configure --target=xtensa-lx106-elf --host=xtensa-lx106-elf --enable-fixed-point && sudo make
Statistics: Posted by Triacon — Thu Mar 10, 2016 4:39 pm
Code:
sudo ./configure --target=xtensa-lx106-elf --host=xtensa-lx106-elf && sudo make
Code:
sudo ./configure --target=xtensa-lx106-elf --host=xtensa-lx106-elf --enable-fixed-point && sudo make
Statistics: Posted by isti37 — Wed Mar 09, 2016 10:51 am
Statistics: Posted by ESP_Faye — Tue Mar 08, 2016 4:55 pm
Code:
sp8266@esp8266-VirtualBox:~/opus-1.1.2$ make CC=xtensa-lx106-elf-gcc
make all-recursive
make[1]: Entering directory `/home/esp8266/opus-1.1.2'
make[2]: Entering directory `/home/esp8266/opus-1.1.2'
CC celt/bands.lo
CC celt/celt.lo
CC celt/celt_encoder.lo
CC celt/celt_decoder.lo
CC celt/cwrs.lo
CC celt/entcode.lo
CC celt/entdec.lo
CC celt/entenc.lo
...
CC src/mlp.lo
CC src/mlp_data.lo
CCLD libopus.la
/usr/bin/ld: celt/.libs/bands.o: Relocations in generic ELF (EM: 94)
/usr/bin/ld: celt/.libs/bands.o: Relocations in generic ELF (EM: 94)
/usr/bin/ld: celt/.libs/bands.o: Relocations in generic ELF (EM: 94)
/usr/bin/ld: celt/.libs/bands.o: Relocations in generic ELF (EM: 94)
/usr/bin/ld: celt/.libs/bands.o: Relocations in generic ELF (EM: 94)
/usr/bin/ld: celt/.libs/bands.o: Relocations in generic ELF (EM: 94)
/usr/bin/ld: celt/.libs/bands.o: Relocations in generic ELF (EM: 94)
/usr/bin/ld: celt/.libs/bands.o: Relocations in generic ELF (EM: 94)
/usr/bin/ld: celt/.libs/bands.o: Relocations in generic ELF (EM: 94)
/usr/bin/ld: celt/.libs/bands.o: Relocations in generic ELF (EM: 94)
celt/.libs/bands.o: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
make[2]: *** [libopus.la] Error 1
make[2]: Leaving directory `/home/esp8266/opus-1.1.2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/esp8266/opus-1.1.2'
make: *** [all] Error 2 - See more at: http://www.esp8266.com/viewtopic.php?f=9&p=42608#p42608
Statistics: Posted by isti37 — Mon Mar 07, 2016 9:57 pm