discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Re: OpenBTS compilation error


From: Martin Dvh
Subject: Re: [Discuss-gnuradio] Re: OpenBTS compilation error
Date: Mon, 02 Mar 2009 01:03:33 +0100
User-agent: Icedove 1.5.0.14eol (X11/20080724)

Jane Chen wrote:
> Hi,
> 
> I also encountered the same errors.
> USRPDevice.h:42: error: ‘usrp_standard_rx_sptr’ does not name a type
> USRPDevice.h:43: error: ‘usrp_standard_tx_sptr’ does not name a type
> 
> Where can I get the "attached patch"???
It was in my original reply:
Here you have the complete patch inline:
<<<cut from here>>>>
Index: Transceiver/USRPDevice.h
===================================================================
--- Transceiver/USRPDevice.h    (revision 10235)
+++ Transceiver/USRPDevice.h    (working copy)
@@ -19,8 +19,8 @@

 */

+#define HAVE_BYTESWAP_H

-
 #include "usrp_standard.h"
 #include "usrp_bytesex.h"
 #include "usrp_prims.h"

<<<to here>>>

Greetings,
Martin

> 
> Thank you,
> Jane
> 
> 
> 
> Martin Dvh wrote:
>> T. W. wrote:
>>> Windows XP machine.
>>> ".deps/radioInterface.Tpo" -c
>>> .libs/radioInterface.o
>>> In file included from USRPDevice.h:25,
>>>                  from radioInterface.h:25,
>>>                  from radioInterface.cpp:23:
>>> /usr/local/include/usrp_bytesex.h:37:2: warning: #warning Using
>>> non-portable cod
>>> e (likely wrong other than ILP32).
>> This is a known bug.
>> A temporary workaround can be done by using attached patch.
>>
>> See description below.
>>
>> Martin DvH wrote:
>>> I haven't gotten to implementing the configure stuff yet.
>>>
>>>
>>> This patch should be changed to use configure stuff to check for byteswap.h.
>>> But for people wanting a quick-and-dirty hack it can be used.
>>>
>>>
>>> Greetings,
>>> Martin
>>>
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]