Hello,
The procfs translator fails to build on my Debian GNU/Hurd virtual machine:
gcc -Wall -g -o procfs procfs.o netfs.o procfs_dir.o process.o
proclist.o rootdir.o dircat.o main.o -lnetfs -lps
/usr/bin/ld.bfd.real: netfs.o: undefined reference to symbol 'fshelp_access'
/usr/bin/ld.bfd.real: note: 'fshelp_access' is defined in DSO
/lib/libfshelp.so.0.3 so try adding it to the linker command line
/lib/libfshelp.so.0.3: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make: *** [procfs] Error 1
The fix is quite simple:
diff --git a/Makefile b/Makefile
index a397522..c69cb20 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
TARGET = procfs
OBJS = procfs.o netfs.o procfs_dir.o \
process.o proclist.o rootdir.o dircat.o main.o
-LIBS = -lnetfs -lps
+LIBS = -lnetfs -lps -lfshelp
CC = gcc
CFLAGS = -Wall -g
Regards,
Cyril Roelandt.