From: Ben C. <bcl...@pe...> - 2005-02-07 16:35:28
|
Yves wrote: >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLIBDIR=\"/opt/nagios/lib\" >>-DLOCALSTATEDIR=\"/opt/nagios/var\" -DSYSCONFDIR=\"/opt/nagios/etc\" >>-DPREFIX=\"/opt/nagios\" -I/usr/include/glib-2.0 >>-I/usr/lib/glib-2.0/include -DLOCALEDIR=\"/opt/nagios/share/locale\" >>-I.. -g -O2 -Wall -MT libpp_common_la-config_file.lo -MD -MP -MF >>.deps/libpp_common_la-config_file.Tpo -c config_file.c -fPIC -DPIC -o >>.libs/libpp_common_la-config_file.o >>config_file.c: In function `config_definition_init': >>config_file.c:105: warning: null argument where non-null required (arg 1) >>config_file.c:105: warning: null argument where non-null required (arg 1) >>config_file.c:105: warning: null argument where non-null required (arg 2) >>config_file.c:105: warning: null argument where non-null required (arg 2) >>config_file.c:105: warning: null argument where non-null required (arg 1) >>config_file.c:105: warning: null argument where non-null required (arg 1) >>config_file.c:105: warning: null argument where non-null required (arg 2) > > > Ben, could you have a look at that ? It makes no sense. Line 105 is no different to 104 or 106, which work. These have not changed in months. Further, if I execute your exact gcc command on my setup, it works. So the problem is not programmatical. May I ask what version of gcc you are using? Any other ideas Yves? Ben. |