[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#721886: FTBFS on kfreebsd-*: glibtop_machine.h:26:19: fatal error: nlist.h: No such file or directory



On Thu, Sep  5, 2013 at 19:40:18 +0200, Michael Biebl wrote:

> Am 05.09.2013 19:29, schrieb Julien Cristau:
> > On Thu, Sep  5, 2013 at 17:50:18 +0200, Michael Biebl wrote:
> >> Am 05.09.2013 17:29, schrieb Robert Millan:
> >>> -#include <nlist.h>
> >>> +#include <bsd/nlist.h>
> >>
> >> Does that also work with FreeBSD so can be pushed upstream?
> >> Apparently libgtop2 has native FreeBSD support and I wonder if nslist.h
> >> is using a different location on  FreeBSD.
> >>
> > In xorg-server added `pkg-config --cflags libbsd-overlay` to CPPFLAGS
> > from debian/rules.  Lets the code expecting bsd headers on bsd work
> > without patching.
> 
> That's confusing tbh. Why is libbsd-dev using different paths in the
> first place which requires such hacks?
> 
Because the normal bsd paths would conflict with gnu libc-dev headers
(maybe not for nlist.h, but for others).

Cheers,
Julien

Attachment: signature.asc
Description: Digital signature


Reply to: