nrpe compile on solaris 8

Garrett, Matt M SITI-ITDIEEE matt.garrett at shell.com
Tue May 13 12:18:16 CEST 2003


Folks

I am having problems compiling nrpe 2.0b3 on a solaris 8 system

Errors I am seeing are


cd ./src/; make ; cd ..
gcc -g -O2 -I/usr/local/ssl/include/openssl -DHAVE_CONFIG_H -L/usr/local/ssl/lib  -lssl -lcrypto -o nrpe -lnsl -lsocket nrpe.c utils.c
In file included from ../common/common.h:24,
                 from nrpe.c:21:
../common/config.h:54: syntax error before `typedef'
In file included from /usr/include/sys/types.h:24,
                 from /usr/include/strings.h:11,
                 from ../common/config.h:74,
                 from ../common/common.h:24,
                 from nrpe.c:21:
/usr/include/sys/machtypes.h:33: syntax error before `typedef'
In file included from nrpe.c:21:
../common/common.h:66: parse error before `u_int32_t'
../common/common.h:66: warning: no semicolon at end of struct or union
../common/common.h:69: parse error before `}'
../common/common.h:69: warning: data definition has no type or storage class
In file included from nrpe.c:22:
../common/config.h:54: syntax error before `typedef'
In file included from nrpe.c:23:
nrpe.h:31: syntax error before `typedef'
In file included from utils.h:35,
                 from nrpe.c:24:
../common/config.h:54: syntax error before `typedef'

ETC ETC ETC

In file included from utils.h:35,
                 from utils.c:33:
../common/config.h:54: syntax error before `typedef'
In file included from utils.c:33:
utils.h:38: syntax error before `void'
*** Error code 1
make: Fatal error: Command failed for target `nrpe'
Current working directory /tmp/nrpe-2.0b3/src
*** Error code 1
make: Fatal error: Command failed for target `all'


I am using openssl-0.9.7b , gcc 2.95.3 , nrpe 2.0b3

Any suggestions on what I am doing wrong.

Thanks

Matt
Matthew Garrett
Unix System Support
Shell Information Technology International Limited
Seafield House, North Anderson Drive, Aberdeen AB15 6GZ, United Kingdom

Tel: +44 (0)1224 81 8373 Other Tel: Internal 630 8373
Email: Matt.M.Garrett at is.shell.com
Internet: http://www.shell.com


-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com

_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list