On Saturday February 9 2008 03:27:36 am marty wrote: > >> > will this actually work as intended or does it need a 'udpate'. > >> > > >>> > > sed '0,/^# udpate Makefile/s//CFLAGS="$CFLAGS \\\ > >>> > > -Wall -Wformat-security -Wwrite-strings -Wpointer-arith \\\ > >>> > > -Wstrict-prototypes -Wmissing-prototypes -Werror > >>> > > -Wfatal-errors"\n&/' \ -i.orig configure > > > > It still works. It's probably the only -Werror that still works. > > good, but it still would look better if you correct that spelling error:) > > I was trying to figure out why libz.a was not to be found. (MyDNS won't > build without it). the --shared flag omits it, so I had to build it. MyDNS > is very useful so I want to fix it to use the shared lib, but I got > befuddled so far.
In the makefile replace libz.a with -lz, or replace -Bstatic with -Bdynamic. Packagers sometimes use static libraries for weird reasons, like in case libz.so is in /usr/lib and /usr isn't mounted. robert
pgpfcCHoX2JzY.pgp
Description: PGP signature
-- http://linuxfromscratch.org/mailman/listinfo/hlfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
