Please always keep bug-hurd in Cc, so that you are not the only one on
earth to get the answer...

Claire, le mar. 29 sept. 2026 16:40:49 +0200, a ecrit:
> On Tue, 2026-09-29 at 16:11 +0200, Samuel Thibault wrote:
> > Claire, le mar. 29 sept. 2026 15:04:37 +0200, a ecrit:
> > > i try to compile my neuron translator
> > > 
> > > the code is here :
> > > https://github.com/gnu-ai/neuron-translator/blob/main/sigmoid-neuron-translator.c
> > > 
> > > and i have this error :
> > > 
> > > claire@debian:~/neuron-translator$ make
> > > gcc -std=c23 -Wall -Wextra -pedantic -O3 -march=native -
> > > D_GNU_SOURCE -
> > > D_POSIX_C_SOURCE=200809L  -o sigmoid-neuron-translator sigmoid-
> > > neuron-
> > > translator.c -lm -lpthread -ltrivfs -lhurdfs -lports -
> > > lshouldbeinlibc
> > > sigmoid-neuron-translator.c:129:11: fatal error: mach/mach_msg.h:
> > > No
> > > such file or directory
> > >   129 | # include <mach/mach_msg.h>
> > >       |           ^~~~~~~~~~~~~~~~~
> > > compilation terminated.
> > > make: *** [Makefile:38: sigmoid-neuron-translator] Error 1
> > > claire@debian:~/neuron-translator$ 
> > > 
> > > i don't know why, may be an halluciation of my LLM
> > 
> > There is no such header with GNU Mach, just include <mach.h>
> 
> need <mach/message.h>
> https://www.gnu.org/software/hurd/gnumach-doc/Mach-Message-Call.html

Sure, it's there, and you can include it.

Samuel

Reply via email to