> I am currently trying to learn how to write translator and I have used the
> trans/hello.c and trans/hello-mt.c files.
> I didn't have any problem with trans/hello.c but the trans/hello-mt.c
> doesn't work.
> I managed to compile it using gcc -g -o hello-mt hello-mt.c -ltrivfs
> -lfshelp -lports, and it starts alright, but as soon as I try to access the
> device file, it fails.
> I debugged it using gdb and the error is EXC_BAD_INSTRUCTION in
> cthread_fork_child.
> 
> Any thoughts?

Try inserting `-lthreads' before `-lports' and appending `-lihash
-lshouldbeinlibc'.

PGP signature

Reply via email to