mountlist.c
Hammond, Robin-David%KB3IEN
muaddib at databit7.com
Fri Jan 13 21:38:21 CET 2006
After upgrading gcc to 3.3.3 i can nolonger compile the plugins, anyone
seen this before?
bash-2.05b# make
make all-recursive
Making all in intl
Making all in lib
make all-am
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl -g -O2 -MT
mountlist.o -MD -MP -MF ".deps/mountlist.Tpo" -c -o mountlist.o
mountlist.c;
then mv -f ".deps/mountlist.Tpo" ".deps/mountlist.Po"; else rm -f
".deps/mountlist.Tpo"; exit 1; fi
mountlist.c: In function `fstype_to_string':
mountlist.c:187: error: case label does not reduce to an integer constant
mountlist.c:203: error: case label does not reduce to an integer constant
mountlist.c:207: error: case label does not reduce to an integer constant
mountlist.c:211: error: case label does not reduce to an integer constant
mountlist.c:215: error: case label does not reduce to an integer constant
mountlist.c:223: error: case label does not reduce to an integer constant
mountlist.c:227: error: case label does not reduce to an integer constant
mountlist.c:231: error: case label does not reduce to an integer constant
mountlist.c:235: error: case label does not reduce to an integer constant
mountlist.c:239: error: case label does not reduce to an integer constant
mountlist.c:243: error: case label does not reduce to an integer constant
mountlist.c:247: error: case label does not reduce to an integer constant
mountlist.c:251: error: case label does not reduce to an integer constant
mountlist.c:255: error: case label does not reduce to an integer constant
mountlist.c:263: error: case label does not reduce to an integer constant
mountlist.c: At top level:
mountlist.c:274: warning: `struct statfs' declared inside parameter list
mountlist.c:274: warning: its scope is only this definition or
declaration, which is probably not what you want
mountlist.c: In function `fsp_to_string':
mountlist.c:279: error: dereferencing pointer to incomplete type
mountlist.c: In function `read_filesystem_list':
mountlist.c:387: warning: passing arg 1 of `getmntinfo' from incompatible
pointer type
mountlist.c:390: error: increment of pointer to unknown structure
mountlist.c:390: error: arithmetic on pointer to an incomplete type
mountlist.c:392: warning: passing arg 1 of `fsp_to_string' from
incompatible pointer type
mountlist.c:395: error: dereferencing pointer to incomplete type
mountlist.c:396: error: dereferencing pointer to incomplete type
*** Error code 1
Microsoft: Where do you want to go tomorrow?
Linux: Where do you want to go today?
BSD: Are you guys coming, or what?
Robin-David Hammond KB3IEN
www.aresnyc.org.
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
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