gmake complaining about sys/mman.h

walt wa1ter at myrealbox.com
Sat Apr 15 14:39:23 PDT 2006


Jeremy C. Reed wrote:
> On Sat, 15 Apr 2006, walt wrote:
> 
>> I did two things this morning:  I updated my DragonFly-current
>> machine, and I then I updated pkgsrc.
>>
>> Now, when I try to build gedit I get this error:
>>
>> In file included from gedit-document-loader.c:35:
>> /usr/include/sys/mman.h:142: error: syntax error before "mode_t"
>> /usr/include/sys/mman.h:145: error: syntax error before "size_t"

> pkgsrc/editors/gedit also was updated within past few days.
> 
> I haven't looked at gedit-document-loader.c but maybe it needs to include 
> <sys/types.h>.

Yes, it already does.





More information about the Users mailing list