-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
shmat: Invalid argument #9
Comments
Having the same issue here, is it possible this error is being thrown due to us using the applicaiton on an ARM based processor? |
Any work arounds would be greatly appreciated |
Same problem here, on Raspberry Pi 3 Model B, (Linux raspberrypi 4.4.50-v7+ #970 SMP Mon Feb 20 19:18:29 GMT 2017 armv7l GNU/Linux) with bladeRF 40X, I also get the following error: ./kal -s GSM850 -v -D |
hi, has anyone manage to solve this issue? |
For Raspbian use this patch (like branch arm_memory in kalibrate-rtl) diff --git a/configure.ac b/configure.ac
index 5f4f19a..003bbf4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -32,11 +32,7 @@ AC_SUBST(BLADERF_CFLAGS)
# OSX doesn't support System V shared memory
AC_CANONICAL_HOST
-case "$host_os" in
- darwin*)
- AC_DEFINE([D_HOST_OSX], [], [building for OSX])
- ;;
-esac
+AC_DEFINE([D_HOST_OSX], [], [building for OSX])
AC_CONFIG_FILES([Makefile
src/Makefile])
diff --git a/src/Makefile.am b/src/Makefile.am
index 98bc1ef..43fe52e 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -21,4 +21,4 @@ kal_SOURCES = \
version.h
kal_CXXFLAGS = $(FFTW3_CFLAGS) $(USRP_CFLAGS)
-kal_LDADD = $(FFTW3_LIBS) $(USRP_LIBS)
+kal_LDADD = $(FFTW3_LIBS) $(USRP_LIBS) -lrt |
hi @elcdrue could you be more specific? i couldn`t solve this problem. |
Same issue here. I've been looking for a solution for 3 days now... Error setting RX sampling rate Any guess? |
+1 |
Just downloaded and compiled this today on my Raspberry Pi. I am getting the same output as the original poster. Is there a fix yet? I added the following line to version.h and did a make clean and ran ./configure again: kal_LDADD = However this generates further errors: In file included from kal.cc:63:0: |
When running on my Raspberry Pi3 (Linux raspberrypi 4.4.38-v7+ #938 SMP Thu Dec 15 15:22:21 GMT 2016 armv7l GNU/Linux) with a BladeRF x115 I get this error:
kal -s GSM850 -v -D
debug: FPGA Master Clock Freq: 52000000
debug: decimation : 192
debug: RX Subdev Spec : B
debug: Antenna : RX2
debug: Gain : 0.450000
shmat: Invalid argument
terminate called after throwing an instance of 'std::runtime_error'
what(): circular_buffer: shmat
Aborted
What to do next?
The text was updated successfully, but these errors were encountered: