From ade79a00838801dbcd95efd026d18b15eb1e1e3c Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Tue, 26 Apr 2011 02:55:30 +0200 Subject: src: use new libosmogsm and include/osmocom/[gsm|core] path to headers This patch changes include paths to get osmocom-bb working with the current libosmocore tree. Among all these renames, you can notice several tweaks that I added on purpose, and that require some explanation, they are: * hexdump() in osmocon.c and osmoload.c has been renamed to avoid clashing with hexdump() defined in libosmocore. * gsmmap now depends on libosmogsm. Actually I had to cleanup Makefile.am because I was experiencing weird linking problems, probably due to a bug in the autotools. With the change included in this patch, I got it compiled and linked here correctly. This patch has been tested with the phone Motorola C123 and the following images files: * firmware/board/compal_e88/hello_world.compalram.bin * firmware/board/compal_e88/layer1.compalram.bin Using the osmocon, bcch_scan and mobile tools. Signed-off-by: Pablo Neira Ayuso --- src/host/layer23/configure.ac | 1 + 1 file changed, 1 insertion(+) (limited to 'src/host/layer23/configure.ac') diff --git a/src/host/layer23/configure.ac b/src/host/layer23/configure.ac index 05c6d24f..0a67fab9 100644 --- a/src/host/layer23/configure.ac +++ b/src/host/layer23/configure.ac @@ -15,6 +15,7 @@ AC_PROG_RANLIB dnl checks for libraries PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore) PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty) +PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm) AC_CHECK_LIB(gps, gps_waiting, CFLAGS+=" -D_HAVE_GPSD" LDFLAGS+=" -lgps",,) dnl checks for header files -- cgit v1.2.3