Karel Zak wrote: > Do you have any examples? I'm open for patches that improve > compatibility. Try compiling using gcc-2.95 Or this: (on Debian 3.1) # CC=gcc-3.3 CFLAGS="-O2 -Wall" ./configure [snip] # make [snip] make[2]: Entering directory `/tmp/util-linux-ng-2.13/login-utils' if gcc-3.3 -DHAVE_CONFIG_H -I. -I. -I.. -DMAIN_TEST_CHECKTTY -include ../config.h -I../include -DLOCALEDIR=\"\" -fsigned-char -O2 -Wall -MT checktty_test-checktty.o -MD -MP -MF ".deps/checktty_test-checktty.Tpo" -c -o checktty_test-checktty.o `test -f 'checktty.c' || echo './'`checktty.c; \ then mv -f ".deps/checktty_test-checktty.Tpo" ".deps/checktty_test-checktty.Po"; else rm -f ".deps/checktty_test-checktty.Tpo"; exit 1; fi gcc-3.3 -fsigned-char -O2 -Wall -o checktty_test checktty_test-checktty.o if gcc-3.3 -DHAVE_CONFIG_H -I. -I. -I.. -include ../config.h -I../include -DLOCALEDIR=\"\" -fsigned-char -O2 -Wall -MT agetty.o -MD -MP -MF ".deps/agetty.Tpo" -c -o agetty.o agetty.c; \ then mv -f ".deps/agetty.Tpo" ".deps/agetty.Po"; else rm -f ".deps/agetty.Tpo"; exit 1; fi agetty.c: In function `do_prompt': agetty.c:887: error: `HOST_NAME_MAX' undeclared (first use in this function) agetty.c:887: error: (Each undeclared identifier is reported only once agetty.c:887: error: for each function it appears in.) agetty.c:887: warning: unused variable `domainname' agetty.c:900: warning: unused variable `host' agetty.c:995: warning: unused variable `hn' make[2]: *** [agetty.o] Error 1 make[2]: Leaving directory `/tmp/util-linux-ng-2.13/login-utils' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/util-linux-ng-2.13' make: *** [all] Error 2 -- Jari Ruusu 1024R/3A220F51 5B 4B F9 BB D3 3F 52 E9 DB 1D EB E3 24 0E A9 DD - Linux-crypto: cryptography in and on the Linux system Archive: http://mail.nl.linux.org/linux-crypto/