[collectd] queries regarding installation of collectd tool in solaris
Florian Forster
octo at verplant.org
Tue May 29 09:43:22 CEST 2007
Hi,
On Mon, May 28, 2007 at 05:50:35PM +0530, bhu vana wrote:
> Im trying to install the collectd (version - collectd-4.0.0-rc10) in
> the solaris machine.
>
> i have run the ./configure.
> While running "make", im getting the following error
>
> "email.c", line 437: warning: implicit function declaration: strtok_r
For some weird reason the Solaris libc only declares `strtok_r' when
`_REENTRANT' or `__EXTENSIONS__' are defined or `_POSIX_C_SOURCE' is
defined to be greater than or equal to 199506.
`getgrnam_r' (the prototype mismatch) can be avoided by defining
`_POSIX_PTHREAD_SEMANTICS' or define `_POSIX_C_SOURCE' greater then or
equal to 199506.
Thus, try running configure again and tell it to define
`_POSIX_C_SOURCE':
-- 8< --
$ make clean
$ ./configure [other options] CFLAGS="-D_POSIX_C_SOURCE=199506L"
$ make all
-- >8 --
> CAN ANYONE HELP ME OUT...
Sure thing. Please be aware that writing in all caps symbolizes shouting
and is considered somewhat rude by those weirdoes on the internetz.
Regards,
-octo
--
Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
http://verplant.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20070529/53a1aa8b/attachment.pgp
More information about the collectd
mailing list