You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to compile on a Raspberry Pi against the open-zwave library,
revision 887. I get the following compile error:
make
g++ -o ozwcp -g ozwcp.o webserver.o zwavelib.o ../open-zwave/libopenzwave.a
-lgnutls ../libmicrohttpd/src/daemon/.libs/libmicrohttpd.a -pthread -ludev
/usr/bin/ld: ../libmicrohttpd/src/daemon/.libs/libmicrohttpd.a(daemon.o):
undefined reference to symbol 'gcry_control@@GCRYPT_1.2'
//lib/arm-linux-gnueabihf/libgcrypt.so.11: error adding symbols: DSO missing
from command line
collect2: ld returned 1 exit status
Makefile:71: recipe for target 'ozwcp' failed
make: *** [ozwcp] Error 1
hopefully this is a simple fix.
Original issue reported on code.google.com by [email protected] on 30 Aug 2014 at 4:41
The text was updated successfully, but these errors were encountered:
* Same as on the open-zwave issue list
It is a fault in the Pi image i believe, but easy to fix. Modify the Makefile
of the ozwcp as follows:
Replace
# Remove comment below for gnutls support
GNUTLS := #-lgnutls
with:
# Remove comment below for gnutls support
GNUTLS := -lgnutls -lgcrypt
Then it will compile fine ;-)
Thank you for the fix, it fixed part of the problem. The make then returned an
additional undefined reference to symbol 'clock_gettime@@GLIBC_2.4'.
This required changing:
DEBUG_LDFLAGS := -g
to:
DEBUG_LDFLAGS := -g -lrt
Original issue reported on code.google.com by
[email protected]
on 30 Aug 2014 at 4:41The text was updated successfully, but these errors were encountered: