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 > > >rebaseal

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 =

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