open-zwave-control-panel icon indicating copy to clipboard operation
open-zwave-control-panel copied to clipboard

make error in linux

Open GoogleCodeExporter opened this issue 9 years ago • 4 comments

What steps will reproduce the problem?
1.uncomment three line about linux compilation
2.uncomment gnutls lib 
3.

What is the expected output? What do you see instead?
No error and compilation succeed.

Please provide any additional information below.

Solution : add "-lgcrypt" at the end of LIBS definition.
LIBS := $(LIBZWAVE) $(GNUTLS) $(LIBMICROHTTPD) -pthread $(LIBUSB) -lgcrypt
Of course, install appropriate packages libgcrypt-devel.

Original issue reported on code.google.com by [email protected] on 18 Oct 2013 at 10:25

Attachments:

GoogleCodeExporter avatar Mar 14 '15 06:03 GoogleCodeExporter

Got the same issue in a Raspberry PI with Raspian.


Original comment by [email protected] on 3 Jan 2014 at 12:57

GoogleCodeExporter avatar Mar 14 '15 06:03 GoogleCodeExporter

Could not able to compile it on Ubuntu. Getting the following error, even I 
modified the Makefile for Linux support. I also added -lgcrypt at the end of 
LIBS definition, but no use. The error message is,

Please edit the Makefile to avoid this error message.
make: *** [defs] Error 1

Original comment by [email protected] on 13 May 2014 at 6:40

GoogleCodeExporter avatar Mar 14 '15 06:03 GoogleCodeExporter

Same issue here, on Ubuntu 12.04.4 LTS (GNU/Linux 3.2.0-56-generic-pae i686)

Please edit the Makefile to avoid this error message.
make: *** [defs] Error 1

Original comment by [email protected] on 31 Aug 2014 at 8:07

GoogleCodeExporter avatar Mar 14 '15 06:03 GoogleCodeExporter

Solution for "make: *** [defs] Error 1"

"LIBZWAVE := $(wildcard $(OPENZWAVE)/cpp/lib/linux/*.a)"

needs to be:

"LIBZWAVE := $(wildcard $(OPENZWAVE)/cpp/build/*.a)"


Original comment by [email protected] on 25 Nov 2014 at 12:20

GoogleCodeExporter avatar Mar 14 '15 06:03 GoogleCodeExporter