compile errors in util-linux-2.12
2006-05-02 09:42:48 GMT
Hello everybody.
I have got the util-linux-2.12 package and uncompressed it with the tar
utility. I have read the install file, and follow its steps so to
compile the package, I have made ./configure (it does not show any
trouble, all seems to be fine), then "make" and I always get the same
error (changin the mconfig file does not have any effect on it). The
error is:
cc -O2 -fomit-frame-pointer -I../lib -Wall -Wmissing-prototypes
-Wstrict-prototypes -DNCH=1 -D_FILE_OFFSET_BITS=64
-DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\"
-DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -O2 -s
blockdev.c -o blockdev
blockdev.c:70: error: syntax error before '[' token
blockdev.c:73: error: syntax error before '[' token
blockdev.c: In function 'report_device':
blockdev.c:331: error: syntax error before '[' token
blockdev.c:331: warning: comparison between pointer and integer
make[1]: *** [blockdev] Error 1
make[1]: Leaving directory `/mnt/DiscoD/Proyecto/NFSv4/Lab/util-linux-2.12/disk-utils'
make: *** [all] Error 1
I have seen the blockdev.c file but I do not find the problem. I just
want the nfs4mount utility, is the only one thing I am interested for
in the whole package. If I try make directly in the mount directory it
show me the error:
In file included from mount.c:65:
loop.h:20: error: syntax error before '__kernel_dev_t'
loop.h:20: warning: no semicolon at end of struct or union
loop.h:22: error: syntax error before 'lo_rdevice'
loop.h:22: warning: type defaults to 'int' in declaration of 'lo_rdevice'
loop.h:22: warning: data definition has no type or storage class
loop.h:31: error: syntax error before '}' token
make: *** [mount.o] Error 1
Could someone help me or say me about any cvs where could I get this utility? Advanced thanks.
_______________________________________________ NFSv4 mailing list NFSv4 <at> linux-nfs.org http://linux-nfs.org/cgi-bin/mailman/listinfo/nfsv4
RSS Feed