public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@fs.tum.de>
To: Andrew Morton <akpm@digeo.com>, t-kouchi@cq.jp.nec.com
Cc: linux-kernel@vger.kernel.org, greg@kroah.com
Subject: 2.5.66-mm3: acpiphp_glue.c must depend on CONFIG_ACPI_BUS
Date: Thu, 3 Apr 2003 22:02:29 +0200	[thread overview]
Message-ID: <20030403200228.GO3693@fs.tum.de> (raw)
In-Reply-To: <20030403005817.69a29d7b.akpm@digeo.com>

This is most likely neither new nor specific to -mm:

It seems drivers/hotplug/acpiphp_glue.c depends on CONFIG_ACPI_BUS 
and/or similar options but this isn't expressed in the Kconfig file 
(this compile error occurs with CONFIG_ACPI_HT_ONLY enabled):

<--  snip  -->

...
  gcc -Wp,-MD,drivers/hotplug/.acpiphp_glue.o.d -D__KERNEL__ -Iinclude 
-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
-pipe -mpreferred-stack-boundary=2 -march=k6 -Iinclude/asm-i386/mach-default 
-nostdinc -iwithprefix include  -D_LINUX 
-I/home/bunk/linux/kernel-2.5/linux-2.5.66-mm3/drivers/acpi  -DKBUILD_BASENAME=acpiphp_glue -DKBUILD_MODNAME=acpiphp -c -o 
drivers/hotplug/acpiphp_glue.o drivers/hotplug/acpiphp_glue.c
drivers/hotplug/acpiphp_glue.c:642: warning: `struct acpi_device' 
declared inside parameter list
drivers/hotplug/acpiphp_glue.c:642: warning: its scope is only this 
definition or declaration, which is probably not what you want
drivers/hotplug/acpiphp_glue.c: In function `add_bridges':
drivers/hotplug/acpiphp_glue.c:644: dereferencing pointer to incomplete type
drivers/hotplug/acpiphp_glue.c: In function `enable_device':
drivers/hotplug/acpiphp_glue.c:828: warning: assignment makes pointer 
from integer without a cast
drivers/hotplug/acpiphp_glue.c: At top level:
drivers/hotplug/acpiphp_glue.c:1050: variable `acpi_pci_hp_driver' has 
initializer but incomplete type
drivers/hotplug/acpiphp_glue.c:1051: unknown field `name' specified in 
initializer
drivers/hotplug/acpiphp_glue.c:1051: warning: excess elements in struct 
initializer
drivers/hotplug/acpiphp_glue.c:1051: warning: (near initialization for 
`acpi_pci_hp_driver')
drivers/hotplug/acpiphp_glue.c:1052: unknown field `class' specified in 
initializer
drivers/hotplug/acpiphp_glue.c:1052: warning: excess elements in struct 
initializer
drivers/hotplug/acpiphp_glue.c:1052: warning: (near initialization for 
`acpi_pci_hp_driver')
drivers/hotplug/acpiphp_glue.c:1053: unknown field `ids' specified in 
initializer
drivers/hotplug/acpiphp_glue.c:1053: warning: excess elements in struct 
initializer
drivers/hotplug/acpiphp_glue.c:1053: warning: (near initialization for 
`acpi_pci_hp_driver')
drivers/hotplug/acpiphp_glue.c:1054: unknown field `ops' specified in 
initializer
drivers/hotplug/acpiphp_glue.c:1054: extra brace group at end of 
initializer
drivers/hotplug/acpiphp_glue.c:1054: (near initialization for 
`acpi_pci_hp_driver')
drivers/hotplug/acpiphp_glue.c:1056: warning: excess elements in struct 
initializer
drivers/hotplug/acpiphp_glue.c:1056: warning: (near initialization for 
`acpi_pci_hp_driver')
drivers/hotplug/acpiphp_glue.c: In function `acpiphp_glue_init':
drivers/hotplug/acpiphp_glue.c:1070: warning: implicit declaration of 
function `acpi_bus_register_driver'
include/linux/ctype.h: At top level:
drivers/hotplug/acpiphp_glue.c:1050: storage size of 
`acpi_pci_hp_driver' isn't known
make[2]: *** [drivers/hotplug/acpiphp_glue.o] Error 1

<--  snip  -->

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


  parent reply	other threads:[~2003-04-03 19:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-03  8:58 2.5.66-mm3 Andrew Morton
2003-04-03 12:14 ` 2.5.66-mm3: drivers/atm/iphase.c doesn't compile Adrian Bunk
2003-04-03 12:24   ` chas williams
2003-04-03 12:34     ` David S. Miller
2003-04-03 12:45 ` 2.5.66-mm3 Erik Hensema
2003-04-03 20:02 ` Adrian Bunk [this message]
2003-06-01 12:06 ` 2.5.66-mm3 and raid still oopses, but later than mm1/mm2 Helge Hafting

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=20030403200228.GO3693@fs.tum.de \
    --to=bunk@fs.tum.de \
    --cc=akpm@digeo.com \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=t-kouchi@cq.jp.nec.com \
    /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