bug-hurd
[Top][All Lists]
Advanced

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

Re: gnumach "NULL undeclared" build error


From: Samuel Thibault
Subject: Re: gnumach "NULL undeclared" build error
Date: Sat, 6 Jul 2024 10:44:14 +0200
User-agent: NeoMutt/20170609 (1.8.3)

Hello,

Nathan Dehnel, le sam. 06 juil. 2024 02:55:15 -0500, a ecrit:
> Hello, I'm in the process of setting up CI for Hurd using Guix. What
> I'm doing is taking the upstream Guix package definitions and
> modifying them to build from a git checkout. I ran into this error
> trying to build gnumach. Is it being compiled wrong?

>                 from ./include/sys/types.h:29,

So this does include include/sys/types.h, but

> ddb/db_elf.c:100:21: error: ‘NULL’ undeclared (first use in this function)
>  100 |   symtab = strtab = NULL;

It's not getting the NULL definition from there, while it's supposed
to. so apparently somehow _POSIX_SOURCE is getting defined, which
is preventing the definition. You need to check what in your build
environment could be possibly defining it.

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]