The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: Ben Castricum <benc@bencastricum.nl>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.12-rc2 compile error in drivers/usb/class/cdc-acm.c
Date: Wed, 6 Apr 2005 02:18:07 +0200	[thread overview]
Message-ID: <20050406001807.GB7226@stusta.de> (raw)
In-Reply-To: <Pine.LNX.4.58.0504051026330.30674@gateway.bencastricum.nl>

On Tue, Apr 05, 2005 at 10:54:09AM +0200, Ben Castricum wrote:
> 
> 2.6.12-rc1 compiles and runs perfectly.
> 
> gcc version 2.95.3 20010315 (release)
> 
>   CC [M]  drivers/usb/class/cdc-acm.o
> In file included from drivers/usb/class/cdc-acm.c:63:
> include/linux/usb_cdc.h:117: field `bDetailData' has incomplete type
> make[3]: *** [drivers/usb/class/cdc-acm.o] Error 1
> make[2]: *** [drivers/usb/class] Error 2
> make[1]: *** [drivers/usb] Error 2
> make: *** [drivers] Error 2


That's a known problem already fixed in -mm.


> I also get several warnings while compiling the kernel:
> 
> 
>   CC      fs/quota_v2.o
> fs/quota_v2.c: In function `v2_write_dquot':
> fs/quota_v2.c:399: warning: unknown conversion type character `z' in
> format
> fs/quota_v2.c:399: warning: too many arguments for format
> 
>   CC [M]  drivers/acpi/processor_idle.o
> drivers/acpi/processor_idle.c: In function
> `acpi_processor_power_seq_show':
> drivers/acpi/processor_idle.c:868: warning: unknown conversion type
> character `z' in format
> drivers/acpi/processor_idle.c:868: warning: too many arguments for format
> drivers/acpi/processor_idle.c:899: warning: unknown conversion type
> character `z' in format
> drivers/acpi/processor_idle.c:899: warning: too many arguments for format
> drivers/acpi/processor_idle.c:906: warning: unknown conversion type
> character `z' in format
> drivers/acpi/processor_idle.c:906: warning: too many arguments for format
>...


These are warnings that only occur with gcc 2.95 and that can safely be
ignored.


> Hope this helps,
> Ben


cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


  reply	other threads:[~2005-04-06  0:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-05  8:54 2.6.12-rc2 compile error in drivers/usb/class/cdc-acm.c Ben Castricum
2005-04-06  0:18 ` Adrian Bunk [this message]
2005-04-06  8:22   ` Ben Castricum
2005-04-06 22:23     ` Andrew Morton
2005-04-07 22:21     ` Adrian Bunk

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=20050406001807.GB7226@stusta.de \
    --to=bunk@stusta.de \
    --cc=benc@bencastricum.nl \
    --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