[ros-dev] Re: [ros-svn] [navaraf] 17154: Fix mutex unlocking in NpfsWaiterThread and add ASSERT.

Hartmut Birr hartmut.birr at gmx.de
Tue Aug 9 00:08:49 CEST 2005


Hartmut Birr wrote:

>Hartmut Birr wrote:
>
>  
>
>>WaxDragon wrote:
>>
>> 
>>
>>    
>>
>>>Hartmut, what version of ros are you building on, and what version are
>>>you building?  I'm trying to build with 17198, and I am building a
>>>exported working copy from a few weeks ago.  It always hangs detecting
>>>pipe support.  Included is a screenshot of what happens and here is a
>>>piece of the log:
>>>
>>>   
>>>
>>>      
>>>
>>I get the same with the new build system. I will revert r17156 and 17157
>>and test it again.
>>
>>    
>>
>
>Hi,
>
>I think the problem has nothing to do with Filip's npfs changes. Rbuild
>hangs after calling  system('gcc -pipe -c
>tools\rbuild\backend\mingw\pipe_detection.c -o
>tools\rbuild\backend\mingw\pipe_detection.o'). It works as a command on
>the prompt and it works without the '-pipe' switch.
>
>- Hartmut
>_______________________________________________
>Ros-dev mailing list
>Ros-dev at reactos.com
>http://reactos.com:8080/mailman/listinfo/ros-dev
>
>
>  
>
Hi,

I've written a little test program (see below). If I compile it as c
program, it works . If I compile it as c++ program, it hangs. Any ideas?
Both versions work on WinXP.

- Hartmut

#include <stdlib.h>
#include <stdio.h>
#include <windows.h>


int main(int argc, char* argv[])
{
   int result;

   printf("system\n");

   result = system("gcc -pipe -c
tools\\rbuild\\backend\\mingw\\pipe_detection.c -o
tools\\rbuild\\backend\\mingw\\pipe_detection.o 1>NUL 2>NUL");

   printf("done (%d)\n", result);
   return 0;
}




More information about the Ros-dev mailing list