9fans archive / 1999 / 04 / 18 / prev next From: Russ Cox rsc@pla... Subject: [9fans] U9FS Date: Thu, 22 Apr 1999 12:31:28 -0400 This works for me on both Linux and the BSDs. [rsc@brandy u9fs]$ cat makefile CC=gcc CFLAGS=-I. -DSYSV -DLOG='"/tmp/u9fs.log"' u9fs: u9fs.o conv.o memmove.o mfmt.o gcc -o u9fs u9fs.o conv.o memmove.o mfmt.o %.o: %.c u.h libc.h 9p.h gcc -c $(CFLAGS) $< [rsc@brandy u9fs]$ I had to comment out memcmp, strcmp, strcpy, strlen, and sys_errlist in libc.h, presumably because they have slightly different prototypes being presented by the system libraries.. Russ