[Nagiosplug-help] check_http.c:64: error: expected '=', ',', '; ', 'asm' or '__attribute__' before '*' token
Thomas Guyot-Sionnest
dermoth at aei.ca
Wed Aug 20 00:49:05 CEST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 19/08/08 12:10 PM, Guillén wrote:
> Hi, good morning:
>
>
>
> I was tried install nagios-plugins.1.4.12 but I has the next error:
>
>
>
> if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H
> -I. -I. -I .. -I.. -I../lib -I../gl -I../intl
> -I/usr/include -g -O2 -MT check_http.o - MD -MP
> -MF ".deps/check_http.Tpo" -c -o check_http.o check_http.c; \
>
> then mv -f ".deps/check_http.Tpo" ".deps/check_http.Po"; else rm
> -f ".de ps/check_http.Tpo"; exit 1; fi
>
> check_http.c:64: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
> before ‘*’ token
It means that the compiler did not recognize the X509 type, which is
defined by OpenSSL. You may be missing OpenSSL libraries or could have a
broken installation around.
I assume that you ran the configure script on the same machine you're
compiling on... Try the following:
* Make sure OpenSSL is installed properly
* Force the correct path to openssl with "--with-openssl", ex is OpenSSL
in installed in /usr:
./configure --with-openssl=/usr
* If you don't need SSL, disable it:
./configure --without-openssl
- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFIq03h6dZ+Kt5BchYRAp+JAKCfQK3pUnPpHDwIHftzstfYPKLxXACfUtkX
lzXnAGBvIfnlv/mQMCncUto=
=S5A7
-----END PGP SIGNATURE-----
More information about the Help
mailing list