Implicit function declaration 'gss_acquire_cred_impersonate_name' invalid in C99
I am trying to learn Node.js version 4.2.1, and when I tried to install mongoose in the project, a warning message appeared, as shown below, this on github does not provide an osx solution. apt-get install libkrb5-dev
doesn't seem to apply to the osx environment. Btw I am running os x ei capitan. How to solve this problem?
> kerberos@0.0.15 install /Users/caoyang/WebstormProjects/Nodejs/node_modules/mongoose/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos
> (node-gyp rebuild) || (exit 0)
CXX(target) Release/obj.target/kerberos/lib/kerberos.o
CXX(target) Release/obj.target/kerberos/lib/worker.o
CC(target) Release/obj.target/kerberos/lib/kerberosgss.o
../lib/kerberosgss.c:509:13: warning: implicit declaration of function
'gss_acquire_cred_impersonate_name' is invalid in C99
[-Wimplicit-function-declaration]
maj_stat = gss_acquire_cred_impersonate_name(&min_stat,
^
1 warning generated.
CC(target) Release/obj.target/kerberos/lib/base64.o
CXX(target) Release/obj.target/kerberos/lib/kerberos_context.o
SOLINK_MODULE(target) Release/kerberos.node
+4
Timeless
source
shareNo one has answered this question yet.
See related questions:
25
12
5
4
2
1
0
0
0
0