[MERGED] openbsc[master]: mgcp_transcoding_test: Add LIBOSMOABIS_CFLAGS

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Mon Jan 15 17:41:42 UTC 2018


Harald Welte has submitted this change and it was merged.

Change subject: mgcp_transcoding_test: Add LIBOSMOABIS_CFLAGS
......................................................................


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 <osmocom/abis/e1_input.h>
                                   ^
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
---
M openbsc/tests/mgcp/Makefile.am
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/openbsc/tests/mgcp/Makefile.am b/openbsc/tests/mgcp/Makefile.am
index 4b18036..33e921f 100644
--- a/openbsc/tests/mgcp/Makefile.am
+++ b/openbsc/tests/mgcp/Makefile.am
@@ -10,6 +10,7 @@
 	$(LIBOSMOCORE_CFLAGS) \
 	$(LIBOSMOGSM_FLAGS) \
 	$(LIBOSMONETIF_CFLAGS) \
+	$(LIBOSMOABIS_CFLAGS) \
 	$(LIBOSMOSCCP_CFLAGS) \
 	$(COVERAGE_CFLAGS) \
 	$(LIBBCG729_CFLAGS) \

-- 
To view, visit https://gerrit.osmocom.org/5797
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I27c25adfc6ee2c6f07315f3bc76fa7a70202ac4d
Gerrit-PatchSet: 1
Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list