From: Miles Lane <miles@megapathdsl.net>
To: LKML <linux-kernel@vger.kernel.org>
Subject: 2.4.5 -- Hundreds of compile errors in lib/zlib_deflate/deflate.c
Date: 10 Feb 2002 23:12:12 -0800 [thread overview]
Message-ID: <1013411533.30864.56.camel@turbulence.megapathdsl.net> (raw)
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
next reply other threads:[~2002-02-11 7:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-11 7:12 Miles Lane [this message]
2002-02-11 7:54 ` A Guy Called Tyketto
2002-02-11 18:56 ` Miles Lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1013411533.30864.56.camel@turbulence.megapathdsl.net \
--to=miles@megapathdsl.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®