Hi,
 
Your compiler does not like this "&(msg->tail(8*3))". So you may modify the source adding additional parameter to the function txPhDataIndCnf:
 
:txPhDataIndCnf(const BitVector *frame, GSM::Time readTime, int offset)
 
...
 
and then
 
--frame->pack((unsigned char*)&(prim->u.data_ind.data[ofs]));
++(frame->tail(8*offset)).pack((unsigned char*)&(prim->u.data_cnf.data[ofs]));
 
Regards,
Vladimir Rolbin

 
On Tue, Oct 23, 2012 at 2:48 PM, James Thompson <thompyj@gmail.com> wrote:
Hi,

I am getting the following error when trying to compile OpenBTS 2.8
gprs-exp branch:


make[2]: Entering directory `/usr/local/src/openbts-p2.8/Control'
  CXX    DCCHDispatch.lo
In file included from ../GSM/GSML3RRMessages.h:37:0,
                 from ControlCommon.h:45,
                 from DCCHDispatch.cpp:31:
../GSM/GSML3RRElements.h: In constructor
'GSM::L3IARestOctetsDownlinkAssignment::L3IARestOctetsDownlinkAssignment(GSM::Time,
unsigned char*)':
../GSM/GSML3RRElements.h:696:7: warning:
'GSM::L3IARestOctetsDownlinkAssignment::mTBF_starting_time' will be
initialized after [-Wreorder]
../GSM/GSML3RRElements.h:695:17: warning:   'unsigned char*
GSM::L3IARestOctetsDownlinkAssignment::mIARestOctets' [-Wreorder]
../GSM/GSML3RRElements.h:700:2: warning:   when initialized here [-Wreorder]
DCCHDispatch.cpp: In function 'void
Control::GPRSReader(GSM::LogicalChannel*)':
DCCHDispatch.cpp:462:57: warning: comparison between signed and unsigned
integer expressions [-Wsign-compare]
DCCHDispatch.cpp:486:36: error: taking address of temporary [-fpermissive]
make[2]: *** [DCCHDispatch.lo] Error 1
make[2]: Leaving directory `/usr/local/src/openbts-p2.8/Control'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/openbts-p2.8'
make: *** [all] Error 2

Any suggestions?

Thanks,

J

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Openbts-discuss mailing list
Openbts-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbts-discuss