[Nagiosplug-help] checking for socklen_t... no

Charles H. Baker cbaker at nuvox.com
Thu Nov 19 20:45:19 CET 2009


I've tried to compile nagios plugins 1.4.13 and 1.4.14 on Sparc Solaris
10. When I run configure it halts with the following error. Has anyone
encountered this? Fixed it? I've googled but found no definitive answer.
Thanks.

checking for socklen_t... no
checking for socklen_t equivalent... configure: error: Cannot find a
type to use in place of socklen_t

The config.log shows

In file included from /usr/include/sys/socket.h:45,
                 from conftest.c:54:
/usr/include/netinet/in.h:54: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'socklen_t'
/usr/include/netinet/in.h:60: error: storage class specified for
parameter 'Psocklen_t'
In file included from /usr/include/sys/t_lock.h:18,
                 from /usr/include/sys/vnode.h:40,
                 from /usr/include/sys/stream.h:22,
                 from /usr/include/netinet/in.h:66,
                 from /usr/include/sys/socket.h:45,
                 from conftest.c:54:
/usr/include/sys/machlock.h:37: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'disp_lock_t'
/usr/include/sys/machlock.h:56: error: storage class specified for
parameter 'hres_lock'
In file included from /usr/include/sys/t_lock.h:19,
                 from /usr/include/sys/vnode.h:40,
                 from /usr/include/sys/stream.h:22,
                 from /usr/include/netinet/in.h:66,
                 from /usr/include/sys/socket.h:45,
                 from conftest.c:54:
/usr/include/sys/param.h:445: error: storage class specified for
parameter '_sysconf'
/usr/include/sys/param.h:445: error: redefinition of parameter
'_sysconf'
/usr/include/sys/iso/signal_iso.h:83: error: previous definition of
'_sysconf' was here
In file included from /usr/include/sys/t_lock.h:20,
                 from /usr/include/sys/vnode.h:40,
                 from /usr/include/sys/stream.h:22,
                 from /usr/include/netinet/in.h:66,
                 from /usr/include/sys/socket.h:45,
                 from conftest.c:54:
/usr/include/sys/mutex.h:44: error: storage class specified for
parameter 'kmutex_type_t'
/usr/include/sys/mutex.h:52: error: storage class specified for
parameter 'kmutex_t'
In file included from /usr/include/sys/t_lock.h:21,
                 from /usr/include/sys/vnode.h:40,
                 from /usr/include/sys/stream.h:22,
                 from /usr/include/netinet/in.h:66,
                 from /usr/include/sys/socket.h:45,
                 from conftest.c:54:
/usr/include/sys/rwlock.h:26: error: storage class specified for
parameter 'krw_type_t'
/usr/include/sys/rwlock.h:31: error: storage class specified for
parameter 'krw_t'
/usr/include/sys/rwlock.h:35: error: storage class specified for
parameter 'krwlock_t'
In file included from /usr/include/sys/t_lock.h:22,
                 from /usr/include/sys/vnode.h:40,
                 from /usr/include/sys/stream.h:22,
                 from /usr/include/netinet/in.h:66,
                 from /usr/include/sys/socket.h:45,
                 from conftest.c:54:
/usr/include/sys/semaphore.h:28: error: storage class specified for
parameter 'ksema_type_t'
/usr/include/sys/semaphore.h:32: error: storage class specified for
parameter 'ksema_t'
In file included from /usr/include/sys/t_lock.h:23,
                 from /usr/include/sys/vnode.h:40,
                 from /usr/include/sys/stream.h:22,
                 from /usr/include/netinet/in.h:66,
                 from /usr/include/sys/socket.h:45,


This email and any attachments ("Message") may contain legally privileged and/or confidential information.  If you are not the addressee, or if this Message has been addressed to you in error, you are not authorized to read, copy, or distribute it, and we ask that you please delete it (including all copies) and notify the sender by return email.  Delivery of this Message to any person other than the intended recipient(s) shall not be deemed a waiver of confidentiality and/or a privilege.




More information about the Help mailing list