https://github.com/gnu-ai/neuron-translator

it's compile but segmentation error... :(

claire@debian:~/llm$ sudo settrans -c . ../neuron-translator/sigmoid-
neuron-translator 

claire@debian:~/neuron-translator$ cat ../llm/
;G
  .�>�..claire@debian:~/neuron-translator$

if anyone have idear... 

On Tue, 2026-09-29 at 20:09 +0200, Samuel Thibault wrote:
> There are no such things as libhurdfs and libhurdsig.

thank samuel
> 
> Samuel
> 
> Claire, le mar. 29 sept. 2026 20:05:49 +0200, a ecrit:
> > dear,
> > 
> > hurdfs library don't exist, it's the same for hurdsig ?
> > 
> > claire@debian:~/neuron-translator$ make
> > Linking with Hurd libraries...
> > gcc -std=c23 -Wall -Wextra -pedantic -O2 -D_GNU_SOURCE -
> > D_POSIX_C_SOURCE=200809L  -o sigmoid-neuron-translator src/main.o
> > src/neuron.o src/trivfs-hooks.o -lm -lpthread -ltrivfs -lfshelp -
> > lhurdsig -lports -lshouldbeinlibc
> > /usr/bin/ld: cannot find -lhurdsig: No such file or directory
> > collect2: error: ld returned 1 exit status
> > make: *** [Makefile:55: sigmoid-neuron-translator] Error 1
> > claire@debian:~/neuron-translator$ 
> > 
> > 
> > 
> > On Tue, 2026-09-29 at 19:26 +0200, Claire wrote:
> > > dear,
> > > 
> > > which package need install for have hurdfs library on debian hurd
> > > ?
> > > 
> > > i have this error :
> > > 
> > > 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
> > > gcc -std=c23 -Wall -Wextra -pedantic -O2 -D_GNU_SOURCE -
> > > D_POSIX_C_SOURCE=200809L -Iinclude -c src/neuron.c -o
> > > src/neuron.o
> > > gcc -std=c23 -Wall -Wextra -pedantic -O2 -D_GNU_SOURCE -
> > > D_POSIX_C_SOURCE=200809L -Iinclude -c src/trivfs-hooks.c -o
> > > src/trivfs-
> > > hooks.o
> > > Linking with Hurd libraries...
> > > gcc -std=c23 -Wall -Wextra -pedantic -O2 -D_GNU_SOURCE -
> > > D_POSIX_C_SOURCE=200809L  -o sigmoid-neuron-translator src/main.o
> > > src/neuron.o src/trivfs-hooks.o -lm -lpthread -ltrivfs -lhurdfs -
> > > lports
> > > -lshouldbeinlibc
> > > /usr/bin/ld: cannot find -lhurdfs: No such file or directory
> > > collect2: error: ld returned 1 exit status
> > > make: *** [Makefile:49: sigmoid-neuron-translator] Error 1
> > > claire@debian:~/neuron-translator$
> > > 
> > > 
> > > On Tue, 2026-09-29 at 17:32 +0200, Claire wrote:
> > > > 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