Hi
on my RPI4 B with Linux raspberrypi 5.10.63-v7l+ armv7l GNU/Linux
Now when i compile my code with gcc "version 8.3" with adding " -l bcm2835 ", when i try to run the program i get "Segmentation fault", so compile my code with -g and put it in gdb and then run it, so i get this error:
###
Program received signal SIGSEGV, Segmentation fault.
strlen () at ../sysdeps/arm/armv6/strlen.S:26
26 ../sysdeps/arm/armv6/strlen.S: No such file or directory.
###
when i run bt after that i get these messages:
###
#0 strlen () at ../sysdeps/arm/armv6/strlen.S:26
#1 0xb6e8852c in __GI__IO_puts (
str=0x17041406 <error: Cannot access memory at address 0x17041406>)
at ioputs.c:35
#2 0x00010a64 in main () at EtherBerry_Test.cpp:85
####
run with sudo, without sudo and there is no different
I really need your help, Thanks