You are not logged in.

#1 2016-07-16 18:34:13

Lockheed
Member
Registered: 2010-03-16
Posts: 1,512

[solved] Help compiling CRDA

I am trying to manualy 'make' CRDA, but I am getting this error:

$ make
  GEN  keys-gcrypt.c
  Trusted pubkeys: pubkeys/linville.key.pub.pem pubkeys/sforshee.key.pub.pem
  CC   libreg.so
keys-gcrypt.c:94:32: error: ‘keys’ defined but not used [-Werror=unused-const-variable=]
 static const struct key_params keys[] = {
                                ^~~~
cc1: all warnings being treated as errors
make: *** [Makefile:119: libreg.so] Error 1

It is using python2, so I don't think this is a problem.

Lot of googling proved no useful results, so any help will be appreciated.

EDIT:
Answer - remove "-Werror" from Makefile

Last edited by Lockheed (2016-07-16 18:49:23)

Offline

Board footer

Powered by FluxBB