[Nagiosplug-devel] solaris10+signal.h

Селявка Евгений evg.selyavka at gmail.com
Tue May 24 15:24:17 CEST 2011


Could anyone help me please. Can't compile nagios-plugins-1.4.15 under 
Solaris10 SPARC.

*some of config.log:*

configure:16915: result: no

configure:16919: checking signal.h presence

configure:16934: gcc -E  -I/usr/local/ssl/include conftest.c

configure:16940: $? = 0

configure:16954: result: yes

configure:16967: WARNING: signal.h: present but cannot be compiled

configure:16969: WARNING: signal.h:     check for missing prerequisite 
headers?

configure:16971: WARNING: signal.h: see the Autoconf documentation

configure:16973: WARNING: signal.h:     section "Present But Cannot Be 
Compiled"

configure:16975: WARNING: signal.h: proceeding with the preprocessor's 
result

configure:16977: WARNING: signal.h: in the future, the compiler will 
take precedence

configure:16982: checking for signal.h

configure:16990: result: yes

*some of error:*

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

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

                  from ../plugins/common.h:105,

                  from utils_base.c:27:

/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 ../plugins/common.h:105,

                  from utils_base.c:27:

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

In file included from ../plugins/common.h:105,

                  from utils_base.c:27:

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

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

make[3]: *** [utils_base.o] Error 1

make[3]: Leaving directory 
`/export/home/exs/sources/nagios-plugins-1.4.15/lib'

make[2]: *** [all-recursive] Error 1

make[2]: Leaving directory 
`/export/home/exs/sources/nagios-plugins-1.4.15/lib'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/export/home/exs/sources/nagios-plugins-1.4.15'

make: *** [all] Error 2

*uname -a*
SunOS vgpsk 5.10 Generic_118833-17 sun4u sparc SUNW,Sun-Fire-V210

-- 
С уважением,
Селявка Евгений

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nagios-plugins.org/archive/devel/attachments/20110524/6c51503b/attachment.html>


More information about the Devel mailing list