dear,

i have recurent error from mistral.ai
---
https://github.com/gnu-ai/neuron-translator
---
claire@debian:~/neuron-translator$ make
gcc -std=c23 -Wall -Wextra -pedantic -O2 -D_GNU_SOURCE -
D_POSIX_C_SOURCE=200809L -Iinclude -c src/main.c -o src/main.o
In file included from src/main.c:27:
include/trivfs-hooks.h:70:74: warning: 'struct iobuf' declared inside
parameter list will not be visible outside of this definition or
declaration
   70 | error_t fs_open_hook(struct iouser *, int, mode_t, struct node
*, struct iobuf **);
      |                                                               
^~~~~
include/trivfs-hooks.h:70:59: warning: 'struct node' declared inside
parameter list will not be visible outside of this definition or
declaration
   70 | error_t fs_open_hook(struct iouser *, int, mode_t, struct node
*, struct iobuf **);
      |                                                           ^~~~
include/trivfs-hooks.h:73:46: warning: 'struct iobuf' declared inside
parameter list will not be visible outside of this definition or
declaration
   73 | error_t fs_read_hook(struct iouser *, struct iobuf *, off_t,
size_t *, size_t);
      |                                              ^~~~~
include/trivfs-hooks.h:76:47: warning: 'struct iobuf' declared inside
parameter list will not be visible outside of this definition or
declaration
   76 | error_t fs_write_hook(struct iouser *, struct iobuf *, off_t,
size_t, size_t);
      |                                               ^~~~~
src/main.c: In function 'main':
src/main.c:50:5: error: 'trivfs_control' undeclared (first use in this
function)
   50 |     trivfs_control = MACH_PORT_NULL;
      |     ^~~~~~~~~~~~~~
src/main.c:50:5: note: each undeclared identifier is reported only once
for each function it appears in
src/main.c:62:5: error: 'fs_help' undeclared (first use in this
function)
   62 |     fs_help = "LLM Sigmoid Neuron Translator for GNU Hurd\n"
      |     ^~~~~~~
src/main.c:66:5: error: 'fs_open' undeclared (first use in this
function); did you mean 'fdopen'?
   66 |     fs_open = fs_open_hook;
      |     ^~~~~~~
      |     fdopen
src/main.c:67:5: error: 'fs_read' undeclared (first use in this
function); did you mean 'io_read'?
   67 |     fs_read = fs_read_hook;
      |     ^~~~~~~
      |     io_read
src/main.c:68:5: error: 'fs_write' undeclared (first use in this
function); did you mean 'io_write'?
   68 |     fs_write = fs_write_hook;
      |     ^~~~~~~~
      |     io_write
src/main.c:71:12: error: implicit declaration of function
'trivfs_server_loop' [-Wimplicit-function-declaration]
   71 |     return trivfs_server_loop();
      |            ^~~~~~~~~~~~~~~~~~
make: *** [Makefile:21: src/main.o] Error 1
claire@debian:~/neuron-translator$ 
---

king regard,
claire


On Tue, 2026-09-29 at 15:04 +0200, Claire wrote:
> hi,
> 
> 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
> 
> king regard,
> claire

Reply via email to