[Nagiosplug-help] check_smtp.c error in make

crash3m crash3m at gmail.com
Thu Aug 10 17:05:45 CEST 2006


Sorry, sending a reply at ~3am wasnt the brightest idea ;)

what happens if you issue ./configure --with-nagios-group=www
--without-openssl (leaving off the --enable-emulate-getaddrinfo
option)?

M

On 8/10/06, Michael Shoemaker <shoemake at ispalliance.net> wrote:
> the plugins would install with the 1.4.2 version.
> This is for check_smtp, not check_snmp.
>
> I however will look to make sure that snmp is up to date on there.
>
> On Thursday 10 August 2006 3:39 am, crash3m wrote:
> > Michael,
> >
> > I know next to nothing about solaris, but am farmiliar with nagios and
> > *nix (atleast linux) query the system to see if net-snmp and/or the
> > net-snmp development package. A quick google for solaris net-snmp
> > turned up http://net-snmp.sourceforge.net/docs/README.solaris.html
> > which should point you in the right direction.
> >
> >
> > Matt
> >
> > On 8/9/06, Michael Shoemaker <shoemake at ispalliance.net> wrote:
> > > I am having some issues trying to get the 1.4.3 plugins to compile on
> > > this solaris 5.7 system.
> > >
> > > the relavant configure line and error are below. Anyone have any ideas?
> > >
> > > ./configure --with-nagios-group=www --without-openssl
> > > --enable-emulate-getaddrinfo
> > >
> > > gcc -Wall -g -O2 -o check_real check_real.o netutils.o utils.o
> > > getaddrinfo.o gethostbyname.o  -L/usr/src/nagios-plugins-1.4.3/plugins
> > > ../lib/libnagiosplug.a ../lib/libcoreutils.a -lsocket -lresolv
> > > ../intl/libintl.a -lgen -lnsl source='check_smtp.c' object='check_smtp.o'
> > > libtool=no \
> > > DEPDIR=.deps depmode=gcc /bin/ksh ../depcomp \
> > > gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I.
> > > -I. -I.. -I.. -I../lib -I../intl      -Wall -g -O2 -c check_smtp.c
> > > check_smtp.c: In function `main':
> > > check_smtp.c:179: warning: implicit declaration of function
> > > `gethostbyname' check_smtp.c:179: warning: assignment makes pointer from
> > > integer without a cast
> > > check_smtp.c:181: dereferencing pointer to incomplete type
> > > make[3]: *** [check_smtp.o] Error 1
> > > make[3]: Leaving directory `/usr/share/src/nagios-plugins-1.4.3/plugins'
> > > make[2]: *** [all-recursive] Error 1
> > > make[2]: Leaving directory `/usr/share/src/nagios-plugins-1.4.3/plugins'
> > > make[1]: *** [all-recursive] Error 1
> > > make[1]: Leaving directory `/usr/share/src/nagios-plugins-1.4.3'
> > > make: *** [all] Error 2
> > >
> > > -------------------------------------------------------------------------
> > > Using Tomcat but need to do more? Need to support web services, security?
> > > Get stuff done quickly with pre-integrated technology to make your job
> > > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
> > > Geronimo
> > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > > _______________________________________________
> > > Nagiosplug-help mailing list
> > > Nagiosplug-help at lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> > >
> > > ::: Please include plugins version (-v) and OS when reporting any issue.
> > > ::: Messages without supporting info will risk being sent to /dev/null
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> ::: Please include plugins version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>


-- 
Got gmail? I do hahaha




More information about the Help mailing list