Hello,

Joan Lledó, le jeu. 10 oct. 2024 17:05:43 +0200, a ecrit:
> It fails because apparently we define the `BSD` macro. I checked it and it
> comes from glibc:
> 
> https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/mach/hurd/bits/param.h;h=48eeb7ddf5d62942d15705e0bcc19db05ed28fc7;hb=HEAD#l63
> 
> So, according to the comment above the macro definition, we claim to be
> compatible with BSD, is that still true?

Yes, because the GNU/Hurd interfaces were meant to follow the BSD
interfaces.

> dchpcd reads the `BSD` macro from multiple places across its codebase. If it
> fails to compile, it's because we are not compatible apparently.
> 
> How can we fix this?

We'd probably add && (!defined(__GNU__)) in the dhcpcd source code.

Samuel

Reply via email to