New field in service_struct

Samuel Mutel smutel at opennms-fr.org
Tue Mar 23 16:14:45 CET 2010


It's very strange because I do a make clean and a make distclean just 
before start compil process.

Le 23/03/2010 16:04, Andreas Ericsson a écrit :
> On 03/23/2010 03:02 PM, Samuel Mutel wrote:
>    
>> Hello,
>>
>> I want to add in objects.h a field to service_struct so I put after "int
>>       last_state;"
>>        int last_state_before_flapping;
>>
>> For the moment, I just put this line. When I compil Nagios and after a
>> notification, the process crash with Program received signal SIGSEGV,
>> Segmentation fault.
>>
>> Do you have an idea ?
>>
>>      
> If you're using any kind of eventbroker module that access raw service
> objects, they will need to be re-compiled or Nagios will crash.
>
> If you're re-building without making sure all sources that use the
> objects.h header file is recompiled (not just re-linked), you'll get
> a crash.
>
> Other than that, I really can't think of anything.
>
>    


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev




More information about the Developers mailing list