baycom / tfrec

SDR tool for receiving wireless sensor data (TFA IT+ KlimaLogg Pro, LaCrosse, WeatherHub)
GNU General Public License v2.0
68 stars 19 forks source link

"Ungültiger Maschinenbefehl" #6

Open TomCat112 opened 6 years ago

TomCat112 commented 6 years ago

Hello, i made the installation like you descripe in the wiki. After all i trie to test it. But with the parameter -D i just get this output:

Registering demod for TFA_1 KlimaLoggPro Ung?ltiger Maschinenbefehl

What can be the fault?

Thanks for your reply and thank for the great work

Thomas

baycom commented 6 years ago

Sound like compiling for the wrong CPU, but maybe it's a real bug. Can you enable the -g debug-option in the makefile, "make clean; make" and run it again in gdb? Then the stack trace of the crash can optained by "thread apply all bt"

rsneyer commented 6 years ago

I had a similar error trying to get tfrec run on my Raspberry Pi Zero W. Solution is to adjust the CXX flags in the Makefile: .. CXXFLAGS=-O3 $(PROFILING) -mfpu=vfp -march=armv6 -mfloat-abi=hard -ftree-vectorize -ffast-math \ ...

Details about compiler flags for different Raspberry models can be found in the raspbian FAQ or here

Have a great day, Robert

baycom commented 6 years ago

There is now a adapted Makefile.raspi2, should also work for the Zero

devZer0 commented 5 years ago

yes, it works. i'm using it on raspberry. @TomCat112 , can you give a comment on the status so this ticket won't remain open forever ?