You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
after I changed into the directory of /PiFmRds/src i did make clean and then make, but when I executed make I got this error:
gcc -Wall -std=gnu99 -c -g -march=armv6 -O3 -mtune=arm1176jzf-s -mfloat-abi=hard -mfpu=vfp -ffast-math -DRASPI=1 rds.c
In file included from /usr/include/features.h:485,
from /usr/include/arm-linux-gnueabi/bits/libc-header-start.h:33,
from /usr/include/stdint.h:26,
from /usr/lib/gcc/arm-linux-gnueabi/10/include/stdint.h:9,
from rds.c:21:
/usr/include/arm-linux-gnueabi/gnu/stubs.h:10:11: fatal error: gnu/stubs-hard.h: No such file or directory
10 | # include <gnu/stubs-hard.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:43: rds.o] Error 1
The text was updated successfully, but these errors were encountered:
I have the same problem on Debian Bullseye. You also need package libsndfile1-dev, but that's not related to this bug.
Try this:
cd src/
rm *.o
sed -e s/=hard/=soft/g < Makefile > Makefile2
make -f Makefile2
It compiles, but I get runtime errors then:
root@rpi1-20210823:~/sw/PiFmRds-master/src# ./pi_fm_rds
Failed to map peripheral at 0x20007000: Operation not permitted.
Terminating: cleanly deactivated the DMA engine and killed the carrier.
Fixing this error by adding iomem=relaxed to cmdline.txt, I get another runtime error:
Using local mbox device file with major 249.
Allocating physical memory: size = 3403776 ioctl_set_msg failed:-1
Could not allocate memory.
Terminating: cleanly deactivated the DMA engine and killed the carrier.
after I changed into the directory of /PiFmRds/src i did make clean and then make, but when I executed make I got this error:
gcc -Wall -std=gnu99 -c -g -march=armv6 -O3 -mtune=arm1176jzf-s -mfloat-abi=hard -mfpu=vfp -ffast-math -DRASPI=1 rds.c
In file included from /usr/include/features.h:485,
from /usr/include/arm-linux-gnueabi/bits/libc-header-start.h:33,
from /usr/include/stdint.h:26,
from /usr/lib/gcc/arm-linux-gnueabi/10/include/stdint.h:9,
from rds.c:21:
/usr/include/arm-linux-gnueabi/gnu/stubs.h:10:11: fatal error: gnu/stubs-hard.h: No such file or directory
10 | # include <gnu/stubs-hard.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:43: rds.o] Error 1
The text was updated successfully, but these errors were encountered: