"gmake" errors on Hobbit 4.3 snapshot build

Meserole, Keith W. km at keithm.us
Sun Oct 21 05:08:10 CEST 2007


All, getting an error on the compilation of today's download of 4.3
snapshot.


Platform:  Solaris 10 X86.   Sorry for the long post but I wanted to put
out all the details to start with.

 

Step 1 - Configure completed successfully:   MAKE=gmake
./configure.server

 

# MAKE=gmake ./configure.server

 

Configuration script for Hobbit

 

This script asks a few questions and builds a Makefile to compile Hobbit

 

Checking your make-utility

Checking pre-requisites for building Hobbit

 

Checking for fping ...

Hobbit has a built-in ping utility (hobbitping)

However, it is not yet fully stable and therefore it

may be best to use the external fping utility instead.

I found fping in /usr/local/sbin/fping

Do you want to use it [Y/n] ?

y

Checking to see if '/usr/local/sbin/fping 127.0.0.1' works ...

127.0.0.1 is alive

OK, will use '/usr/local/sbin/fping' for ping tests

NOTE: If you are using an suid-root wrapper, make sure the 'hobbit'

      user is also allowed to run fping without having to enter
passwords.

      For 'sudo', add something like this to your 'sudoers' file:

      hobbit: ALL=(ALL) NOPASSWD: /usr/local/sbin/fping

 

Checking for RRDtool ...

test-rrd.c: In function `main':

test-rrd.c:30: error: too few arguments to function `rrd_graph'

gmake: *** [test-compile] Error 1

Not RRDtool 1.0.x, checking for 1.2.x

Found RRDtool include files in /usr/local/rrdtool-1.2.19/include

Found RRDtool libraries in /usr/local/rrdtool-1.2.19/lib

Linking RRD with PNG library: -L/usr/lib -lpng

y

 

Checking for PCRE ...

 

Found PCRE include files in /usr/local/include

Found PCRE libraries in /usr/local/lib

 

Checking for OpenSSL ...

yFound OpenSSL include files in /usr/local/ssl/include

 

Found OpenSSL libraries in /usr/local/ssl/lib

 

Hobbit can use the OpenSSL library to test SSL-enabled services

like POP3S, IMAPS, NNTPS and TELNETS. If you have the OpenSSL

library installed, I recommend that you enable this.

 

Do you want to be able to test SSL-enabled services (y) ?

 

Checking for LDAP ...

test-ldap.c: In function `main':

test-ldap.c:16: warning: implicit declaration of function `ldap_init'

test-ldap.c:16: warning: assignment makes pointer from integer without a
cast

Found LDAP include files in /usr/include

Found LDAP libraries in /usr/lib

 

Hobbit can use your OpenLDAP LDAP client library to test LDAP servers.

 

Do you want to be able to test LDAP servers (y) ?

Enable experimental support for LDAP/SSL (OpenLDAP 2.x only) (y) ?

y

 

Checking for Large File Support ...

ERROR: LFS support check failed for standard file support

 

Setting up for a Hobbit server

 

What userid will be running Hobbit [hobbit] ?

 

Found passwd entry for user
hobbit:x:102:100::/export/home/hobbit:/bin/sh

 

Where do you want the Hobbit installation [/export/home/hobbit] ?

 

OK, will configure to use /export/home/hobbit as the Hobbit toplevel
directory

 

What URL will you use for the Hobbit webpages [/hobbit] ? 

 

Where to put the Hobbit CGI scripts [/export/home/hobbit/cgi-bin] ? 

(Note: This is the filesystem directory - we will get to the URL
shortly)

 

What is the URL for the Hobbit CGI directory [/hobbit-cgi] ? 

(Note: This is the URL - NOT the filesystem directory)

 

********************** SECURITY NOTICE ****************************

If your Hobbit server is accessible by outsiders, then you should

restrict access to the CGI scripts that handle enable/disable of

hosts, and acknowledging of alerts. The easiest way to do this is

to put these in a separate CGI directory and require a password to

access them.

Even if your Hobbit server is on a secured, internal network, you

may want to have some operations (like disabling a host) be password-

protected - that lets you see who disabled or acknowledged an alert.

 

Where to put the Hobbit Administration CGI scripts
[/export/home/hobbit/cgi-secure] ? 

(Note: This is the filesystem directory - we will get to the URL
shortly)

 

What is the URL for the Hobbit Administration CGI directory
[/hobbit-seccgi] ? 

(Note: This is the URL - NOT the filesystem directory)

 

 

** Note that you may need to modify your webserver configuration.

** After installing, see
/export/home/hobbit/server/etc/hobbit-apache.conf for an example
configuration.

 

To generate Hobbit availability reports, your webserver

must have write-access to a directory below the Hobbit

top-level directory. I can set this up if you tell me

what group-ID your webserver runs with. This is typically

'nobody' or 'apache' or 'www-data'

 

What group-ID does your webserver use [nobody] ?

 

Where to put the Hobbit logfiles [/var/log/hobbit] ? 

 

What is the name of this host [solaris01] ? 

 

What is the IP-address of this host [127.0.0.1] ? 

192.168.0.182

 

Where should I install the Hobbit man-pages (/usr/local/man) ?

 

Using SunOS Makefile settings

 

Created Makefile with the necessary information to build Hobbit

Some defaults are used, so do look at the Makefile before continuing.

 

Configuration complete - now run gmake (GNU make) to build the tools

 

Step 2 - gmake fails.    Gmake version info at the end...

 

 

# gmake

MAKE="gmake" CC="/usr/local/bin/gcc" CFLAGS="-g -O2 -Wall -Wno-unused
-D_REENTRANT  -DSunOS -I. -I`pwd`/include -I/usr/local/include

" LDFLAGS="" `pwd`/build/genconfig.sh

Checking for socklen_t

Checking for snprintf

Checking for vsnprintf

Checking for rpc/rpcent.h

Checking for sys/select.h

Checking for u_int32_t typedef

Checking for PATH_MAX definition

Checking for SHUT_RD/WR/RDWR definitions

config.h created

CC="/usr/local/bin/gcc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT
-DSunOS -I. -I`pwd`/include -I/usr/local/include" LDFLAGS="" 

OSDEF="-DSunOS" RPATHOPT="" PCREINCDIR="-I/usr/local/include"
SSLFLAGS="-DBBGEN_SSL" SSLINCDIR="-I/usr/local/ssl/include " SSLLIBS="

-L/usr/local/ssl/lib -lssl -lcrypto" NETLIBS="-lresolv -lsocket -lnsl"
BBTOPDIR="/export/home/hobbit" BBLOGDIR="/var/log/hobbit" BBH

OSTNAME="solaris01" BBHOSTIP="192.168.0.182" BBHOSTOS="sunos" gmake -C
lib all

gmake[1]: Entering directory `/tmp/4.3/snapshot/lib'

/usr/local/bin/gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
-I/tmp/4.3/snapshot/include -I/usr/local/include -I. -I../incl

ude  -o test-endianness test-endianness.c

/usr/local/bin/gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
-I/tmp/4.3/snapshot/include -I/usr/local/include -I. -I../incl

ude    -c -o osdefs.o osdefs.c

/usr/local/bin/gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
-I/tmp/4.3/snapshot/include -I/usr/local/include -I. -I../incl

ude    -c -o acklog.o acklog.c

/usr/local/bin/gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
-I/tmp/4.3/snapshot/include -I/usr/local/include -I. -I../incl

ude    -c -o availability.o availability.c

/usr/local/bin/gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
-I/tmp/4.3/snapshot/include -I/usr/local/include -I. -I../incl

ude    -c -o calc.o calc.c

/usr/local/bin/gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
-I/tmp/4.3/snapshot/include -I/usr/local/include -I. -I../incl

ude    -c -o cgi.o cgi.c

/usr/local/bin/gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
-I/tmp/4.3/snapshot/include -I/usr/local/include -I. -I../incl

ude    -c -o cgiurls.o cgiurls.c

/usr/local/bin/gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
-I/tmp/4.3/snapshot/include -I/usr/local/include -I. -I../incl

ude    -c -o clientlocal.o clientlocal.c

/usr/local/bin/gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
-I/tmp/4.3/snapshot/include -I/usr/local/include -I. -I../incl

ude    -c -o color.o color.c

/usr/local/bin/gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
-I/tmp/4.3/snapshot/include -I/usr/local/include -I. -I../incl

ude    -c -o digest.o digest.c

/usr/local/bin/gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
-I/tmp/4.3/snapshot/include -I/usr/local/include -I. -I../incl

ude    -c -o encoding.o encoding.c

/usr/local/bin/gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
-I/tmp/4.3/snapshot/include -I/usr/local/include -I. -I../incl

ude  -DBBTOPDIR=\"/export/home/hobbit\" -DBBLOGDIR=\"/var/log/hobbit\"
-DBBHOSTNAME=\"solaris01\" -DBBHOSTIP=\"192.168.0.182\" -DBBH

OSTOS=\"sunos\" -DBUILD_HOME=\"/export/home/hobbit/server\" -c -o
environ.o environ.c

/usr/local/bin/gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
-I/tmp/4.3/snapshot/include -I/usr/local/include -I. -I../incl

ude    -c -o errormsg.o errormsg.c

/usr/local/bin/gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
-I/tmp/4.3/snapshot/include -I/usr/local/include -I. -I../incl

ude  -I/usr/local/include -c -o eventlog.o eventlog.c

/usr/local/bin/gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
-I/tmp/4.3/snapshot/include -I/usr/local/include -I. -I../incl

ude    -c -o files.o files.c

/usr/local/bin/gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
-I/tmp/4.3/snapshot/include -I/usr/local/include -I. -I../incl

ude  -I/usr/local/include -c -o headfoot.o headfoot.c

/usr/local/bin/gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
-I/tmp/4.3/snapshot/include -I/usr/local/include -I. -I../incl

ude    -c -o hobbitrrd.o hobbitrrd.c

hobbitrrd.c: In function `hobbit_graph_text':

