osmith has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/41181?usp=email )


Change subject: ccid_hosts: fix missing talloc_report_full
......................................................................

ccid_hosts: fix missing talloc_report_full

Fix for:

ccid_main_functionfs.c:534:17: error: implicit declaration of function 
'talloc_report_full' [-Wimplicit-function-declaration]
  534 |                 talloc_report_full(g_tall_ctx, stderr);

Change-Id: I2b79d6f28e80acef8e1cab0dab949233698336ad
---
M ccid_host/Makefile
M ccid_host/ccid_main_functionfs.c
M ccid_host/cuart_fsm_test.c
M ccid_host/hub_main_functionfs.c
M contrib/jenkins.sh
5 files changed, 6 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ccid-firmware 
refs/changes/81/41181/1

diff --git a/ccid_host/Makefile b/ccid_host/Makefile
index b117232..718377a 100644
--- a/ccid_host/Makefile
+++ b/ccid_host/Makefile
@@ -1,12 +1,14 @@
 CFLAGS= \
        -Wall \
        -g \
+       $(shell pkg-config --cflags talloc) \
        $(shell pkg-config --cflags libosmocore) \
        -I../ccid_common \
        -I. \
        $(NULL)
 LIBS?= \
        -lasan \
+       $(shell pkg-config --libs talloc) \
        $(shell pkg-config --libs libosmocore) \
        $(NULL)

diff --git a/ccid_host/ccid_main_functionfs.c b/ccid_host/ccid_main_functionfs.c
index dd1e274..1764900 100644
--- a/ccid_host/ccid_main_functionfs.c
+++ b/ccid_host/ccid_main_functionfs.c
@@ -24,6 +24,7 @@
 #include <signal.h>
 #include <sys/types.h>
 #include <linux/usb/functionfs.h>
+#include <talloc.h>

 #include "ccid_proto.h"
 #include "logging.h"
diff --git a/ccid_host/cuart_fsm_test.c b/ccid_host/cuart_fsm_test.c
index 001f8e7..900c90c 100644
--- a/ccid_host/cuart_fsm_test.c
+++ b/ccid_host/cuart_fsm_test.c
@@ -22,6 +22,7 @@
 #include <stdio.h>
 #include <errno.h>
 #include <signal.h>
+#include <talloc.h>
 #include <osmocom/core/utils.h>
 #include <osmocom/core/logging.h>
 #include <osmocom/core/application.h>
diff --git a/ccid_host/hub_main_functionfs.c b/ccid_host/hub_main_functionfs.c
index 6d31243..201e29e 100644
--- a/ccid_host/hub_main_functionfs.c
+++ b/ccid_host/hub_main_functionfs.c
@@ -25,6 +25,7 @@
 #include <sys/types.h>
 #include <linux/usb/functionfs.h>
 #include <linux/usb/ch11.h>
+#include <talloc.h>

 #if __BYTE_ORDER == __LITTLE_ENDIAN
 #define cpu_to_le16(x)  (x)
diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh
index 0bf6771..ed42eaa 100755
--- a/contrib/jenkins.sh
+++ b/contrib/jenkins.sh
@@ -17,7 +17,7 @@

 echo
 echo "=============== libosmocore host build ==========="
-osmo-build-dep.sh libosmocore "" --disable-doxygen
+osmo-build-dep.sh libosmocore "" --disable-doxygen --disable-pseudotalloc
 export PKG_CONFIG_PATH="$inst/lib/pkgconfig:$PKG_CONFIG_PATH"
 export LD_LIBRARY_PATH="$inst/lib"
 export PATH="$inst/bin:$PATH"

--
To view, visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/41181?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: osmo-ccid-firmware
Gerrit-Branch: master
Gerrit-Change-Id: I2b79d6f28e80acef8e1cab0dab949233698336ad
Gerrit-Change-Number: 41181
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <[email protected]>

Reply via email to