Boost logo

Boost Users :

Subject: Re: [Boost-users] [interprocess]Error compiling my program with boost and GCC
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-06-11 16:25:23


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 list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net