hobbitrrd.c:287: warning: int format, time_t arg (arg 3)

hobbitrrd.c:287: warning: int format, time_t arg (arg 4)

/usr/local/bin/gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
-I/tmp/4.3/snapshot/include -I/usr/local/include -I. -I../incl

ude    -c -o holidays.o holidays.c

/usr/local/bin/gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
-I/tmp/4.3/snapshot/include -I/usr/local/include -I. -I../incl

ude    -c -o htmllog.o htmllog.c

/usr/local/bin/gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
-I/tmp/4.3/snapshot/include -I/usr/local/include -I. -I../incl

ude    -c -o ipaccess.o ipaccess.c

/usr/local/bin/gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
-I/tmp/4.3/snapshot/include -I/usr/local/include -I. -I../incl

ude  -I/usr/local/include -c -o loadalerts.o loadalerts.c

/usr/local/bin/gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
-I/tmp/4.3/snapshot/include -I/usr/local/include -I. -I../incl

ude  -c -o loadhosts.o loadhosts.c

loadhosts.c: In function `bbh_find_item':

loadhosts.c:216: warning: return discards qualifiers from pointer target
type

loadhosts.c: In function `bbh_item_id':

loadhosts.c:593: warning: return discards qualifiers from pointer target
type

/usr/local/bin/gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
-I/tmp/4.3/snapshot/include -I/usr/local/include -I. -I../incl

ude    -c -o loadnkconf.o loadnkconf.c

/usr/local/bin/gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
-I/tmp/4.3/snapshot/include -I/usr/local/include -I. -I../incl

ude    -c -o locator.o locator.c

In file included from /usr/include/sys/signal.h:34,

                 from /usr/include/signal.h:26,

                 from locator.c:36:

/usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"

/usr/include/sys/siginfo.h:292: error: parse error before '}' token

/usr/include/sys/siginfo.h:294: error: parse error before '}' token

/usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"

/usr/include/sys/siginfo.h:392: error: conflicting types for `__proc'

/usr/include/sys/siginfo.h:261: error: previous declaration of `__proc'

/usr/include/sys/siginfo.h:398: error: conflicting types for `__fault'

/usr/include/sys/siginfo.h:267: error: previous declaration of `__fault'

/usr/include/sys/siginfo.h:404: error: conflicting types for `__file'

/usr/include/sys/siginfo.h:273: error: previous declaration of `__file'

/usr/include/sys/siginfo.h:420: error: conflicting types for `__prof'

/usr/include/sys/siginfo.h:287: error: previous declaration of `__prof'

/usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl'

/usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl'

/usr/include/sys/siginfo.h:426: error: parse error before '}' token

/usr/include/sys/siginfo.h:428: error: parse error before '}' token

/usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t"

/usr/include/sys/siginfo.h:437: error: parse error before '}' token

In file included from /usr/include/signal.h:26,

                 from locator.c:36:

/usr/include/sys/signal.h:85: error: parse error before "siginfo_t"

In file included from locator.c:36:

/usr/include/signal.h:111: error: parse error before "siginfo_t"

/usr/include/signal.h:113: error: parse error before "siginfo_t"

gmake[1]: *** [locator.o] Error 1

gmake[1]: Leaving directory `/tmp/4.3/snapshot/lib'

gmake: *** [lib-build] Error 2

 

 

Gmake information

# which gmake

/usr/sfw/bin/gmake

# gmake -v

GNU Make 3.80

Copyright (C) 2002  Free Software Foundation, Inc.

 

 

Any thoughts?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20071020/24a979b8/attachment.html>


More information about the Xymon mailing list