0 Members and 3 Guests are viewing this topic.
Any progress on this?
bFLT: Begin loadingbFLT: Version number does not matchbFLT: Bad headerbFLT: Caught error - exiting
bFLT: Begin loadingbFLT: Magic number does not matchbFLT: Bad headerbFLT: Caught error - exiting
I managed to build the toolchain on Windows with MSYS (after a lot of errors and hours). I've also patched Ndless (r632 instead of r573, because I have not found the r573 here) and I successfully make(d) it.But when I tried to run the "test" (here), the nspire_emu console give me :Quote from: nspire_emubFLT: Begin loadingbFLT: Version number does not matchbFLT: Bad headerbFLT: Caught error - exiting<EDIT>: The true error message is :Quote from: nspire_emubFLT: Begin loadingbFLT: Magic number does not matchbFLT: Bad headerbFLT: Caught error - exitingBut I tried to change the magic number ("ELF" to "bFLT") of the .tns and I obtained the error message above.</EDIT>I don't know what to do, because the test is supposed to work... So if you have an explanation totorigoloSorry for my English, I'm French
ajorians@ajlaptop:~/Downloads/bflt/ndless-bflt-toolchain-master/shared_library_test/example_executable> makenspire-bflt-gcc -Wl,-R,../example_shared_lib/bin/lib3.so.tns.gdb -r -o test.bflt.tns.o nspire-bflt-gcc -Wall -W -c main.cmain.c: In function ‘main’:main.c:24:14: warning: unused parameter ‘argc’ [-Wunused-parameter]main.c:24:26: warning: unused parameter ‘argv’ [-Wunused-parameter]nspire-bflt-ld test.bflt.tns.o main.o ../example_shared_lib/bin/lib3_wraps.o -o test.bflt.tns -Wl,--wrap,library_call /home/ajorians/bin/arm-none-eabi-gcc -Wl,-elf2flt -nostartfiles -T /home/ajorians/Downloads/ndless-v3.1-beta-r695-sdk/ndless/bin/../system/ldscript_bflt -L /home/ajorians/Downloads/ndless-v3.1-beta-r695-sdk/ndless/bin/../lib -static /home/ajorians/Downloads/ndless-v3.1-beta-r695-sdk/ndless/bin/../system/crt0_bflt.o /home/ajorians/Downloads/ndless-v3.1-beta-r695-sdk/ndless/bin/../system/osstub.o test.bflt.tns.o main.o ../example_shared_lib/bin/lib3_wraps.o -o test.bflt.tns -Wl,--wrap,library_call -lSDL -lnspireio -lndlsERROR: reloc type R_ARM_PREL31 unsupported in this contextERROR: reloc type R_ARM_NONE unsupported in this contextERROR: reloc type R_ARM_PREL31 unsupported in this contextERROR: reloc type R_ARM_PREL31 unsupported in this contextERROR: reloc type R_ARM_PREL31 unsupported in this contextERROR: reloc type R_ARM_PREL31 unsupported in this contextERROR: reloc type R_ARM_PREL31 unsupported in this contextERROR: reloc type R_ARM_NONE unsupported in this contextERROR: reloc type R_ARM_PREL31 unsupported in this contextERROR: reloc type R_ARM_PREL31 unsupported in this contextERROR: reloc type R_ARM_NONE unsupported in this contextERROR: reloc type R_ARM_PREL31 unsupported in this contextERROR: reloc type R_ARM_PREL31 unsupported in this contextERROR: reloc type R_ARM_PREL31 unsupported in this contextERROR: reloc type R_ARM_PREL31 unsupported in this contextERROR: reloc type R_ARM_PREL31 unsupported in this contextERROR: reloc type R_ARM_PREL31 unsupported in this contextERROR: reloc type R_ARM_PREL31 unsupported in this contextERROR: reloc type R_ARM_PREL31 unsupported in this contextERROR: reloc type R_ARM_PREL31 unsupported in this contextERROR: reloc type R_ARM_PREL31 unsupported in this contextERROR: reloc type R_ARM_PREL31 unsupported in this contextERROR: reloc type R_ARM_PREL31 unsupported in this contextERROR: reloc type R_ARM_PREL31 unsupported in this contextERROR: reloc type R_ARM_PREL31 unsupported in this contextERROR: reloc type R_ARM_PREL31 unsupported in this contextERROR: reloc type R_ARM_PREL31 unsupported in this contextERROR: reloc type R_ARM_PREL31 unsupported in this contextERROR: reloc type R_ARM_PREL31 unsupported in this contextERROR: reloc type R_ARM_PREL31 unsupported in this contextERROR: reloc type R_ARM_PREL31 unsupported in this contextERROR: reloc type R_ARM_PREL31 unsupported in this contextERROR: reloc type R_ARM_PREL31 unsupported in this contextERROR: reloc type R_ARM_NONE unsupported in this contextERROR: reloc type R_ARM_PREL31 unsupported in this contextERROR: reloc type R_ARM_PREL31 unsupported in this contextERROR: reloc type R_ARM_PREL31 unsupported in this contextERROR: reloc type R_ARM_PREL31 unsupported in this contextERROR: reloc type R_ARM_NONE unsupported in this contextERROR: reloc type R_ARM_PREL31 unsupported in this contextERROR: reloc type R_ARM_PREL31 unsupported in this contextERROR: reloc type R_ARM_PREL31 unsupported in this contextERROR: reloc type R_ARM_PREL31 unsupported in this contextERROR: reloc type R_ARM_PREL31 unsupported in this contextERROR: reloc type R_ARM_PREL31 unsupported in this contextERROR: reloc type R_ARM_NONE unsupported in this contextERROR: reloc type R_ARM_PREL31 unsupported in this contextERROR: reloc type R_ARM_NONE unsupported in this context48 bad relocscollect2: ld returned 1 exit statusmake: *** [test.bflt.tns] Error 1