Re: problem with fork() and temp dlls

2012-06-29 Thread Lenci Damien
Looks like fork problems to me. Perhaps you need to rebase the DLLs you're building? See the link below for more info: I've already done that, sorry I should have mentioned it. I made a simple testcase reproducing the module loading algorithm of nagios : File mydll.c is only: int testvar =

Re: problem with fork() and temp dlls

2012-06-29 Thread marco atzeri
On 6/29/2012 11:56 AM, Lenci Damien wrote: Looks like fork problems to me. Perhaps you need to rebase the DLLs you're building? See the link below for more info: I've already done that, sorry I should have mentioned it. just to crosscheck, did you ran only rebaseall or rebaseall -T

Re: problem with fork() and temp dlls

2012-06-29 Thread Lenci Damien
Looks like fork problems to me. Perhaps you need to rebase the DLLs you're building? See the link below for more info: I've already done that, sorry I should have mentioned it. just to crosscheck, did you ran only rebaseall or rebaseall -T list_of_my_built_files rebaseall, as

Re: problem with fork() and temp dlls

2012-06-29 Thread marco atzeri
On 6/29/2012 2:07 PM, Lenci Damien wrote: Looks like fork problems to me. Perhaps you need to rebase the DLLs you're building? See the link below for more info: I've already done that, sorry I should have mentioned it. just to crosscheck, did you ran only rebaseall or rebaseall -T

problem with fork() and temp dlls

2012-06-28 Thread Lenci Damien
Hello, I am currently trying to port Nagios on Cygwin and I'm having a issue (among others ^^) when trying to use modules. Here is how Nagios loads modules : - Create a temporary file using mkstemp() - Copy module into this temp file - Load module from temp file with dlopen() - Delete temp file

Re: problem with fork() and temp dlls

2012-06-28 Thread Larry Hall (Cygwin)
On 6/28/2012 5:08 AM, Lenci Damien wrote: Hello, I am currently trying to port Nagios on Cygwin and I'm having a issue (among others ^^) when trying to use modules. Here is how Nagios loads modules : - Create a temporary file using mkstemp() - Copy module into this temp file - Load module