|
From: Philip B. <ph...@ba...> - 2016-03-20 22:23:12
|
It is likely you are running out of memory during the build. Check dmesg to confirm. Add swap to fix. Philip On 03/20/2016 01:05 PM, Ricardo Mota wrote: > Hey all! > > I'm having some problems compiling and building OpenBTS v5.0 for running on > a BeagleBone Black *rev. C *with an Ettus B200. > > I've been following the instructions on OpenBTS installation from source > for *USRP E3x0*, on the following link: > > > - http://openbts.org/w/index.php?title=E3x0 > > > I've managed to install all dependencies prior to OpenBTS compilation. I've > also removed all *libcoredumper* dependencies from OpenBTS source code > checked out from Github, and also made the small change for it to work > with *OsmoTRX, > *and I'm trying to build OpenBTS with the following commands: > > > *$ cd ../* > > *$ ./autogen.sh* > > *$ ./configure CXXFLAGS="-mcpu=cortex-a9 -mfpu=neon"* > > *$ make * > > *$ make install* > > > > But during *make* phase I'm being faced with the following error that > doesn't allow me a successful build... > > > g++ -DHAVE_CONFIG_H -I. -I.. -D'REPO_REV="e9bac710e3 >>> CommonLibs:11d8baa826"' -I../apps -I../CommonLibs -I../Control -I../GSM >>> -I../GSMShare -I../GPRS -I../SGSNGGSN -I../SIP -I../SMS -I../TRXManager >>> -I../Globals -I../CLI -I../Peering -I../NodeManager >>> -I../NodeManager/JsonBox-0.4.3/include -I../Scanning -g -O2 -Wall >>> -pthread -ldl -rdynamic -DTIMESTAMP_ISO=`date +'"%Y-%m-%dT%H:%M:%S"'` -MT >>> GetConfigurationKeys.o -MD -MP -MF .deps/GetConfigurationKeys.Tpo -c -o >>> GetConfigurationKeys.o GetConfigurationKeys.cpp >> >> g++: internal compiler error: Killed (program cc1plus) >> >> Please submit a full bug report, >> >> with preprocessed source if appropriate. >> >> See <file:///usr/share/doc/gcc-4.9/README.Bugs> for instructions. >> >> Makefile:546: recipe for target 'GetConfigurationKeys.o' failed >> >> make[2]: *** [GetConfigurationKeys.o] Error 4 >> >> make[2]: Leaving directory '/root/src/openbts/apps' >> >> Makefile:560: recipe for target 'all-recursive' failed >> >> make[1]: *** [all-recursive] Error 1 >> >> make[1]: Leaving directory '/root/src/openbts' >> >> Makefile:490: recipe for target 'all' failed >> >> make: *** [all] Error 2 >> >> > > Can anybody give me some hint on why is the build failing? > > Thank you very much for your attention! > > Kind regards, > > rflmota > > > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140 > > > > _______________________________________________ > Openbts-discuss mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openbts-discuss > |