All of lore.kernel.org
 help / color / mirror / Atom feed
* Can't compile 2.6.32
@ 2009-12-04 13:32 Grozdan
  2009-12-04 22:25 ` Randy Dunlap
  0 siblings, 1 reply; 13+ messages in thread
From: Grozdan @ 2009-12-04 13:32 UTC (permalink / raw)
  To: linux-kernel

Hello,

I'm having trouble trying to compile the 2.6.32 kernel on my openSUSE
11.1 system. While doing so, I see a lot of warnings which seem to
come from include/acpi/acpiosxf.h and then when the compile process
enters the drivers/acpi directory, it errors out with the following:

  CC      drivers/acpi/tables.o
In file included from include/acpi/acpi.h:63,
                 from include/linux/acpi.h:39,
                 from drivers/acpi/tables.c:33:
include/acpi/acpiosxf.h: In function ‘acpi_load_override_tables’:
include/acpi/acpiosxf.h:98: warning: no return statement in function
returning non-void
  CC      drivers/acpi/blacklist.o
In file included from include/acpi/acpi.h:63,
                 from include/linux/acpi.h:39,
                 from drivers/acpi/blacklist.c:33:
include/acpi/acpiosxf.h: In function ‘acpi_load_override_tables’:
include/acpi/acpiosxf.h:98: warning: no return statement in function
returning non-void
  CC      drivers/acpi/osl.o
In file included from include/acpi/acpi.h:63,
                 from include/linux/acpi.h:39,
                 from drivers/acpi/osl.c:40:
include/acpi/acpiosxf.h: In function ‘acpi_load_override_tables’:
include/acpi/acpiosxf.h:98: warning: no return statement in function
returning non-void
drivers/acpi/osl.c: At top level:
drivers/acpi/osl.c:514: error: redefinition of ‘acpi_load_override_tables’
include/acpi/acpiosxf.h:98: error: previous definition of
‘acpi_load_override_tables’ was here
make[2]: *** [drivers/acpi/osl.o] Error 1
make[1]: *** [drivers/acpi] Error 2
make: *** [drivers] Error 2

Thoughts, solutions, etc?

PS: please CC me as I'm not subscribed to the list.

^ permalink raw reply	[flat|nested] 13+ messages in thread
* Re: Can't compile 2.6.32
@ 2009-12-05  2:03 ` Randy Dunlap
  0 siblings, 0 replies; 13+ messages in thread
From: Randy Dunlap @ 2009-12-05  2:03 UTC (permalink / raw)
  To: neutrino8; +Cc: linux-acpi, linux-kernel


A bit more info on this. It seems there's a
CONFIG_ACPI_CUSTOM_OVERRIDE_INITRAMFS in the "normal" SUSE source RPM
package (which in my config is not enabled, but there is an option for
that) and looking at the drivers/acpi/osl.c and the
include/acpi/acpiosxf.h file, there's a define for this in the header
which has acpi_load_override_tables(void); and also this is present in
the osl.c file.... see both attachments. I could not find the same
thing in the kernel-default-vanilla source RPM package also present in
the repo.

~~~~~~~~~~~~~~~~~~  reply: ~~~~~~~~~~~~~~~~~~~~~~~~

You should take this up with the OpenSUSE people, not lkml.

Thanks,
~Randy

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2009-12-05  2:12 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-04 13:32 Can't compile 2.6.32 Grozdan
2009-12-04 22:25 ` Randy Dunlap
2009-12-04 22:30   ` Grozdan
2009-12-04 23:05     ` Randy Dunlap
2009-12-04 23:05       ` Randy Dunlap
2009-12-05  0:29       ` Justin P. Mattock
2009-12-05  0:29         ` Justin P. Mattock
2009-12-05  0:43         ` Randy Dunlap
2009-12-05  0:43           ` Randy Dunlap
  -- strict thread matches above, loose matches on Subject: below --
2009-12-05  2:03 Randy Dunlap
2009-12-05  2:03 ` Randy Dunlap
2009-12-05  2:12 ` Grozdan
2009-12-05  2:12   ` Grozdan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.