On 10/30/06, Alessandro Alocci <[EMAIL PROTECTED]> wrote:
Compiling nfs-utils-1.0.10 on a system with linux kernel
I get this error:

make[2]: Entering directory
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 -MP -MF
".deps/getkversion-getkversion.Tpo" -c -o getkversion-getkversion.o
`test -f 'getkversion.c' || echo './'`getkversion.c; \
mv -f ".deps/getkversion-getkversion.Tpo" ".deps/getkversion-getkve
rsion.Po"; else rm -f ".deps/getkversion-getkversion.Tpo"; exit 1; fi
getkversion.c: In function 'main':
getkversion.c:17: error: 'UTS_RELEASE' undeclared (first use in this


In fact UTS_RELEASE seems not to be defined anymore in linux/version.h
but in linux-2.5.18 is defined in
an header that is not installed in the system by the new
make headers_install procedure in LFS-SVN.

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:


FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to