Bug 13997 - Compilation fails
Summary: Compilation fails
Status: CLOSED INVALID
Alias: None
Product: ACPI
Classification: Unclassified
Component: ACPICA-Core (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: acpi_acpica-core@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-16 15:09 UTC by Jeroen Dekien
Modified: 2009-08-29 22:28 UTC (History)
2 users (show)

See Also:
Kernel Version:
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Jeroen Dekien 2009-08-16 15:09:05 UTC
drivers/acpi/pci_root.c: In function 'acpi_pci_osc_control_set':
drivers/acpi/pci_root.c:324: error: 'Status' undeclared (first use in this function)
drivers/acpi/pci_root.c:324: error: (Each undeclared identifier is reported only once
drivers/acpi/pci_root.c:324: error: for each function it appears in.)
drivers/acpi/pci_root.c:336: error: implicit declaration of function 'If'
drivers/acpi/pci_root.c:337: error: expected ';' before 'goto'
drivers/acpi/pci_root.c:341: error: 'acpi_pci' undeclared (first use in this function)
drivers/acpi/pci_root.c:341: error: expected ';' before ']' token
drivers/acpi/pci_root.c:341: error: expected statement before ']' token
drivers/acpi/pci_root.c:341: error: implicit declaration of function 'query_osc'
drivers/acpi/pci_root.c:342: error: 'statUs' undeclared (first use in this function)
drivers/acpi/pci_root.c:348: error: 'AE' undeclared (first use in this function)
drivers/acpi/pci_root.c:348: error: expected ';' before ']' token
drivers/acpi/pci_root.c:348: error: expected statement before ']' token
drivers/acpi/pci_root.c:348: error: 'SUPPORT' undeclared (first use in this function)
drivers/acpi/pci_root.c: In function 'acpi_pci_root_add':
drivers/acpi/pci_root.c:396: error: 'rooT' undeclared (first use in this function)
drivers/acpi/pci_root.c:407:19: warning: null character(s) ignored
drivers/acpi/pci_root.c:416: error: 'reSult' undeclared (first use in this function)
drivers/acpi/pci_root.c:480: error: 'rOot' undeclared (first use in this function)
drivers/acpi/pci_root.c:493: error: 'Root' undeclared (first use in this function)
drivers/acpi/pci_root.c:503: error: 'deviae' undeclared (first use in this function)
drivers/acpi/pci_root.c: In function 'acpi_pci_root_remove':
drivers/acpi/pci_root.c:566: error: implicit declaration of function 'acpi_driver_Data'
drivers/acpi/pci_root.c:566: warning: assignment makes pointer from integer without a cast
drivers/acpi/pci_root.c: In function 'acpi_pci_root_init':
drivers/acpi/pci_root.c:578: error: 'acpi_pci_root_drivep' undeclared (first use in this function)
make[2]: *** [drivers/acpi/pci_root.o] Error 1
make[1]: *** [drivers/acpi] Error 2
make: *** [drivers] Error 2
Comment 1 Zhang Rui 2009-08-17 01:51:43 UTC
Hmm, I don't think this is a kernel bug.
All the errors you listed is impossible in a vanilla kernel.
I suspect something is wrong in the kernel source on your laptop.
Please download the kernel source at http://www.kernel.org/pub/linux/kernel/v2.6/
and re-open this bug if the problem still happens in the new kernel source.
Comment 2 Jeroen Dekien 2009-08-17 18:37:20 UTC
Thanks,

It actualy was vanilla kernel (2.6.30.4), but today i noticed that 2.6.30.5
was released and tried that, i didn't get the acpi error but the following
error:

sound/pci/intel8x0.c: In function 'snd_intel8x0_chip_init':
sound/pci/intel8x0.c:2514: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.gentoo.org/> for instructions.
make[2]: *** [sound/pci/intel8x0.o] Error 1
make[1]: *** [sound/pci] Error 2
make: *** [sound] Error 2

 gonna try upgrading to gcc 4.4 from 4.3 before posting another error.

Greetings,
Jeroen


On Mon, Aug 17, 2009 at 3:51 AM, <bugzilla-daemon@bugzilla.kernel.org>wrote:

> http://bugzilla.kernel.org/show_bug.cgi?id=13997
>
>
> Zhang Rui <rui.zhang@intel.com> changed:
>
>           What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>             Status|NEW                         |RESOLVED
>                 CC|                            |rui.zhang@intel.com
>         Resolution|                            |INVALID
>
>
>
>
> --- Comment #1 from Zhang Rui <rui.zhang@intel.com>  2009-08-17 01:51:43
> ---
> Hmm, I don't think this is a kernel bug.
> All the errors you listed is impossible in a vanilla kernel.
> I suspect something is wrong in the kernel source on your laptop.
> Please download the kernel source at
> http://www.kernel.org/pub/linux/kernel/v2.6/
> and re-open this bug if the problem still happens in the new kernel source.
>
> --
> Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
>
Comment 3 Zhang Rui 2009-08-18 00:57:13 UTC
hmm, how about updating your gcc?

Note You need to log in before you can comment on or make changes to this bug.