util-linux-2.12-CITI_NFS4_ALL-1
Sridhar Samudrala
sri at us.ibm.com
Mon Sep 27 18:05:55 EDT 2004
While trying to build util-linux-2.12 with this patch, i ran into 2 problems
on fedora core2.
1. mount/mount.c compilation problem
cc -c -pipe -O2 -mcpu=i486 -fomit-frame-pointer -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -I/usr/include/ncurses -DNCH=0 -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -O2 -DHAVE_NFS mount.c
In file included from mount.c:65:
loop.h:51: error: syntax error before "__kernel_old_dev_t"
loop.h:51: warning: no semicolon at end of struct or union
loop.h:53: error: syntax error before "lo_rdevice"
loop.h:53: warning: type defaults to `int' in declaration of `lo_rdevice'
loop.h:53: warning: data definition has no type or storage class
loop.h:62: error: syntax error before '}' token
make[1]: *** [mount.o] Error 1
FIX:
----
I was able to fix this by adding
typedef unsigned short __kernel_old_dev_t;
to /usr/include/asm/posix_types.h
2. fdisk/cfdisk.c compilation problem
cc -c -pipe -O2 -mcpu=i486 -fomit-frame-pointer -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -I/usr/include/ncurses -DNCH=0 -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -O2 -DSLCURSES=1 cfdisk.c -o cfdisk.o
cfdisk.c:66:24: slcurses.h: No such file or directory
FIX:
----
I was able to fix this by commenting out
HAVE_SLANG=yes
in MCONFIG
Thanks
Sridhar
On Thu, 23 Sep 2004, J. Bruce Fields wrote:
> http://www.citi.umich.edu/projects/nfsv4/linux/util-linux-patches/2.12-1/
> Changes since 2.11z-CITI_NFS4_ALL-3:
> * update to 2.12 with patches from debian's 2.12-7 package
> * previous patches replaced by a monolithic patch from Trond
> which also includes some updates from Steve Dickson to check for
> idmapd and gssd on mount, and some other updates
> * from David Warren: fix for incorrect mount version test when
> setting tcp option
> * from Nick Wilson: modify mount to accept multiple security flavors
>
> --b.
>
> _______________________________________________
> NFSv4 mailing list
> NFSv4 at linux-nfs.org
> http://linux-nfs.org/cgi-bin/mailman/listinfo/nfsv4
>
More information about the NFSv4
mailing list