| Newsgroups |
gmane.linux.isdn.i4l.user |
| Message-ID |
<[email protected]> |
Hello!
I'm trying to compile openbsc, libosmocore, libosmo-abis, libosmo-netif and LCR following this howto:
https://osmocom.org/projects/cellular-infrastructure/wiki/SDR_OsmoTRX_network_from_scratch
When i'm trying to ./config --with-asterisk option and then trying to 'make', make aborting with "recipe for target 'chan_lcr.po' failed" error.
When i'm trying to ./config without "--with-asterisk" option and then trying to 'make', make aborting with another error:
depbase=`echo sip.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I. -DWITH_GSMFR -DWITH_GSMAMR -DWITH_GSM_BS -DWITH_GSM_MS -DWITH_SIP -I/usr/include/sofia-sip-1.12 -Wall -DCONFIG_DATA="\"/usr/local/etc/lcr\"" -DSHARE_DATA="\"/usr/local/share/lcr\"" -DLOG_DIR="\"/usr/local/var/log/lcr\"" -DEXTENSION_DATA="\"/usr/local/var/lib/lcr/extensions\"" -g -O2 -MT sip.o -MD -MP -MF $depbase.Tpo -c -o sip.o sip.cpp &&\
sip.cpp:22:2: warning: #warning ******************************************************** [-Wcpp]
sip.cpp:23:2: warning: #warning Please apply the sofia-sip-gcc-4.8.patch ! [-Wcpp]
sip.cpp:24:2: warning: #warning If this issue is already fixed, just remove this check. [-Wcpp]
sip.cpp:25:2: warning: #warning ******************************************************** [-Wcpp]
sip.cpp:26:2: error: #error
make[2]: *** [sip.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Tried to compile it on Ubuntu 12.04.5 LTS, Debian 8, Ubuntu 16, Ubuntu 18, all distros are x64, gcc 4.6 to gcc 4.9, asterisk 11 to 13.
I've spent hours trying to make it work and now asking for some assistance. Thank you!