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
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE -I
/usr/src/linux/lib/zlib_deflate -c -o deflate.o deflate.c
deflate.c:52:25: linux/zutil.h: No such file or directory
In file included from deflate.c:53:
defutil.h:42: parse error before `ush'
defutil.h:42: warning: no semicolon at end of struct or union
defutil.h:42: warning: no semicolon at end of struct or union
defutil.h:43: warning: type defaults to `int' in declaration of `code'
defutil.h:43: warning: data definition has no type or storage class
defutil.h:44: warning: type defaults to `int' in declaration of `fc'
defutil.h:44: warning: data definition has no type or storage class
defutil.h:46: parse error before `ush'
defutil.h:46: warning: no semicolon at end of struct or union
defutil.h:47: warning: type defaults to `int' in declaration of `len'
defutil.h:47: warning: data definition has no type or storage class
defutil.h:48: warning: type defaults to `int' in declaration of `dl'
defutil.h:48: warning: data definition has no type or storage class
defutil.h:49: parse error before `}'
defutil.h:49: warning: type defaults to `int' in declaration of
`ct_data'
defutil.h:49: warning: data definition has no type or storage class
defutil.h:59: parse error before `ct_data'
defutil.h:59: warning: no semicolon at end of struct or union
defutil.h:62: parse error before `}'
defutil.h:62: warning: type defaults to `int' in declaration of
`tree_desc'
defutil.h:62: warning: data definition has no type or storage class
defutil.h:64: parse error before `Pos'
defutil.h:64: warning: type defaults to `int' in declaration of `Pos'
defutil.h:64: warning: data definition has no type or storage class
defutil.h:65: parse error before `FAR'
defutil.h:65: warning: type defaults to `int' in declaration of `Posf'
defutil.h:65: warning: data definition has no type or storage class
defutil.h:73: parse error before `z_streamp'
defutil.h:73: warning: no semicolon at end of struct or union
defutil.h:75: parse error before `*'
defutil.h:75: warning: type defaults to `int' in declaration of
`pending_buf'
defutil.h:75: warning: data definition has no type or storage class
defutil.h:76: parse error before `pending_buf_size'
defutil.h:76: warning: type defaults to `int' in declaration of
`pending_buf_size'
defutil.h:76: warning: data definition has no type or storage class
defutil.h:77: parse error before `*'
defutil.h:77: warning: type defaults to `int' in declaration of
`pending_out'
defutil.h:77: warning: data definition has no type or storage class
defutil.h:80: parse error before `data_type'
defutil.h:80: warning: type defaults to `int' in declaration of
`data_type'
defutil.h:80: warning: data definition has no type or storage class
defutil.h:81: parse error before `method'
defutil.h:81: warning: type defaults to `int' in declaration of `method'
defutil.h:81: warning: data definition has no type or storage class
defutil.h:86: parse error before `w_size'
defutil.h:86: warning: type defaults to `int' in declaration of `w_size'
defutil.h:86: warning: data definition has no type or storage class
defutil.h:87: parse error before `w_bits'
defutil.h:87: warning: type defaults to `int' in declaration of `w_bits'
defutil.h:87: warning: data definition has no type or storage class
defutil.h:88: parse error before `w_mask'
defutil.h:88: warning: type defaults to `int' in declaration of `w_mask'
defutil.h:88: warning: data definition has no type or storage class
defutil.h:90: parse error before `*'
defutil.h:90: warning: type defaults to `int' in declaration of `window'
defutil.h:90: warning: data definition has no type or storage class
defutil.h:100: parse error before `window_size'
defutil.h:100: warning: type defaults to `int' in declaration of
`window_size'
defutil.h:100: warning: data definition has no type or storage class
defutil.h:105: parse error before `*'
defutil.h:105: warning: type defaults to `int' in declaration of `prev'
defutil.h:105: warning: data definition has no type or storage class
defutil.h:111: parse error before `*'
defutil.h:111: warning: type defaults to `int' in declaration of `head'
defutil.h:111: warning: data definition has no type or storage class
defutil.h:113: parse error before `ins_h'
defutil.h:113: warning: type defaults to `int' in declaration of `ins_h'
defutil.h:113: warning: data definition has no type or storage class
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: [email protected]
Unix Systems Administrator, | [email protected]
Web + NewsMaster, BOFH.. Smeghead! :) | http://www.wizard.com/~tyketto
PGP: 1024D/E319F0BF 6980 AAD6 7329 E9E6 D569 F620 C819 199A E319 F0BF
On Sun, 2002-02-10 at 23:54, A Guy Called Tyketto wrote:
> 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
Whoops! Yes, you are right.
Thanks a lot,
Miles