google-code-export / openzwave-control-panel

Automatically exported from code.google.com/p/openzwave-control-panel
1 stars 0 forks source link

make error in linux #18

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 claneys....@gmail.com on 18 Oct 2013 at 10:25

Attachments:

GoogleCodeExporter commented 9 years ago
Got the same issue in a Raspberry PI with Raspian.

Original comment by vpmamm...@gmail.com on 3 Jan 2014 at 12:57

GoogleCodeExporter commented 9 years ago
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 asprakas...@gmail.com on 13 May 2014 at 6:40

GoogleCodeExporter commented 9 years ago
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 pim.bl...@gmail.com on 31 Aug 2014 at 8:07

GoogleCodeExporter commented 9 years ago
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 quih...@qnology.com on 25 Nov 2014 at 12:20