[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-GNUnet] build fixes
From: |
Brian Gough |
Subject: |
[bug-GNUnet] build fixes |
Date: |
Thu, 12 Aug 2010 17:30:44 +0100 |
User-agent: |
Wanderlust/2.15.6 (Almost Unreal) Emacs/23.2 Mule/6.0 (HANACHIRUSATO) |
Hello
I'm compiling gnunet on fencepost.gnu.org. Here are a couple of minor
changes (below) I needed to get the svn head to build.
In plugin_datastore_sqlite.c sqlite3_int64 doesn't seem to exist, I
only found sqlite_int64 in the sqlite headers.
The version of sqlite installed is:
ii libsqlite3-dev 3.4.2-2 SQLite 3 development files
The other change is to support an arbitrary libiconv in addition to
the system one. Otherwise the link fails with an undefined reference
to libiconv functions.
Index: src/datastore/plugin_datastore_sqlite.c
===================================================================
--- src/datastore/plugin_datastore_sqlite.c (revision 12519)
+++ src/datastore/plugin_datastore_sqlite.c (working copy)
@@ -756,7 +756,7 @@
(SQLITE_OK != sqlite3_bind_int (stmt, 2, type)) ||
(SQLITE_OK != sqlite3_bind_int (stmt, 3, priority)) ||
(SQLITE_OK != sqlite3_bind_int (stmt, 4, anonymity)) ||
- (SQLITE_OK != sqlite3_bind_int64 (stmt, 5, (sqlite3_int64)
expiration.value)) ||
+ (SQLITE_OK != sqlite3_bind_int64 (stmt, 5, (sqlite_int64)
expiration.value)) ||
(SQLITE_OK !=
sqlite3_bind_blob (stmt, 6, key, sizeof (GNUNET_HashCode),
SQLITE_TRANSIENT)) ||
Index: src/util/Makefile.am
===================================================================
--- src/util/Makefile.am (revision 12519)
+++ src/util/Makefile.am (working copy)
@@ -72,6 +72,7 @@
libgnunetutil_la_LIBADD = \
$(GCLIBADD) $(WINLIB) \
$(LIBGCRYPT_LIBS) \
+ $(LTLIBICONV) \
-lgmp -lltdl -lz $(XLIB)
libgnunetutil_la_LDFLAGS = \
- [bug-GNUnet] build fixes,
Brian Gough <=