Bug#344205: linux-source-2.6.14: drivers/net/wireless/airo.c fails to compile

2006-01-07 Thread Roland Mas
dann frazier, 2006-01-06 16:50:08 -0700 :

 tags 344205 + unreproducible

[...]

 I followed your instructions, and I can't reproduce.  I used the 686
 config from linux-image-2.6.12-1,

Maybe I'm misunderstanding you, but that's not what I did.  I'm not
trying to rebuild kernels with the config provided by Debian packages
(which I don't doubt would work), I'm trying to build my own kernel
packages from my own customised config.  Which I linked to in my
original bug report.

 The longrun.ko module exists in 2.6.15-1, is anything else needed?

  That was merely an example of why I wanted to build my own kernel
packages.  That one turned out to be a bad reason, but there might be
others (like, all the reasons justifying the existence of the
linux-source-* packages).

[End of He doesn't even try to understand me, whine whine]

  Anyway.  When reading the build log in more detail, then airo.c, I
understood the reason for the bug.  The function 'flashpchar' is
explicitly defined at the beginning of the file, but only in an
#ifdef/#endif block (testing for MICSUPPORT).  Unfortunately,
MICSUPPORT is #undefed earlier if CONFIG_CRYPTO is not defined.  Also,
the code using the flashpchar function seems not to be in a
#ifdef/#endif block.  So when the Crypto API is not enabled, you get a
call for a function whose prototype is missing.  If I just enable
that, then I can build my kernels again.

  I don't know what should be done, whether it's adding #ifdefs to the
function call or turning #warning MIC support requires Crypto API
into an #error, or tweaking the rules so that you can't enable the
airo module without the crypto API.  Your call, but I suggest this
should be at least signaled to upstream.

Roland.
-- 
Roland Mas

Just a little bit of you every day will surely keep the doctors away.
  -- Just a little bit of you (The Jackson Five)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#344205: linux-source-2.6.14: drivers/net/wireless/airo.c fails to compile

2006-01-06 Thread dann frazier
On Tue, 2006-01-03 at 21:24 +0100, Roland Mas wrote:
 reassign 344205 linux-source-2.6.15
 thanks
 
 Roland Mas, 2005-12-20 22:19:44 +0100 :
 
  Trying to build my kernel from the linux-source-2.6.14 package (and no
  external patches), I get an error in drivers/net/wireless/airo.c.
 
 Same happens with linux-source-2.6.15_2.6.15-1, so I'm reassigning.
 I'm tempted to upgrade to important, too.  Debian kernel images (at
 least up to 2.6.14) don't provide Longrun power management on my
 Crusoe laptop.  

The longrun.ko module exists in 2.6.15-1, is anything else needed?




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#344205: linux-source-2.6.14: drivers/net/wireless/airo.c fails to compile

2006-01-06 Thread dann frazier
tags 344205 + unreproducible
stop

On Tue, 2006-01-03 at 21:24 +0100, Roland Mas wrote:
 reassign 344205 linux-source-2.6.15
 thanks
 
 Roland Mas, 2005-12-20 22:19:44 +0100 :
 
  Trying to build my kernel from the linux-source-2.6.14 package (and no
  external patches), I get an error in drivers/net/wireless/airo.c.
 
 Same happens with linux-source-2.6.15_2.6.15-1, so I'm reassigning.

I followed your instructions, and I can't reproduce.
I used the 686 config from linux-image-2.6.12-1, ran make menuconfig w/o
changing anything, copied into a linux-source-2.6.15 (2.6.15-1) source
tree  ran make modules.  airo built w/o error:
  ...
  CC [M]  drivers/net/wireless/airo.o
  CC [M]  drivers/net/wireless/airo_cs.o
  CC [M]  drivers/net/wireless/atmel.o
  CC [M]  drivers/net/wireless/atmel_pci.o
  CC [M]  drivers/net/wireless/atmel_cs.o
  ...




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#344205: linux-source-2.6.14: drivers/net/wireless/airo.c fails to compile

2006-01-03 Thread Roland Mas
reassign 344205 linux-source-2.6.15
thanks

Roland Mas, 2005-12-20 22:19:44 +0100 :

 Trying to build my kernel from the linux-source-2.6.14 package (and no
 external patches), I get an error in drivers/net/wireless/airo.c.

Same happens with linux-source-2.6.15_2.6.15-1, so I'm reassigning.
I'm tempted to upgrade to important, too.  Debian kernel images (at
least up to 2.6.14) don't provide Longrun power management on my
Crusoe laptop.  So I'm stuck with 2.6.12 (the last version that I
managed to build), which makes the boot process horribly long (udev
takes almost two minutes to do its job before the computer can do
anything useful).

Roland.
-- 
Roland Mas

'And what would humans be without love?'
RARE, said Death.  -- in Sourcery (Terry Pratchett)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#344205: linux-source-2.6.14: drivers/net/wireless/airo.c fails to compile

2005-12-20 Thread Roland Mas
Package: linux-source-2.6.14
Version: 2.6.14-5
Severity: normal

Trying to build my kernel from the linux-source-2.6.14 package (and no
external patches), I get an error in drivers/net/wireless/airo.c.  The
full .config + log file is about 4500 lines, so I'm not sure whether I
should attach them to this bug report.  I uploaded them, they're
available (in the form of a script(1) transcript) at the following
URL: http://roland.mas.free.fr/tmp/make-kpkg.log

Short excerpt:

  CC [M]  drivers/net/wireless/airo_cs.o
  CC [M]  drivers/net/wireless/airo.o
drivers/net/wireless/airo.c:93:2: warning: #warning MIC support requires Crypto 
API
drivers/net/wireless/airo.c: In function 'flashcard':
drivers/net/wireless/airo.c:7495: warning: implicit declaration of function 
'flashpchar'
drivers/net/wireless/airo.c: At top level:
drivers/net/wireless/airo.c:7575: error: static declaration of 'flashpchar' 
follows non-static declaration
drivers/net/wireless/airo.c:7495: error: previous implicit declaration of 
'flashpchar' was here
make[4]: *** [drivers/net/wireless/airo.o] Error 1
make[3]: *** [drivers/net/wireless] Error 2

The .config file has been obtained by the following steps: starting
from a .config that worked under 2.6.12, copy to the new source
directory, make menuconfig, exit without changing anything, save
changes anyway.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages linux-source-2.6.14 depends on:
ii  binutils 2.16.1cvs20051214-1 The GNU assembler, linker and bina
ii  bzip21.0.2-11high-quality block-sorting file co

Versions of packages linux-source-2.6.14 recommends:
ii  gcc   4:4.0.2-2  The GNU C compiler
ii  libc6-dev [libc-dev]  2.3.5-9GNU C Library: Development Librari
ii  make  3.80+3.81.b4-1 The GNU version of the make util

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]