* Karel Zak <kzak@xxxxxxxxxx>: | > while trying to compile util-linux 2.19 on linux kernel 2.4, glibc | > 2.2, getting the following error: | why do you need the latest util-linux for this masochistic setup? | :-) masochistic is the keyword :-) | This has been fixed by commit eb76ca98b0733754d7e9a40f754e89b50af2bf06. [...] | This has been fixed by commit 4799c95f943bd947c02f754da121974b4b34697d. | ... both issues will be fixed in v2.19.1. Thanks. Thanks. Compiled cleanly. New one: make[2]: Entering directory `/home/gzp/src/util-linux/login-utils' CC checktty_test-checktty.o checktty.c: In function 'main': checktty.c:315: error: 'AI_ADDRCONFIG' undeclared (first use in this function) checktty.c:315: error: (Each undeclared identifier is reported only once checktty.c:315: error: for each function it appears in.) make[2]: *** [checktty_test-checktty.o] Error 1 Its defined on glibc 2.3 as "#define AI_ADDRCONFIG 0x0020" in netdb.h, but seems like not in 2.2. Another: Maybe schedutils could be removed from the targets while compiling on glibc 2.2/2.3: Making all in schedutils make[2]: Entering directory `/home/gzp/src/util-linux/schedutils' CC chrt.o CC strutils.o CCLD chrt CC ionice.o CCLD ionice CC taskset.o In file included from taskset.c:28: ../include/cpuset.h:51: warning: type defaults to 'int' in declaration of 'cpu_set_t' ../include/cpuset.h:51: error: expected ';', ',' or ')' before '*' token ../include/cpuset.h:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token ../include/cpuset.h:67: error: expected ')' before '*' token ../include/cpuset.h:69: error: expected declaration specifiers or '...' before 'cpu_set_t' My bad, just checked I could use --disable-schedutils :-) Another one: make[2]: Entering directory `/home/gzp/src/util-linux/sys-utils' CC ldattach.o ldattach.c:95: error: 'IUTF8' undeclared here (not in a function) make[2]: *** [ldattach.o] Error 1 glibc 2.3 defines it, but 2.2 lack of IUTF8. bits/termios.h:#define IUTF8 0040000 Another: Making all in partx make[2]: Entering directory `/home/gzp/src/util-linux/partx' CC addpart.o CCLD addpart CC delpart.o CCLD delpart CC partx-partx.o partx.c: In function 'get_max_partno': partx.c:217: warning: implicit declaration of function 'openat' CC partx-blkdev.o CC partx-tt.o CC partx-mbsalign.o CC partx-strutils.o CC partx-linux_version.o CCLD partx partx-partx.o: In function `get_max_partno': /home/gzp/src/util-linux/partx/partx.c:217: undefined reference to `openat' collect2: ld returned 1 exit status Finally, with --disable-partx compiled fine. -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html