From: Nick S. <ni...@sm...> - 2005-02-10 21:41:14
|
Yves wrote: >>Nick, >> >>I am sorry but I am out of options. I can't see anything wrong with the >>code, or replicate your error. > > >>>>>>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) > > > I have one last idea : suppose there is a wrong character in that line. A character you > cannot see. It sometimes happen when you copy/paste code from unsafe sources. > > Either edit config_file.c with a hex editor and check that all the characters are > allowed, or delete that line and type it again by hand. No copy/paste. > > Also try to remove that line to see if there are still warnings. > > This is my last idea, but if something strange happen, it can give us other ideas... :) Well, I tried commenting out the first line that reports the error, and typing in by hand again above... and exactly the same problem. All very odd. Howerer, since it's just a warning, compilation went ahead OK and I installed it all OK, and it;s been collecting data that I can graph for a few days now. I'll try and poke around a bit later to see if I can pin it down further. I was going to say it's not caused any problems (and it probably is unrelated), but I just found that: The first database purge I attempted: Marked a host for deleting that I am no longer capturing data for. Then ran perfparse-db-purge, and got: +-----------------------------------------------------------------------------+ | Deleting data flagged for deletionAn error occured with the SQL: "DELETE perfdata_service FROM perfdata_service,perfdata_host WHERE perfdata_service.host_name = perfdata_host.host_name AND perfdata_host.is_deleted = 1" Failure Message: "Cannot delete or update a parent row: a foreign key constraint fails" Is this USER ERROR? ;-) Cheers Nick |