TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
2.2.13 won't compile for me!?
I just grabbed latest kernel from ftp.us.kernel.org, do a stock (no change)
compile I get the following error:
vfs.c: In function `nfsd_truncate':
vfs.c:798: warning: unused variable `saved_cap'
vfs.c: At top level:
vfs.c:1329: warning: `struct statfs64' declared inside parameter list
vfs.c:1329: warning: its scope is only this definition or declaration,
vfs.c:1329: warning: which is probably not what you want.
vfs.c:1330: conflicting types for `nfsd_statfs'
/usr/src/redhat/BUILD/linux/include/linux/nfsd/nfsd.h:109: previous
declaration of `nfsd_statfs'
vfs.c: In function `nfsd_statfs':
vfs.c:1346: warning: passing arg 2 from incompatible pointer type
vfs.c:1346: too few arguments to function
vfs.c: In function `nfsd_permission':
vfs.c:1361: warning: unused variable `saved_cap'
make[2]: *** [vfs.o] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/linux/fs/nfsd'
make[1]: *** [_modsubdir_nfsd] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/linux/fs'
make: *** [_mod_fs] Error 2
Bad exit status from /var/tmp/rpm-tmp.9325 (%build)
What is weird is that this same tar file gunzipped on another machine with the
same stock config DOES compile.
I double check glib, gcc, etc are all the same. The only difference is the
machine it fails on is a dual processor box and the machine it compiles under
is a single processor box. BOTH are VaLinux machines.
Am I going insane?
--
Bob Tanner <tanner@real-time.com> | Phone : (612)943-8700
http://www.real-time.com | Fax : (612)943-8500
Key fingerprint = 6C E9 51 4F D5 3E 4C 66 62 A9 10 E5 35 85 39 D9