Adam -

This means that you must be using GNU Radio 3.2 or the trunk, whereas the KSP distribution only works with GNU Radio 3.1.

It's probably not hard to fix, though.

-- David


On Mar 11, 2009, at 11:06 PM, adam baxter wrote:

Hi,

just seeing if anyone else is having the same problem i am below. basically i'm trying to build 1.6 and getting the following error.

/usr/local/include/usrp_bytesex.h:37:2: warning: #warning Using non-portable code (likely wrong other than ILP32).
USRPDevice.cpp: In member function 'bool USRPDevice::make(bool)':
USRPDevice.cpp:170: error: cannot convert 'usrp_standard_rx_sptr' to 'usrp_standard_rx*' in assignment
USRPDevice.cpp:182: error: cannot convert 'usrp_standard_tx_sptr' to 'usrp_standard_tx*' in assignment
make: *** [USRPDevice.lo] Error 1
[root@server Transceiver]#


Thanks.

---------- Forwarded message ----------
From: adam baxter <adam1984@gmail.com>
Date: Wed, Mar 11, 2009 at 6:23 PM
Subject: Re: OpenBTS
To: Fabian Uehlin <mail@fabian-uehlin.de>


Fabian,

i did what you said. added

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif


into Transceiver/USRPDevice.cpp

still didnt fix it. is it something to do with the Line i have highlighted?


In file included from USRPDevice.h:28,
                 from radioInterface.h:28,
                 from Transceiver.h:32,
                 from Transceiver.cpp:33:

/usr/local/include/usrp_bytesex.h:37:2: warning: #warning Using non-portable code (likely wrong other than ILP32).
In file included from radioInterface.h:28,
                 from Transceiver.h:33,
                 from Transceiver.cpp:34:
sigProcLib.h:38: warning: 'typedef' was ignored in this declaration
sigProcLib.h:48: warning: 'typedef' was ignored in this declaration
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../CommonLibs -I../Control -I../GSM -I../SIP -I../SMS -I../TRXManager -I../Globals -I   -g -O2 -MT USRPDevice.lo -MD -MP -MF ".deps/USRPDevice.Tpo" -c -o USRPDevice.lo USRPDevice.cpp; \

        then mv -f ".deps/USRPDevice.Tpo" ".deps/USRPDevice.Plo"; else rm -f ".deps/USRPDevice.Tpo"; exit 1; fi
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../CommonLibs -I../Control -I../GSM -I../SIP -I../SMS -I../TRXManager -I../Globals -I -g -O2 -MT USRPDevice.lo -MD -MP -MF .deps/USRPDevice.Tpo -c USRPDevice.cpp  -fPIC -DPIC -o .libs/USRPDevice.o
In file included from USRPDevice.h:28,
                 from USRPDevice.cpp:40:

/usr/local/include/usrp_bytesex.h:37:2: warning: #warning Using non-portable code (likely wrong other than ILP32).
USRPDevice.cpp: In member function 'bool USRPDevice::make(bool)':
USRPDevice.cpp:170: error: cannot convert 'usrp_standard_rx_sptr' to 'usrp_standard_rx*' in assignment
USRPDevice.cpp:182: error: cannot convert 'usrp_standard_tx_sptr' to 'usrp_standard_tx*' in assignment
make: *** [USRPDevice.lo] Error 1
[root@server Transceiver]#



On Wed, Mar 11, 2009 at 7:16 AM, Fabian Uehlin <mail@fabian-uehlin.de> wrote:
Yes, an old problem. It was fixed a week ago. I have another fix, but this must also works:


Add the green lines into the file, then it must work.

- Fabian

Am 10.03.2009 um 22:05 schrieb adam baxter:

i have done it now and now im getting another error. OpenBTS is just a project for me to improve my RF knowledge.

my full time job is Networking, cicso etc...

/Globals -I   -g -O2 -MT USRPDevice.lo -MD -MP -MF ".deps/USRPDevice.Tpo" -c -o USRPDevice.lo USRPDevice.cpp; \
        then mv -f ".deps/USRPDevice.Tpo" ".deps/USRPDevice.Plo"; else rm -f ".deps/USRPDevice.Tpo"; exit 1; fi
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../CommonLibs -I../Control -I../GSM -I../SIP -I../SMS -I../TRXManager -I../Globals -I -g -O2 -MT USRPDevice.lo -MD -MP -MF .deps/USRPDevice.Tpo -c USRPDevice.cpp  -fPIC -DPIC -o .libs/USRPDevice.o
In file included from USRPDevice.h:28,
                 from USRPDevice.cpp:37:
/usr/local/include/usrp_bytesex.h:37:2: warning: #warning Using non-portable code (likely wrong other than ILP32).
USRPDevice.cpp: In member function 'bool USRPDevice::make(bool)':
USRPDevice.cpp:167: error: cannot convert 'usrp_standard_rx_sptr' to 'usrp_standard_rx*' in assignment
USRPDevice.cpp:179: error: cannot convert 'usrp_standard_tx_sptr' to 'usrp_standard_tx*' in assignment
make[2]: *** [USRPDevice.lo] Error 1
make[2]: Leaving directory `/root/openbts-1.6NewIberia/Transceiver'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/openbts-1.6NewIberia'
make: *** [all] Error 2
[root@server openbts-1.6NewIberia]#


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com_______________________________________________
Openbts-discuss mailing list
Openbts-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbts-discuss


David A. Burgess
Kestrel Signal Processing, Inc.