Configure make nagios-plugins-release-2.2.1 AIX 7.1
Posted: Wed Feb 21, 2018 8:00 am
Hello,
i tried to Compile nagios-plugins-release-2.2.1 on a AIX 7100-03-04-1441. But i run into a Error. Maybe someone can help me. Here is what i executed:
./tools/setup
./configure --prefix=/apps/nrpe
make
Here is the last output from the make:
depbase=`echo idpriv-droptemp.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; gcc -DHAVE_CONFIG_H -I. -I.. -D_THREAD_SAFE -g -O2 -MT idpriv-droptemp.o -MD -MP -MF $depbase.Tpo -c -o idpriv-droptemp.o idpriv-droptemp.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo localcharset.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; gcc -DHAVE_CONFIG_H -I. -I.. -D_THREAD_SAFE -g -O2 -MT localcharset.o -MD -MP -MF $depbase.Tpo -c -o localcharset.o localcharset.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo glthread/lock.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; gcc -DHAVE_CONFIG_H -I. -I.. -D_THREAD_SAFE -g -O2 -MT glthread/lock.o -MD -MP -MF $depbase.Tpo -c -o glthread/lock.o glthread/lock.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo malloca.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; gcc -DHAVE_CONFIG_H -I. -I.. -D_THREAD_SAFE -g -O2 -MT malloca.o -MD -MP -MF $depbase.Tpo -c -o malloca.o malloca.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo math.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; gcc -DHAVE_CONFIG_H -I. -I.. -D_THREAD_SAFE -g -O2 -MT math.o -MD -MP -MF $depbase.Tpo -c -o math.o math.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo safe-read.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; gcc -DHAVE_CONFIG_H -I. -I.. -D_THREAD_SAFE -g -O2 -MT safe-read.o -MD -MP -MF $depbase.Tpo -c -o safe-read.o safe-read.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo sockets.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; gcc -DHAVE_CONFIG_H -I. -I.. -D_THREAD_SAFE -g -O2 -MT sockets.o -MD -MP -MF $depbase.Tpo -c -o sockets.o sockets.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo sys_socket.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; gcc -DHAVE_CONFIG_H -I. -I.. -D_THREAD_SAFE -g -O2 -MT sys_socket.o -MD -MP -MF $depbase.Tpo -c -o sys_socket.o sys_socket.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo glthread/threadlib.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; gcc -DHAVE_CONFIG_H -I. -I.. -D_THREAD_SAFE -g -O2 -MT glthread/threadlib.o -MD -MP -MF $depbase.Tpo -c -o glthread/threadlib.o glthread/threadlib.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo unistd.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; gcc -DHAVE_CONFIG_H -I. -I.. -D_THREAD_SAFE -g -O2 -MT unistd.o -MD -MP -MF $depbase.Tpo -c -o unistd.o unistd.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo wctype-h.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; gcc -DHAVE_CONFIG_H -I. -I.. -D_THREAD_SAFE -g -O2 -MT wctype-h.o -MD -MP -MF $depbase.Tpo -c -o wctype-h.o wctype-h.c && mv -f $depbase.Tpo $depbase.Po
In file included from ./wctype.h:59,
from wctype.h:59,
from wctype-h.c:4:
/usr/include/wctype.h:64: error: expected declaration specifiers or '...' before 'locale_t'
/usr/include/wctype.h:73: error: expected declaration specifiers or '...' before 'locale_t'
/usr/include/wctype.h:85: error: expected declaration specifiers or '...' before 'locale_t'
/usr/include/wctype.h:86: error: expected declaration specifiers or '...' before 'locale_t'
In file included from wctype.h:59,
from wctype-h.c:4:
./wctype.h:724: error: conflicting types for 'wctype_t'
/usr/opt/freeware/bin/../lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0/include/sys/types.h:123: error: previous declaration of 'wctype_t' was here
./wctype.h:773: error: conflicting types for 'wctrans_t'
/usr/include/wctype.h:52: error: previous declaration of 'wctrans_t' was here
make: The error code from the last command is 1.
Stop.
make: The error code from the last command is 1.
Stop.
make: The error code from the last command is 2.
Stop.
make: The error code from the last command is 1.
Stop.
make: The error code from the last command is 2.
Stop.
Thanks for any Help.
i tried to Compile nagios-plugins-release-2.2.1 on a AIX 7100-03-04-1441. But i run into a Error. Maybe someone can help me. Here is what i executed:
./tools/setup
./configure --prefix=/apps/nrpe
make
Here is the last output from the make:
depbase=`echo idpriv-droptemp.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; gcc -DHAVE_CONFIG_H -I. -I.. -D_THREAD_SAFE -g -O2 -MT idpriv-droptemp.o -MD -MP -MF $depbase.Tpo -c -o idpriv-droptemp.o idpriv-droptemp.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo localcharset.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; gcc -DHAVE_CONFIG_H -I. -I.. -D_THREAD_SAFE -g -O2 -MT localcharset.o -MD -MP -MF $depbase.Tpo -c -o localcharset.o localcharset.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo glthread/lock.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; gcc -DHAVE_CONFIG_H -I. -I.. -D_THREAD_SAFE -g -O2 -MT glthread/lock.o -MD -MP -MF $depbase.Tpo -c -o glthread/lock.o glthread/lock.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo malloca.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; gcc -DHAVE_CONFIG_H -I. -I.. -D_THREAD_SAFE -g -O2 -MT malloca.o -MD -MP -MF $depbase.Tpo -c -o malloca.o malloca.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo math.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; gcc -DHAVE_CONFIG_H -I. -I.. -D_THREAD_SAFE -g -O2 -MT math.o -MD -MP -MF $depbase.Tpo -c -o math.o math.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo safe-read.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; gcc -DHAVE_CONFIG_H -I. -I.. -D_THREAD_SAFE -g -O2 -MT safe-read.o -MD -MP -MF $depbase.Tpo -c -o safe-read.o safe-read.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo sockets.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; gcc -DHAVE_CONFIG_H -I. -I.. -D_THREAD_SAFE -g -O2 -MT sockets.o -MD -MP -MF $depbase.Tpo -c -o sockets.o sockets.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo sys_socket.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; gcc -DHAVE_CONFIG_H -I. -I.. -D_THREAD_SAFE -g -O2 -MT sys_socket.o -MD -MP -MF $depbase.Tpo -c -o sys_socket.o sys_socket.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo glthread/threadlib.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; gcc -DHAVE_CONFIG_H -I. -I.. -D_THREAD_SAFE -g -O2 -MT glthread/threadlib.o -MD -MP -MF $depbase.Tpo -c -o glthread/threadlib.o glthread/threadlib.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo unistd.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; gcc -DHAVE_CONFIG_H -I. -I.. -D_THREAD_SAFE -g -O2 -MT unistd.o -MD -MP -MF $depbase.Tpo -c -o unistd.o unistd.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo wctype-h.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; gcc -DHAVE_CONFIG_H -I. -I.. -D_THREAD_SAFE -g -O2 -MT wctype-h.o -MD -MP -MF $depbase.Tpo -c -o wctype-h.o wctype-h.c && mv -f $depbase.Tpo $depbase.Po
In file included from ./wctype.h:59,
from wctype.h:59,
from wctype-h.c:4:
/usr/include/wctype.h:64: error: expected declaration specifiers or '...' before 'locale_t'
/usr/include/wctype.h:73: error: expected declaration specifiers or '...' before 'locale_t'
/usr/include/wctype.h:85: error: expected declaration specifiers or '...' before 'locale_t'
/usr/include/wctype.h:86: error: expected declaration specifiers or '...' before 'locale_t'
In file included from wctype.h:59,
from wctype-h.c:4:
./wctype.h:724: error: conflicting types for 'wctype_t'
/usr/opt/freeware/bin/../lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0/include/sys/types.h:123: error: previous declaration of 'wctype_t' was here
./wctype.h:773: error: conflicting types for 'wctrans_t'
/usr/include/wctype.h:52: error: previous declaration of 'wctrans_t' was here
make: The error code from the last command is 1.
Stop.
make: The error code from the last command is 1.
Stop.
make: The error code from the last command is 2.
Stop.
make: The error code from the last command is 1.
Stop.
make: The error code from the last command is 2.
Stop.
Thanks for any Help.