Steven Watanabe a écrit :
AMDG

Laurence Chambenois wrote:
I use boost 1.38.
I try to compile my program that includes

<boost/thread.hpp>
<boost/interprocess/sync/named_recursive_mutex.hpp>

I didn't have any problem to compile boost libraries. But when I compile my program, I've got the following error :

<snip>
*/usr/include/sys/mman.h:145: error: type specifier omitted for parameter `
  mode_t'

I understand that mode_t is an undefined type. But as mman.h is a standard include file, I don't understand why.
Can somebody gives me a help ?
I surely forget something important but I don't know what.
For informations, I use GCC 3.3.3.

Thanks for yours answers

What operating system are you using?
Do interprocess' tests pass?
You can check by running bjam in
$BOOST_ROOT/libs/interprocess/test

In Christ,
Steven Watanabe

_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users

Thank you for your answer.

The operating system is a
The interprocess tests does not pass. I did what you tell me and I have plenty of errors during compilation.
The problem is that I could test this on another system, but my program has to run on the system I've mentionned.

Is it a problem with Glibc ? or GCC ?
Do I have to upgrade them ?

Laurence