Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while making with OpenSSL 1.1.1k #266

Closed
KamithaVihanga opened this issue Sep 1, 2022 · 0 comments
Closed

Error while making with OpenSSL 1.1.1k #266

KamithaVihanga opened this issue Sep 1, 2022 · 0 comments

Comments

@KamithaVihanga
Copy link

Unable to make nrpe-4.1.0 with openssl 1.1.1k. Ended up with below error.

[root@VM01 nrpe-4.1.0]# make all
cd ./src/; make
make[1]: Entering directory '/home/software/nrpe-4.1.0/src'
gcc -g -O2 -I/usr/include/krb5  -DHAVE_CONFIG_H -I ../include -I ./../include -o nrpe ./nrpe.c ./utils.c ./acl.c -lssl -lcrypto     
./nrpe.c: In function ‘init_ssl’:
./nrpe.c:500:8: warning: implicit declaration of function ‘get_dh2048’ [-Wimplicit-function-declaration]
   dh = get_dh2048();
        ^~~~~~~~~~
./nrpe.c:500:6: warning: assignment to ‘DH *’ {aka ‘struct dh_st *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
   dh = get_dh2048();
      ^
/tmp/ccQXaG0k.o: In function `init_ssl':
/home/software/nrpe-4.1.0/src/./nrpe.c:500: undefined reference to `get_dh2048'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:48: nrpe] Error 1
make[1]: Leaving directory '/home/software/nrpe-4.1.0/src'
make: *** [Makefile:65: all] Error 2
[root@VM01 nrpe-4.1.0]# 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants