Re: 2.4.5 -- Hundreds of compile errors in lib/zlib_deflate/deflate.c

A Guy Called Tyketto
2002-02-11T07:54:43Z

On Sun, Feb 10, 2002 at 11:12:12PM -0800, Miles Lane wrote:
> I believe this is a bug in the configuration scripts or data.
> I ran "make oldconfig" over an older .config file. If there
> is a logic error here, oldconfig did not catch it. Also,
> I think I probably enabled these options accidentally when
> running "make oldconfig" for 2.4.5-pre6.
>
> # CONFIG_CRC32 is not set
> CONFIG_ZLIB_INFLATE=m
> CONFIG_ZLIB_DEFLATE=m
>

I hope you are meaning 2.5.4, as CONFIG_ZLIB_DEFLATE, and CONFIG_CRC32
are not present in 2.4.5.

IIRC, the solution for this was:

SOURCEDIR=/usr/src/linux
mv $SOURCEDIR/linux/zutil.h $SOURCEDIR/include/linux
mv $SOURCEDIR/linux/zconf.h $SOURCEDIR/include/linux
rmdir $SOURCEDIR/linux

BL.
--
Brad Littlejohn | Email: tyketto@wizard.com
Unix Systems Administrator, | tyketto@ozemail.com.au
Web + NewsMaster, BOFH.. Smeghead! :) | http://www.wizard.com/~tyketto
PGP: 1024D/E319F0BF 6980 AAD6 7329 E9E6 D569 F620 C819 199A E319 F0BF