Problem compiling nfs-utils with 2.6.18 kernel-headers

2006-11-12 Thread Dr. Edgar Alwers
I am refering to contributions made by Alessandro Alocci and Dan Nicholson on Mon, 30 Oct 2006. I got the same error compiling nfs-utils ( version 1.0.10, Kernel 2.6.18 ): - -- getkversion.c:17: error: 'UTS_RELEASE' undeclared (first use in this function)

Problem compiling nfs-utils with 2.6.18 kernel-headers

2006-10-30 Thread Alessandro Alocci
Compiling nfs-utils-1.0.10 on a system with linux kernel 2.6.18.1 I get this error: make[2]: Entering directory `/mnt/rh/bld/nfs-utils-1.0.10/tools/getkversion' if gcc -DHAVE_CONFIG_H -I. -I. -I../../support/include -D_GNU_SOURCE -D_GNU_SOURCE -g -O2 -g -O2 -MT getkversion-getkversion.o -MD

Re: Problem compiling nfs-utils with 2.6.18 kernel-headers

2006-10-30 Thread Alessandro Alocci
Alle 15:50, lunedì 30 ottobre 2006, Dan Nicholson ha scritto: Fedora is working around the problem by just not building getiversion and getkversion at all. They just fiddle with the SUBDIRS value in tools/. Here's their patch, which unfortunately has some other unrelated things mixed in: