So I installed Tinkeros_debian v2.0.7 and installed the headers for it by doing dpkg -i <headerfile.deb> on the deb file you guys provide, but all the executables in /usr/src/linux-headers-4.4.103+/scripts are 64-bit executables when the OS is 32-bit. Both the OS and the headers are fresh installs. As a result I can't run make to compile anything. make results in a "gcc: error: unrecognized command line option '-mgeneral-regs-only' and "make ARCH=arm" errors out with "/bin/sh: 1: ./scripts/recordmcount: Exec format error".
I was able to fix this by going to "/usr/src/linux-headers-4.4.103+" and running make ARCH=arm scrips which threw an error, but seems to have recompiled all the executables in scripts. Then I was finally able to compile by running make ARCH=arm. Just running make still does not work. Anyway, I'm not exactly sure what is wrong here, but I don't think this is working as intended.
So I installed Tinkeros_debian v2.0.7 and installed the headers for it by doing
dpkg -i <headerfile.deb>on the deb file you guys provide, but all the executables in /usr/src/linux-headers-4.4.103+/scripts are 64-bit executables when the OS is 32-bit. Both the OS and the headers are fresh installs. As a result I can't runmaketo compile anything.makeresults in a "gcc: error: unrecognized command line option '-mgeneral-regs-only' and "make ARCH=arm" errors out with "/bin/sh: 1: ./scripts/recordmcount: Exec format error".I was able to fix this by going to "/usr/src/linux-headers-4.4.103+" and running
make ARCH=arm scripswhich threw an error, but seems to have recompiled all the executables in scripts. Then I was finally able to compile by runningmake ARCH=arm. Just runningmakestill does not work. Anyway, I'm not exactly sure what is wrong here, but I don't think this is working as intended.