Problem make(ing) GPS-SDR

Hello!

I have a problem building GPS-SDR with the latest GNU Radio Source. I
used …

Ubuntu 8.04.1 with kernel 2.6.24-19-generic
GNU Radio 3.3svn
GPS-SDR latest with git, downloaded on 12.8.2009 (I don’t know how to
get
the version)

I added “GNURADIO=/home/user/gnuradio” to the Makefile in
/gps-sdr/usrp…

Then running make in the /gps-sdr folder resultet in errors:

[email protected]:~/gps-sdr# make
g++ -O2 -D_FORTIFY_SOURCE=0 -g3 -m32 -Iaccessories -Iacquisition
-Iincludes -Imain -Iobjects -Isimd -Iusrp -c objects/gps_source.cpp -o
objects/gps_source.o
In Datei, eingefügt von usrp/gn3s.h:43,
von objects/gps_source.h:33,
von objects/gps_source.cpp:29:
/usr/local/include/usrp_bytesex.h:37:2: Warnung: #warning Using
non-portable code (likely wrong other than ILP32).
objects/gps_source.cpp: In member function void GPS_Source::Open_USRP_V1()': objects/gps_source.cpp:208: Fehler: cannot convertusrp_standard_rx_sptr’ to `usrp_standard_rx*’ in assignment
make: *** [objects/gps_source.o] Fehler 1

…and also running /gps-sdr/usrp make gave errors…

[email protected]:~/gps-sdr# cd usrp
[email protected]:~/gps-sdr/usrp# make
g++ -O2 -D_FORTIFY_SOURCE=0 -I. -c gps-usrp.cpp -o gps-usrp.o
gps-usrp.cpp: In function void PostStatus(char*)': gps-usrp.cpp:54: Fehler:ffprintf’ undeclared (first use this function)
gps-usrp.cpp:54: Fehler: (Each undeclared identifier is reported only
once for each function it appears in.)
gps-usrp.cpp: In function int echo_options(options*)': gps-usrp.cpp:101: Fehler: cannot convertusrp_standard_rx_sptr’ to
usrp_standard_rx*' in initialization gps-usrp.cpp:111: Fehler:ffprintf’ undeclared (first use this
function)
gps-usrp.cpp: In function void* record_thread(void*)': gps-usrp.cpp:387: Fehler: cannot convertusrp_standard_rx_sptr’ to
usrp_standard_rx*' in initialization gps-usrp.cpp:541: Fehler:ffprintf’ undeclared (first use this
function)
gps-usrp.cpp: In function void* fifo_thread(void*)': gps-usrp.cpp:779: Fehler:ffprintf’ undeclared (first use this
function)
make: *** [gps-usrp.o] Fehler 1

Which version is save to use? Do you have any idea what I can try to get
it build?

Thanks in advance!
Regards,
Timo

Hi Phil,

I realize this isn’t the GPS-SDR mailing list but this should be
documented somewhere. From what I can tell, it looks like in one of
his more recent commits, Mr. Heckler did a search and replace, from

printf(

to

fprintf(stdout,

He did this to clear up some bug he was getting. However, in some
cases he already had fprintf(stdout, so when he did the search and
replace, he got

ffprintf(stdout,stdout

which is going to throw errors. I guess the main takeaway is that the
code is not ready for release.

Steve

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs