Skip to content
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

not compile #9

Open
jlmaqui opened this issue Feb 2, 2015 · 4 comments
Open

not compile #9

jlmaqui opened this issue Feb 2, 2015 · 4 comments

Comments

@jlmaqui
Copy link

jlmaqui commented Feb 2, 2015

Hi;

This is the error with latest raspbian working fine ...

as -o rtl_airband_asm.o rtl_airband_asm.s
g++ -O3 -mcpu=arm1176jzf-s -mtune=arm1176jzf-s -march=armv6zk -mfpu=vfp -lrt -lm -lvorbisenc -lmp3lame -lshout -lpthread -lrtlsdr -o rtl_airband rtl_airband.cpp hello_fft/mailbox.c hello_fft/gpu_fft.c hello_fft/gpu_fft_twiddles.c hello_fft/gpu_fft_shaders.c rtl_airband_asm.s
rtl_airband.cpp: In function ‘void* rtlsdr_exec(void_)’:
rtl_airband.cpp:178:9: error: return-statement with no value, in function returning ‘void_’ [-fpermissive]
makefile:21: recipe for target 'rtl_airband' failed
make: *** [rtl_airband] Error 1

Greets !

@szpajder
Copy link

szpajder commented Feb 3, 2015

See here:

#4

Also have a look at my clone: https://github.com/szpajder/RTLSDR-Airband

It has this and several other bugs fixed.

@jlmaqui
Copy link
Author

jlmaqui commented Feb 3, 2015

Hi;

Thanks for reply, your clone compile but the instructions how to run are very few ... i execute with an example of cfg and where is the audio ??, no audio output on my raspberry.

Could you make on the wiki or text how to run easily ?

my config is this one

1
0<----->2<----->280<--->118000000<----->-8000<->
192.168.22.8<-->8000<-->118300.mp3<---->118300000<----->source<>password
192.168.22.8<-->8000<-->117700.mp3<---->117700000<----->source<>password

wich one is working, but i don´t know where to listen.

Thanks in advance.

@szpajder
Copy link

szpajder commented Feb 3, 2015

rtl_airband does not output any audio to the local soundcard. It can only stream it to a Shoutcast or Icecast server, so you should set up one (can be on the same RPi or on a different machine). You put the server address and port in your config (that's 192.168.22.8, 8000 in your example) and you point your media player at http://192.168.22.8:8000/118300.mp3 or /117700.mp3.

@jlmaqui
Copy link
Author

jlmaqui commented Feb 4, 2015

ok thanks, compile and work fine with icecast, but quite difficult to adjust editing txt cfg and relaunching, withouth a continue airband tx; my airport base has low traffic :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants