- 論壇徽章:
- 0
|
現(xiàn)在公司要用NAGIOS監(jiān)控一臺(tái)LINUX主機(jī),所以我按正常步驟安裝nrpe,但是當(dāng)我nrpe裝到make all的時(shí)候就報(bào)錯(cuò)了,請(qǐng)大家?guī)臀医鉀Q下,越快越好....以下是報(bào)錯(cuò)的內(nèi)容,LINUX主機(jī)是64位的.....急等
[root@localhost nrpe-2.12]# make all
cd ./src/; make ; cd ..
make[1]: Entering directory `/home/tianhao/nrpe-2.12/src'
gcc -g -O2 -I/usr/include/openssl -I/usr/include -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -L/usr/lib -lssl -lcrypto -lnsl -lwrap
在包含自 /usr/include/openssl/e_os2.h:56 的文件中,
從 /usr/include/openssl/asn1.h:63,
從 /usr/include/openssl/rsa.h:62,
從 ../include/config.h:238,
從 ../include/common.h:24,
從 nrpe.c:21:
/usr/include/openssl/opensslconf.h:25:32: 錯(cuò)誤:opensslconf-x86_64.h:沒有那個(gè)文件或目錄
In file included from /usr/include/openssl/asn1.h:74,
from /usr/include/openssl/rsa.h:62,
from ../include/config.h:238,
from ../include/common.h:24,
from nrpe.c:21:
/usr/include/openssl/bn.h:288: 錯(cuò)誤:expected specifier-qualifier-list before ‘BN_ULONG’
/usr/include/openssl/bn.h:304: 錯(cuò)誤:expected specifier-qualifier-list before ‘BN_ULONG’
/usr/include/openssl/bn.h:450: 錯(cuò)誤:expected ‘=’, ‘,’, ‘;’, ‘a(chǎn)sm’ or ‘__attribute__’ before ‘BN_mod_word’
/usr/include/openssl/bn.h:451: 錯(cuò)誤:expected ‘=’, ‘,’, ‘;’, ‘a(chǎn)sm’ or ‘__attribute__’ before ‘BN_div_word’
/usr/include/openssl/bn.h:452: 錯(cuò)誤:expected declaration specifiers or ‘...’ before ‘BN_ULONG’
/usr/include/openssl/bn.h:453: 錯(cuò)誤:expected declaration specifiers or ‘...’ before ‘BN_ULONG’
/usr/include/openssl/bn.h:454: 錯(cuò)誤:expected declaration specifiers or ‘...’ before ‘BN_ULONG’
/usr/include/openssl/bn.h:455: 錯(cuò)誤:expected declaration specifiers or ‘...’ before ‘BN_ULONG’
/usr/include/openssl/bn.h:456: 錯(cuò)誤:expected ‘=’, ‘,’, ‘;’, ‘a(chǎn)sm’ or ‘__attribute__’ before ‘BN_get_word’
/usr/include/openssl/bn.h:471: 錯(cuò)誤:expected declaration specifiers or ‘...’ before ‘BN_ULONG’
/usr/include/openssl/bn.h:764: 錯(cuò)誤:expected ‘=’, ‘,’, ‘;’, ‘a(chǎn)sm’ or ‘__attribute__’ before ‘bn_mul_add_words’
/usr/include/openssl/bn.h:765: 錯(cuò)誤:expected ‘=’, ‘,’, ‘;’, ‘a(chǎn)sm’ or ‘__attribute__’ before ‘bn_mul_words’
/usr/include/openssl/bn.h:766: 錯(cuò)誤:expected ‘)’ before ‘*’ token
/usr/include/openssl/bn.h:767: 錯(cuò)誤:expected ‘=’, ‘,’, ‘;’, ‘a(chǎn)sm’ or ‘__attribute__’ before ‘bn_div_words’
/usr/include/openssl/bn.h:768: 錯(cuò)誤:expected ‘=’, ‘,’, ‘;’, ‘a(chǎn)sm’ or ‘__attribute__’ before ‘bn_add_words’
/usr/include/openssl/bn.h:769: 錯(cuò)誤:expected ‘=’, ‘,’, ‘;’, ‘a(chǎn)sm’ or ‘__attribute__’ before ‘bn_sub_words’
In file included from /usr/include/openssl/ssl.h:1010,
from ../include/config.h:242,
from ../include/common.h:24,
from nrpe.c:21:
/usr/include/openssl/ssl3.h:306: 錯(cuò)誤:expected specifier-qualifier-list before ‘PQ_64BIT’
In file included from /usr/include/openssl/dtls1.h:64,
from /usr/include/openssl/ssl.h:1012,
from ../include/config.h:242,
from ../include/common.h:24,
from nrpe.c:21:
/usr/include/openssl/pqueue.h:73: 錯(cuò)誤:expected specifier-qualifier-list before ‘PQ_64BIT’
/usr/include/openssl/pqueue.h:80: 錯(cuò)誤:expected ‘)’ before ‘priority’
/usr/include/openssl/pqueue.h:89: 錯(cuò)誤:expected declaration specifiers or ‘...’ before ‘PQ_64BIT’
In file included from /usr/include/openssl/ssl.h:1012,
from ../include/config.h:242,
from ../include/common.h:24,
from nrpe.c:21:
/usr/include/openssl/dtls1.h:92: 錯(cuò)誤:expected specifier-qualifier-list before ‘PQ_64BIT’
在包含自 /usr/include/openssl/e_os2.h:56 的文件中,
從 /usr/include/openssl/asn1.h:63,
從 /usr/include/openssl/rsa.h:62,
從 ../include/config.h:238,
從 ../include/common.h:24,
從 utils.c:32:
/usr/include/openssl/opensslconf.h:25:32: 錯(cuò)誤:opensslconf-x86_64.h:沒有那個(gè)文件或目錄
In file included from /usr/include/openssl/asn1.h:74,
from /usr/include/openssl/rsa.h:62,
from ../include/config.h:238,
from ../include/common.h:24,
from utils.c:32:
/usr/include/openssl/bn.h:288: 錯(cuò)誤:expected specifier-qualifier-list before ‘BN_ULONG’
/usr/include/openssl/bn.h:304: 錯(cuò)誤:expected specifier-qualifier-list before ‘BN_ULONG’
/usr/include/openssl/bn.h:450: 錯(cuò)誤:expected ‘=’, ‘,’, ‘;’, ‘a(chǎn)sm’ or ‘__attribute__’ before ‘BN_mod_word’
/usr/include/openssl/bn.h:451: 錯(cuò)誤:expected ‘=’, ‘,’, ‘;’, ‘a(chǎn)sm’ or ‘__attribute__’ before ‘BN_div_word’
/usr/include/openssl/bn.h:452: 錯(cuò)誤:expected declaration specifiers or ‘...’ before ‘BN_ULONG’
/usr/include/openssl/bn.h:453: 錯(cuò)誤:expected declaration specifiers or ‘...’ before ‘BN_ULONG’
/usr/include/openssl/bn.h:454: 錯(cuò)誤:expected declaration specifiers or ‘...’ before ‘BN_ULONG’
/usr/include/openssl/bn.h:455: 錯(cuò)誤:expected declaration specifiers or ‘...’ before ‘BN_ULONG’
/usr/include/openssl/bn.h:456: 錯(cuò)誤:expected ‘=’, ‘,’, ‘;’, ‘a(chǎn)sm’ or ‘__attribute__’ before ‘BN_get_word’
/usr/include/openssl/bn.h:471: 錯(cuò)誤:expected declaration specifiers or ‘...’ before ‘BN_ULONG’
/usr/include/openssl/bn.h:764: 錯(cuò)誤:expected ‘=’, ‘,’, ‘;’, ‘a(chǎn)sm’ or ‘__attribute__’ before ‘bn_mul_add_words’
/usr/include/openssl/bn.h:765: 錯(cuò)誤:expected ‘=’, ‘,’, ‘;’, ‘a(chǎn)sm’ or ‘__attribute__’ before ‘bn_mul_words’
/usr/include/openssl/bn.h:766: 錯(cuò)誤:expected ‘)’ before ‘*’ token
/usr/include/openssl/bn.h:767: 錯(cuò)誤:expected ‘=’, ‘,’, ‘;’, ‘a(chǎn)sm’ or ‘__attribute__’ before ‘bn_div_words’
/usr/include/openssl/bn.h:768: 錯(cuò)誤:expected ‘=’, ‘,’, ‘;’, ‘a(chǎn)sm’ or ‘__attribute__’ before ‘bn_add_words’
/usr/include/openssl/bn.h:769: 錯(cuò)誤:expected ‘=’, ‘,’, ‘;’, ‘a(chǎn)sm’ or ‘__attribute__’ before ‘bn_sub_words’
In file included from /usr/include/openssl/ssl.h:1010,
from ../include/config.h:242,
from ../include/common.h:24,
from utils.c:32:
/usr/include/openssl/ssl3.h:306: 錯(cuò)誤:expected specifier-qualifier-list before ‘PQ_64BIT’
In file included from /usr/include/openssl/dtls1.h:64,
from /usr/include/openssl/ssl.h:1012,
from ../include/config.h:242,
from ../include/common.h:24,
from utils.c:32:
/usr/include/openssl/pqueue.h:73: 錯(cuò)誤:expected specifier-qualifier-list before ‘PQ_64BIT’
/usr/include/openssl/pqueue.h:80: 錯(cuò)誤:expected ‘)’ before ‘priority’
/usr/include/openssl/pqueue.h:89: 錯(cuò)誤:expected declaration specifiers or ‘...’ before ‘PQ_64BIT’
In file included from /usr/include/openssl/ssl.h:1012,
from ../include/config.h:242,
from ../include/common.h:24,
from utils.c:32:
/usr/include/openssl/dtls1.h:92: 錯(cuò)誤:expected specifier-qualifier-list before ‘PQ_64BIT’
make[1]: *** [nrpe] 錯(cuò)誤 1
make[1]: Leaving directory `/home/tianhao/nrpe-2.12/src'
*** Compile finished ***
If the NRPE daemon and client compiled without any errors, you
can continue with the installation or upgrade process.
Read the PDF documentation (NRPE.pdf) for information on the next
steps you should take to complete the installation or upgrade. |
|