Debian Bug report logs - #193825
kernel-source-2.4.20: Typo in ide-cd.h

version graph

Package: kernel-source-2.4.20; Maintainer for kernel-source-2.4.20 is (unknown);

Reported by: Sergey Sholokh <sholokh@gala.net>

Date: Mon, 19 May 2003 09:33:02 UTC

Severity: important

Tags: sid

Found in version 2.4.20-7

Done: Herbert Xu <herbert@gondor.apana.org.au>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Herbert Xu <herbert@debian.org>, kernel-source-2.4.20@packages.qa.debian.org:
Bug#193825; Package kernel-source-2.4.20. (full text, mbox, link).


Acknowledgement sent to Sergey Sholokh <sholokh@gala.net>:
New Bug report received and forwarded. Copy sent to Herbert Xu <herbert@debian.org>, kernel-source-2.4.20@packages.qa.debian.org. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Sergey Sholokh <sholokh@gala.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: kernel-source-2.4.20: Typo in ide-cd.h
Date: Mon, 19 May 2003 12:23:43 +0300
Package: kernel-source-2.4.20
Version: 2.4.20-7
Severity: important
Tags: sid

In kernel-source-2.4.20 typo in file ide-cd.h

Error message:

In file included from ide-cd.c:318:
ide-cd.h:440: error: long, short, signed or unsigned used invalidly for `slot_tablelen'
make[3]: *** [ide-cd.o] Error 1
make[3]: Leaving directory `/tmp/kernel-source-2.4.20/drivers/ide'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/tmp/kernel-source-2.4.20/drivers/ide'
make[1]: *** [_subdir_ide] Error 2
make[1]: Leaving directory `/tmp/kernel-source-2.4.20/drivers'
make: *** [_dir_drivers] Error 2

Used gcc - gcc-3.3


Solution: 

Change __u8 short slot_tablelen; to __u16 short slot_tablelen; 


-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux bolt.gala 2.4.20-bolt #1 Wed Mar 19 14:41:28 EET 2003 i686
Locale: LANG=ru_RU.CP1251, LC_CTYPE=ru_RU.CP1251

Versions of packages kernel-source-2.4.20 depends on:
ii  binutils                 2.14.90.0.1-0.1 The GNU assembler, linker and bina
ii  bzip2                    1.0.2-1         A high-quality block-sorting file 
ii  coreutils [fileutils]    5.0-3           The GNU core utilities
ii  fileutils                5.0-3           The GNU file management utilities 

-- no debconf information





Reply sent to Herbert Xu <herbert@gondor.apana.org.au>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Sergey Sholokh <sholokh@gala.net>:
Bug acknowledged by developer. (full text, mbox, link).


Message #10 received at 193825-done@bugs.debian.org (full text, mbox, reply):

From: Herbert Xu <herbert@gondor.apana.org.au>
To: 193825-done@bugs.debian.org
Subject: Re: Bug#193825: kernel-source-2.4.20: Typo in ide-cd.h
Date: Mon, 19 May 2003 19:38:58 +1000
On Mon, May 19, 2003 at 12:23:43PM +0300, Sergey Sholokh wrote:
> Package: kernel-source-2.4.20
> Version: 2.4.20-7
> Severity: important
> Tags: sid
> 
> In kernel-source-2.4.20 typo in file ide-cd.h
> 
> Error message:
> 
> In file included from ide-cd.c:318:
> ide-cd.h:440: error: long, short, signed or unsigned used invalidly for `slot_tablelen'
> make[3]: *** [ide-cd.o] Error 1
> make[3]: Leaving directory `/tmp/kernel-source-2.4.20/drivers/ide'
> make[2]: *** [first_rule] Error 2
> make[2]: Leaving directory `/tmp/kernel-source-2.4.20/drivers/ide'
> make[1]: *** [_subdir_ide] Error 2
> make[1]: Leaving directory `/tmp/kernel-source-2.4.20/drivers'
> make: *** [_dir_drivers] Error 2
> 
> Used gcc - gcc-3.3

This compiler is not supported for compiling 2.4 kernels.  Please use
gcc 2.95 or gcc 3.2.
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Information forwarded to debian-bugs-dist@lists.debian.org, Herbert Xu <herbert@debian.org>, kernel-source-2.4.20@packages.qa.debian.org:
Bug#193825; Package kernel-source-2.4.20. (full text, mbox, link).


Acknowledgement sent to Phil Edwards <phil@jaj.com>:
Extra info received and forwarded to list. Copy sent to Herbert Xu <herbert@debian.org>, kernel-source-2.4.20@packages.qa.debian.org. (full text, mbox, link).


Message #15 received at 193825@bugs.debian.org (full text, mbox, reply):

From: Phil Edwards <phil@jaj.com>
To: 193825@bugs.debian.org
Subject: Typo in ide-cd.h and gcc 3.3
Date: Thu, 22 May 2003 04:09:44 -0400
I too am trying to get a new 2.4.20 kernel built.  My first try was with
3.2, which complained about stdarg.h not being found.  Now I'm trying with
3.3 and seeing the same error.  Is 2.95 really the only other option?

-- 
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace.  We seek
not your counsel, nor your arms.  Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen.            - Samuel Adams



Information forwarded to debian-bugs-dist@lists.debian.org, Herbert Xu <herbert@debian.org>, kernel-source-2.4.20@packages.qa.debian.org:
Bug#193825; Package kernel-source-2.4.20. (full text, mbox, link).


Acknowledgement sent to Herbert Xu <herbert@gondor.apana.org.au>:
Extra info received and forwarded to list. Copy sent to Herbert Xu <herbert@debian.org>, kernel-source-2.4.20@packages.qa.debian.org. (full text, mbox, link).


Message #20 received at 193825@bugs.debian.org (full text, mbox, reply):

From: Herbert Xu <herbert@gondor.apana.org.au>
To: Phil Edwards <phil@jaj.com>, 193825@bugs.debian.org
Subject: Re: Bug#193825: Typo in ide-cd.h and gcc 3.3
Date: Thu, 22 May 2003 20:01:46 +1000
On Thu, May 22, 2003 at 04:09:44AM -0400, Phil Edwards wrote:
> I too am trying to get a new 2.4.20 kernel built.  My first try was with
> 3.2, which complained about stdarg.h not being found.  Now I'm trying with
> 3.3 and seeing the same error.  Is 2.95 really the only other option?

gcc-3.2 should work.  The 2.4.20-3 images currently in incoming were built
using gcc-3.2.

A missing stdarg.h is usually an indication of a broken gcc install.
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Information forwarded to debian-bugs-dist@lists.debian.org, Herbert Xu <herbert@debian.org>, kernel-source-2.4.20@packages.qa.debian.org:
Bug#193825; Package kernel-source-2.4.20. (full text, mbox, link).


Acknowledgement sent to Phil Edwards <phil@jaj.com>:
Extra info received and forwarded to list. Copy sent to Herbert Xu <herbert@debian.org>, kernel-source-2.4.20@packages.qa.debian.org. (full text, mbox, link).


Message #25 received at 193825@bugs.debian.org (full text, mbox, reply):

From: Phil Edwards <phil@jaj.com>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: 193825@bugs.debian.org
Subject: Re: Bug#193825: Typo in ide-cd.h and gcc 3.3
Date: Thu, 22 May 2003 06:17:14 -0400
On Thu, May 22, 2003 at 08:01:46PM +1000, Herbert Xu wrote:
> On Thu, May 22, 2003 at 04:09:44AM -0400, Phil Edwards wrote:
> > I too am trying to get a new 2.4.20 kernel built.  My first try was with
> > 3.2, which complained about stdarg.h not being found.  Now I'm trying with
> > 3.3 and seeing the same error.  Is 2.95 really the only other option?
> 
> gcc-3.2 should work.  The 2.4.20-3 images currently in incoming were built
> using gcc-3.2.
> 
> A missing stdarg.h is usually an indication of a broken gcc install.

It's a brand-new installation.  The stdarg.h file is present.  *shrug*

I used 2.95, and that worked.


-- 
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace.  We seek
not your counsel, nor your arms.  Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen.            - Samuel Adams



Information forwarded to debian-bugs-dist@lists.debian.org, Herbert Xu <herbert@debian.org>, kernel-source-2.4.20@packages.qa.debian.org:
Bug#193825; Package kernel-source-2.4.20. (full text, mbox, link).


Acknowledgement sent to Herbert Xu <herbert@gondor.apana.org.au>:
Extra info received and forwarded to list. Copy sent to Herbert Xu <herbert@debian.org>, kernel-source-2.4.20@packages.qa.debian.org. (full text, mbox, link).


Message #30 received at 193825@bugs.debian.org (full text, mbox, reply):

From: Herbert Xu <herbert@gondor.apana.org.au>
To: Phil Edwards <phil@jaj.com>, 193825@bugs.debian.org
Subject: Re: Bug#193825: Typo in ide-cd.h and gcc 3.3
Date: Thu, 22 May 2003 20:19:09 +1000
On Thu, May 22, 2003 at 06:17:14AM -0400, Phil Edwards wrote:
> 
> It's a brand-new installation.  The stdarg.h file is present.  *shrug*

Can you try gcc 3.2 from testing?

Thanks,
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Information forwarded to debian-bugs-dist@lists.debian.org, Herbert Xu <herbert@debian.org>, kernel-source-2.4.20@packages.qa.debian.org:
Bug#193825; Package kernel-source-2.4.20. (full text, mbox, link).


Acknowledgement sent to Phil Edwards <phil@jaj.com>:
Extra info received and forwarded to list. Copy sent to Herbert Xu <herbert@debian.org>, kernel-source-2.4.20@packages.qa.debian.org. (full text, mbox, link).


Message #35 received at 193825@bugs.debian.org (full text, mbox, reply):

From: Phil Edwards <phil@jaj.com>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: 193825@bugs.debian.org
Subject: Re: Bug#193825: Typo in ide-cd.h and gcc 3.3
Date: Fri, 23 May 2003 17:28:28 -0400
On Thu, May 22, 2003 at 08:19:09PM +1000, Herbert Xu wrote:
> On Thu, May 22, 2003 at 06:17:14AM -0400, Phil Edwards wrote:
> > 
> > It's a brand-new installation.  The stdarg.h file is present.  *shrug*
> 
> Can you try gcc 3.2 from testing?

Not soon and no promises, but yes, I'll try to try.  :-)

-- 
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace.  We seek
not your counsel, nor your arms.  Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen.            - Samuel Adams



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Mon Jun 5 00:37:53 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.