[Pkg-nagios-devel] Bug#336639: nagios-plugins: ftbfs [sparc] check_game.c:75: error: 'PATH_TO_QSTAT' undeclared

Blars Blarson blarson at blars.org
Mon Oct 31 16:39:15 UTC 2005


Package: nagios-plugins
Version: 1.4.2-4
Severity: serious
Justification: fails to build from source

nagios-plugins failed to build on a sparc buildd, but did build on my
sparc pbuilder.


if sparc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl -I/usr/include/ldap -I/usr/include/postgresql   -I/include -I/include  -Wall -g -O2 -MT check_icmp.o -MD -MP -MF ".deps/check_icmp.Tpo" -c -o check_icmp.o check_icmp.c; \
then mv -f ".deps/check_icmp.Tpo" ".deps/check_icmp.Po"; else rm -f ".deps/check_icmp.Tpo"; exit 1; fi
sparc-linux-gnu-gcc  -Wall -g -O2  -L. -R/lib -L/lib -o check_icmp  check_icmp.o -lnsl -lresolv -I/include
sparc-linux-gnu-gcc: unrecognized option '-R/lib'
if sparc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl -I/usr/include/ldap -I/usr/include/postgresql   -I/include -I/include  -Wall -g -O2 -MT check_game.o -MD -MP -MF ".deps/check_game.Tpo" -c -o check_game.o check_game.c; \
then mv -f ".deps/check_game.Tpo" ".deps/check_game.Po"; else rm -f ".deps/check_game.Tpo"; exit 1; fi
check_game.c: In function 'main':
check_game.c:75: error: 'PATH_TO_QSTAT' undeclared (first use in this function)
check_game.c:75: error: (Each undeclared identifier is reported only once
check_game.c:75: error: for each function it appears in.)
make[3]: *** [check_game.o] Error 1




More information about the Pkg-nagios-devel mailing list