From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 22 Apr 1999 12:31:28 -0400 From: Russ Cox rsc@plan9.bell-labs.com Subject: [9fans] U9FS Topicbox-Message-UUID: 94819a38-eac8-11e9-9e20-41e7f4b1d025 Message-ID: <19990422163128.hQNOHqlD1151Ij-gqox13-4hoiBwPEARKHRqtPMfjvE@z> 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