removing ancient libosmocore fork from osmocom-bb.git

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/baseband-devel@lists.osmocom.org/.

Craig Comstock craig_comstock at yahoo.com
Wed May 17 12:13:42 UTC 2017


I got around this error by adding a #if (!EMBEDDED) around all of select.c and moving the #include "../config.h" to the top.

diff --git a/src/select.c b/src/select.c
index 8ed7f1b..e51e50a 100644
--- a/src/select.c
+++ b/src/select.c
@@ -20,6 +20,8 @@
  *  MA  02110-1301, USA.
  */
 
+#include "../config.h"
+#if (!EMBEDDED)
 #include <fcntl.h>
 #include <stdio.h>
 #include <string.h>
@@ -30,7 +32,6 @@
 #include <osmocom/core/linuxlist.h>
 #include <osmocom/core/timer.h>
 
-#include "../config.h"
 
 #ifdef HAVE_SYS_SELECT_H
 
@@ -235,3 +236,4 @@ struct osmo_fd *osmo_fd_get_by_fd(int fd)
 /*! @} */
 
 #endif /* _HAVE_SYS_SELECT_H */
+#endif /* !EMBEDDED */

 
After that the next error in building is related to talloc.

make[3]: Entering directory '/home/craig/libosmocore/src'
  CC       select.lo
  CC       utils.lo
In file included from ../include/osmocom/core/utils.h:4:0,
                 from utils.c:30:
../include/osmocom/core/talloc.h:4:20: fatal error: talloc.h: No such file or directory
 #include <talloc.h>

I didn't see the laforge/pseudotalloc branch. Did you forget to push it? How is this dealt with currently in osmocom-bb for embedded?

Thanks,
Craig



More information about the baseband-devel mailing list