summaryrefslogtreecommitdiffstats
path: root/INSTALL
diff options
context:
space:
mode:
authorKarel Zak2006-12-07 00:25:41 +0100
committerKarel Zak2006-12-07 00:25:41 +0100
commiteb63b9b8f4cecb34c2478282567862bc48ef256d (patch)
tree99243f8eecb44c2bb6a559982b99c680fcb649e7 /INSTALL
parentImported from util-linux-2.9v tarball. (diff)
downloadkernel-qcow2-util-linux-eb63b9b8f4cecb34c2478282567862bc48ef256d.tar.gz
kernel-qcow2-util-linux-eb63b9b8f4cecb34c2478282567862bc48ef256d.tar.xz
kernel-qcow2-util-linux-eb63b9b8f4cecb34c2478282567862bc48ef256d.zip
Imported from util-linux-2.10f tarball.
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL27
1 files changed, 21 insertions, 6 deletions
diff --git a/INSTALL b/INSTALL
index 631d50f0c..2f960b1f0 100644
--- a/INSTALL
+++ b/INSTALL
@@ -21,8 +21,8 @@ WARNING: The simpleinit and some other programs in this package are
To install from source:
1) Get source distribution (see the .lsm file for locations)
-2) Untar util-linux-2.9X.tar.gz somewhere
-3) cd util-linux-2.9X
+2) Untar util-linux-2.10X.tar.gz somewhere
+3) cd util-linux-2.10X
4) Edit MCONFIG
5) ./configure
6) Look at defines.h and make_include, and edit if necessary
@@ -37,15 +37,30 @@ To install from source:
If you have compilation problems: tell util-linux@math.uio.no about it.
-Users of libc 5.4.46 may get warnings like
+A glibc header bug causes
+ /usr/include/bits/string2.h:419: warning: pointer of type `void *'
+ used in arithmetic
+This is harmless.
+
+Users of libc5 may get warnings like
/usr/include/linux/byteorder/swab.h:100: warning: no previous prototype for `__fswab16'
-that they'll have to ignore. The Linux kernel includes are not meant to be included
-in user programs, but libc5 does precisely that and is inherently broken.
+that they'll have to ignore. The Linux kernel includes are not meant to be
+included in user programs, but libc5 does precisely that and is inherently
+broken.
-Some old libc have complaints like
+Several old libc have complaints like
/usr/include/sys/syslog.h:71: warning: missing braces around initializer
+ /usr/include/rpc/xdr.h:103: warning: function declaration isn't a prototype
+ /usr/include/rpc/auth.h:86: warning: function declaration isn't a prototype
+ /usr/include/rpc/svc.h:79: warning: function declaration isn't a prototype
Also this is a libc/include problem.
+Warnings like
+ <sys/mman.h>:11: warning: `MAP_FILE' redefined
+ <asm/mman.h>:30: warning: this is the location of the previous definition
+are caused by the libc/kernel combination.
+
+All such warnings are harmless.
There should be no compilation errors.