Forum: GNU Radio Error in compilation of runTransceiver.cpp in OpenBTS

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
gohar anwar (Guest)
on 2009-03-17 19:53
(Received via mailing list)
Hi,
I  am facing the following warnings and error when i compile
"runTransceiver.cpp". This seems to be a problem with the Functions
using reference to device USRP.
libusrp is already installed.  What does this error indicates? How
should i remove it?

gohar@gohar:~/openbts/Transceiver$ g++
'/home/gohar/openbts/Transceiver/runTransceiver.cpp'
In file included from /home/gohar/openbts/Transceiver/USRPDevice.h:25,
                 from
/home/gohar/openbts/Transceiver/radioInterface.h:25,
                 from /home/gohar/openbts/Transceiver/Transceiver.h:29,
                 from
/home/gohar/openbts/Transceiver/runTransceiver.cpp:24:
/usr/local/include/usrp_bytesex.h:37:2: warning: #warning Using
non-portable code (likely wrong other than ILP32).
In file included from
/home/gohar/openbts/Transceiver/radioInterface.h:24,
                 from /home/gohar/openbts/Transceiver/Transceiver.h:29,
                 from
/home/gohar/openbts/Transceiver/runTransceiver.cpp:24:
/home/gohar/openbts/Transceiver/sigProcLib.h:35: warning: ‘typedef’ was
ignored in this declaration
/home/gohar/openbts/Transceiver/sigProcLib.h:45: warning: ‘typedef’ was
ignored in this declaration
/tmp/cc1M0b51.o: In function `main':
runTransceiver.cpp:(.text+0xa3): undefined reference to
`USRPDevice::USRPDevice(double)'
runTransceiver.cpp:(.text+0xc5): undefined reference to
`USRPDevice::make(bool)'
runTransceiver.cpp:(.text+0x131): undefined reference to
`RadioInterface::RadioInterface(USRPDevice*, int, int, GSM::Time)'
runTransceiver.cpp:(.text+0x1e1): undefined reference to
`Transceiver::Transceiver(int, char const*, int, GSM::Time,
RadioInterface*)'
runTransceiver.cpp:(.text+0x22f): undefined reference to
`Transceiver::start()'
runTransceiver.cpp:(.text+0x2a5): undefined reference to
`Transceiver::~Transceiver()'
collect2: ld returned 1 exit status


Regards
Gohar
Johnathan C. (Guest)
on 2009-03-18 16:26
(Received via mailing list)
2009/3/17 gohar anwar <removed_email_address@domain.invalid>:

> I  am facing the following warnings and error when i compile
> "runTransceiver.cpp".

> gohar@gohar:~/openbts/Transceiver$ g++
> '/home/gohar/openbts/Transceiver/runTransceiver.cpp'

You should be using the standard ./bootstrap, ./configure, and make
commands to build this, not trying to compile it directly as above.

Johnathan
This topic is locked and can not be replied to.