Hi
I'm trying to compile p3nfs on my Gentoo AMD64 but I get this error:
$ make
cd nfsd; make all
make[1]: Entering directory
`/home/maxxer/download/gzipped/p3nfs-5.18/nfsd'
gcc -O2 -Wall -I. -c -o mp_main.o mp_main.c
gcc -O2 -Wall -I. -c -o mp_mount.o mp_mount.c
In file included from /usr/include/linux/nfs.h:11,
from nfs_prot.h:7,
from mp_mount.c:64:
/usr/include/linux/string.h:16: error: parse error before
"__extension__"
/usr/include/linux/string.h:16: error: parse error before '&&' token
/usr/include/linux/string.h:17: error: parse error before
"__extension__"
/usr/include/linux/string.h:17: error: parse error before '&&' token
/usr/include/linux/string.h:18: error: parse error before
"__extension__"
/usr/include/linux/string.h:18: error: parse error before '&&' token
/usr/include/linux/string.h:19: error: parse error before
"__extension__"
/usr/include/linux/string.h:19: error: parse error before '&&' token
In file included from /usr/include/linux/nfs.h:11,
from nfs_prot.h:7,
from mp_mount.c:64:
/usr/include/linux/string.h:48: error: parse error before
"__extension__"
/usr/include/linux/string.h:54: error: parse error before
"__extension__"
mp_mount.c: In function `mount_and_run':
mp_mount.c:601: warning: passing arg 2 of `__FD_SET' from incompatible
pointer type
mp_mount.c:602: warning: passing arg 2 of `__FD_SET' from incompatible
pointer type
mp_mount.c:609: warning: passing arg 2 of `__FD_ISSET' from
incompatible pointer type
mp_mount.c:629: warning: passing arg 2 of `__FD_ISSET' from
incompatible pointer type
make[1]: *** [mp_mount.o] Error 1
make[1]: Leaving directory
`/home/maxxer/download/gzipped/p3nfs-5.18/nfsd'
make: *** [all] Error 2
Are you aware of this?
If not, is there any way I can help to solve the problem?
thanks
maxxer