Error in compilation of runTransceiver.cpp in OpenBTS


#1

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 toUSRPDevice::USRPDevice(double)’
runTransceiver.cpp:(.text+0xc5): undefined reference to
USRPDevice::make(bool)' runTransceiver.cpp:(.text+0x131): undefined reference toRadioInterface::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 toTransceiver::start()’
runTransceiver.cpp:(.text+0x2a5): undefined reference to
`Transceiver::~Transceiver()’
collect2: ld returned 1 exit status

Regards
Gohar


#2

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