[Nagiosplug-devel] [ nagiosplug-Bugs-1087087 ] compile error in check_http.c in 1.4alpha3

SourceForge.net noreply at sourceforge.net
Fri Dec 17 12:49:29 CET 2004


Bugs item #1087087, was opened at 2004-12-17 08:53
Message generated for change (Comment added) made by madhamster
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1087087&group_id=29880

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: madhamster (madhamster)
Assigned to: Nobody/Anonymous (nobody)
Summary: compile error in check_http.c in 1.4alpha3

Initial Comment:
Using the exact same PATH as I compile 1.3.1 and
1.4alpha2, I cannot get 1.4alpha3 to compile (1.3.1 and
1.4alpha2 compiled just fine).  The './configure' ran
normally, but I get errors after I run 'make' during
compile time when it gets to 1.4alpha3's check_http.c:

<--snip-->
if gcc -DLOCALEDIR=\/usr/local/nagios/share/locale\
-DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl
-I/usr/include/ldap -I/include   -I/include
-I/usr/kerberos/include  -g -O2 -MT check_dummy.o -MD
-MP -MF ".deps/check_dummy.Tpo" -c -o check_dummy.o
check_dummy.c; then mv -f ".deps/check_dummy.Tpo"
".deps/check_dummy.Po"; else rm -f
".deps/check_dummy.Tpo"; exit 1; fi
gcc  -g -O2  -L. -o check_dummy  check_dummy.o utils.o
../lib/libnagiosplug.a ../lib/libcoreutils.a -lssl -lcrypto
if gcc -DLOCALEDIR=\/usr/local/nagios/share/locale\
-DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl
-I/usr/include/ldap -I/include   -I/include
-I/usr/kerberos/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
".deps/check_http.Tpo"; exit 1; fi
check_http.c:64: syntax error before '*' token
check_http.c:64: warning: data definition has no type
or storage class
check_http.c:65: syntax error before '*' token
check_http.c:65: warning: data definition has no type
or storage class
check_http.c:66: syntax error before '*' token
check_http.c:66: warning: data definition has no type
or storage class
check_http.c:68: syntax error before '*' token
check_http.c: In function `main':
check_http.c:172: warning: assignment makes pointer
from integer without a cast
check_http.c: In function `check_http':
check_http.c:737: warning: assignment makes pointer
from integer without a cast
check_http.c:821: `SSL_ERROR_SSL' undeclared (first use
in this function)
check_http.c:821: (Each undeclared identifier is
reported only once
check_http.c:821: for each function it appears in.)
check_http.c: In function `connect_SSL':
check_http.c:1180: `SSL_METHOD' undeclared (first use
in this function)
check_http.c:1180: `meth' undeclared (first use in this
function)
check_http.c:1191: warning: assignment makes pointer
from integer without a cast
check_http.c:1208: warning: assignment makes pointer
from integer without a cast
check_http.c: At top level:
check_http.c:1232: syntax error before '*' token
check_http.c: In function `check_certificate':
check_http.c:1234: `ASN1_STRING' undeclared (first use
in this function)
check_http.c:1234: `tm' undeclared (first use in this
function)
check_http.c:1241: `certificate' undeclared (first use
in this function)
check_http.c:1244: `V_ASN1_UTCTIME' undeclared (first
use in this function)
make[2]: *** [check_http.o] Error 1
make[2]: Leaving directory
`/usr/local/src/nagios-plugins-1.4.0-alpha3/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/usr/local/src/nagios-plugins-1.4.0-alpha3'
make: *** [all] Error 2
<--snip-->

----------------------------------------------------------------------

>Comment By: madhamster (madhamster)
Date: 2004-12-17 14:48

Message:
Logged In: YES 
user_id=1179843

Just to clarify, this is on a RedHat EL 3 machine.  1.3.1
and 1.4alpha2 plug-ins compile just fine, but 1.4alpha3 does
not.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1087087&group_id=29880




More information about the Devel mailing list