From cc87156a3001d243dd110f667bb0643af2e1509b Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 15 Jan 2018 18:32:04 +0100 Subject: mgcp_transcoding_test: Add LIBOSMOABIS_CFLAGS Currently, we see the following failure: make[3]: Entering directory '/build/openbsc/tests/mgcp' CC mgcp_transcoding_test.o CC mgcp_test.o In file included from ../../include/openbsc/gsm_data.h:176:0, from mgcp_transcoding_test.c:14: ../../include/openbsc/gsm_data_shared.h:21:35: fatal error: osmocom/abis/e1_input.h: No such file or directory #include ^ compilation terminated. as gsm_data.h includes gsm_data_shared.h, which includes the e1_input.h from libosmo-abis, we need to list libosmo-abis in the CFLAGS. Change-Id: I27c25adfc6ee2c6f07315f3bc76fa7a70202ac4d --- openbsc/tests/mgcp/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/openbsc/tests/mgcp/Makefile.am b/openbsc/tests/mgcp/Makefile.am index 4b18036cc..33e921fb3 100644 --- a/openbsc/tests/mgcp/Makefile.am +++ b/openbsc/tests/mgcp/Makefile.am @@ -10,6 +10,7 @@ AM_CFLAGS = \ $(LIBOSMOCORE_CFLAGS) \ $(LIBOSMOGSM_FLAGS) \ $(LIBOSMONETIF_CFLAGS) \ + $(LIBOSMOABIS_CFLAGS) \ $(LIBOSMOSCCP_CFLAGS) \ $(COVERAGE_CFLAGS) \ $(LIBBCG729_CFLAGS) \ -- cgit v1.2.3