-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
I've been using the book to build HLFS manually and encountered the following:
m4
- --
cc1: warnings being treated as errors
regexec.c: In function 'set_regs':
regexec.c:1431: warning: not protecting local variables: variable length buffer
regexec.c: In function 'build_trtable':
regexec.c:3341: warning: not protecting local variables: variable length buffer
make[2]: *** [regex.o] Error 1
make[2]: Leaving directory `/sources/m4-1.4.9/lib'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/sources/m4-1.4.9/lib'
make: *** [install-recursive] Error 1
Omitting the:
find . -type f -name Makefile.in -exec \
sed 's/^CFLAGS =.*/& -Wall -Werror -Wfatal-errors/' -i.orig {} \;
let's it compile again.
findutils
- ---------
Didn't compile either, omitted the:
sed 's/^CFLAGS =.*/& -Wformat -Wformat-security \\\
-Werror -Wfatal-errors/' -i.orig {} \;
make
- ----
cc1: warnings being treated as errors
ar.c: In function 'ar_glob':
ar.c:267: warning: not protecting local variables: variable length buffer
make[1]: *** [ar.o] Error 1
make[1]: Leaving directory `/sources/make-3.81'
make: *** [install-recursive] Error 1
Left out the warning -> fatal again:
find . -type f -name Makefile.in -exec \
sed 's/^CFLAGS =.*/& -Wall -Wformat-security \\\
-Werror -Wfatal-errors/' -i.orig {} \;
util-linux
- ----------
You have ncurses. Using <ncurses.h>.
You don't have termcap
- --> You need -lcrypt
- --> Strange... Static compilation fails here.
would this be a problem ?
paxctl
- ------
(only) Version 0.5 is available:
http://pax.grsecurity.net/paxctl-0.5.tar.gz
Cheers,
Albert
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGjP9iKltZixSsH2QRAxbqAJ4+eCUSE/3IhA2s1LGbw+00emKWIQCfRNSN
4vzJPoQyLk6X8LpE/PRpSs8=
=OESQ
-----END PGP SIGNATURE-----
--
http://linuxfromscratch.org/mailman/listinfo/hlfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page