Hi folks I pulled the latest repo of OpenBsc but upon compilation, it breaks while running 'make' Everything else compiled fine, libosmocore and libosmo-abis. I'm running this on Ubuntu 12.04 LTS.
Here is the make error.
make[3]: Entering directory `/home/tyrus/openbsc/openbsc/src/libcommon' CC common_vty.o In file included from common_vty.c:30:0: ../../include/openbsc/bsc_nat.h:35:37: fatal error: osmocom/sccp/sccp_types.h: No such file or directory compilation terminated. make[3]: *** [common_vty.o] Error 1 make[3]: Leaving directory `/home/tyrus/openbsc/openbsc/src/libcommon' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/tyrus/openbsc/openbsc/src' make[1]: *** [all-recursive] Error 1
After fiddling around I couldnt find the sccp dir with its contents so when i checked the git diff I found it was in this tree http://git.zerfleddert.de/cgi-bin/gitweb.cgi/bs11/commitdiff/e9359db5803baef...
However when i manually created the files and dirs, it was just a nightmare. Anyone with pointers how to fix this, ill really appreciate
-tyrus
On Fri, Apr 19, 2013 at 01:22:25PM +0300, ty wrote:
Hi folks I pulled the latest repo of OpenBsc but upon compilation, it breaks while running 'make'
well, the users of the SCCP library are disabled by default. When you upgrade OpenBSC after a couple of years you should use autoreconf --install --force and re-generate the configure script.
On Fri, Apr 19, 2013 at 01:22:25PM +0300, ty wrote:
Hi folks
Hi again,
due the little context (e.g the head of config.log to see how one has configured OpenBSC, some output of git reflog to see what was the old HEAD) given in this email I didn't notice the problem when reading the make output.
make[3]: Entering directory `/home/tyrus/openbsc/openbsc/src/libcommon' CC common_vty.o In file included from common_vty.c:30:0: ../../include/openbsc/bsc_nat.h:35:37: fatal error: osmocom/sccp/sccp_types.h: No such file or directory compilation terminated.
bsc_nat.h is including sccp_types.h and it started doing it in git revision 462b7d7158937b51fbb833ea3066e01fe8322f37. I have moved the new struct into a new header file and common_vty.c should compile without the SCCP header installed.
holger