* 2.6.16-rc3-git5: drivers/acpi/osl.c:57:38: empty filename in #include @ 2006-02-15 23:12 Martin MOKREJŠ 2006-02-17 0:05 ` Adrian Bunk 0 siblings, 1 reply; 7+ messages in thread From: Martin MOKREJŠ @ 2006-02-15 23:12 UTC (permalink / raw) To: LKML Hi, I have the following problem when compiling linux kernel on Intel Pentium4M machine: drivers/acpi/osl.c:57:38: empty filename in #include drivers/acpi/osl.c: In function `acpi_os_table_override': drivers/acpi/osl.c:258: error: `AmlCode' undeclared (first use in this function) drivers/acpi/osl.c:258: error: (Each undeclared identifier is reported only once drivers/acpi/osl.c:258: error: for each function it appears in.) make[2]: *** [drivers/acpi/osl.o] Error 1 It turned out I have enabled the custom DSDT option but the field for the custom file have left empty. That's the cause for the error. Something should probably take care of this case. I use "menuconfig" to manipulate the .config file. M. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6.16-rc3-git5: drivers/acpi/osl.c:57:38: empty filename in #include 2006-02-15 23:12 2.6.16-rc3-git5: drivers/acpi/osl.c:57:38: empty filename in #include Martin MOKREJŠ @ 2006-02-17 0:05 ` Adrian Bunk 2006-02-17 0:11 ` Randy.Dunlap 2006-02-17 9:12 ` Martin MOKREJŠ 0 siblings, 2 replies; 7+ messages in thread From: Adrian Bunk @ 2006-02-17 0:05 UTC (permalink / raw) To: Martin MOKREJ?; +Cc: LKML On Thu, Feb 16, 2006 at 12:12:19AM +0100, Martin MOKREJ? wrote: > Hi, Hi Martin, > I have the following problem when compiling linux kernel on Intel > Pentium4M machine: > > drivers/acpi/osl.c:57:38: empty filename in #include > drivers/acpi/osl.c: In function `acpi_os_table_override': > drivers/acpi/osl.c:258: error: `AmlCode' undeclared (first use in > this function) > drivers/acpi/osl.c:258: error: (Each undeclared identifier is > reported only once > drivers/acpi/osl.c:258: error: for each function it appears in.) > make[2]: *** [drivers/acpi/osl.o] Error 1 > > It turned out I have enabled the custom DSDT option but the field > for the custom file have left empty. That's the cause for the error. > Something should probably take care of this case. I use "menuconfig" > to manipulate the .config file. this is a class of errors Kconfig can't handle. And if it was handled, the next problems were to check first whether the file exists, and next whether it's actually a valid DSDT table file... Kconfig helps you to avoid many errors, but there are classes of errors it simply can't prevent. > M. 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6.16-rc3-git5: drivers/acpi/osl.c:57:38: empty filename in #include 2006-02-17 0:05 ` Adrian Bunk @ 2006-02-17 0:11 ` Randy.Dunlap 2006-02-17 0:56 ` Adrian Bunk 2006-02-17 9:12 ` Martin MOKREJŠ 1 sibling, 1 reply; 7+ messages in thread From: Randy.Dunlap @ 2006-02-17 0:11 UTC (permalink / raw) To: Adrian Bunk; +Cc: Martin MOKREJ?, LKML On Fri, 17 Feb 2006, Adrian Bunk wrote: > On Thu, Feb 16, 2006 at 12:12:19AM +0100, Martin MOKREJ? wrote: > > > Hi, > > Hi Martin, > > > I have the following problem when compiling linux kernel on Intel > > Pentium4M machine: > > > > drivers/acpi/osl.c:57:38: empty filename in #include > > drivers/acpi/osl.c: In function `acpi_os_table_override': > > drivers/acpi/osl.c:258: error: `AmlCode' undeclared (first use in > > this function) > > drivers/acpi/osl.c:258: error: (Each undeclared identifier is > > reported only once > > drivers/acpi/osl.c:258: error: for each function it appears in.) > > make[2]: *** [drivers/acpi/osl.o] Error 1 > > > > It turned out I have enabled the custom DSDT option but the field > > for the custom file have left empty. That's the cause for the error. > > Something should probably take care of this case. I use "menuconfig" > > to manipulate the .config file. > > this is a class of errors Kconfig can't handle. > > And if it was handled, the next problems were to check first whether the > file exists, and next whether it's actually a valid DSDT table file... > > Kconfig helps you to avoid many errors, but there are classes of errors > it simply can't prevent. Adrian, I looked at this one also, and I cannot find /AmlCode/ in any .h or .c file. Did you find it? if so, where? thanks, -- ~Randy ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6.16-rc3-git5: drivers/acpi/osl.c:57:38: empty filename in #include 2006-02-17 0:11 ` Randy.Dunlap @ 2006-02-17 0:56 ` Adrian Bunk 2006-02-17 0:58 ` Randy.Dunlap 0 siblings, 1 reply; 7+ messages in thread From: Adrian Bunk @ 2006-02-17 0:56 UTC (permalink / raw) To: Randy.Dunlap; +Cc: Martin MOKREJ?, LKML On Thu, Feb 16, 2006 at 04:11:32PM -0800, Randy.Dunlap wrote: > On Fri, 17 Feb 2006, Adrian Bunk wrote: > > > On Thu, Feb 16, 2006 at 12:12:19AM +0100, Martin MOKREJ? wrote: > > > > > Hi, > > > > Hi Martin, > > > > > I have the following problem when compiling linux kernel on Intel > > > Pentium4M machine: > > > > > > drivers/acpi/osl.c:57:38: empty filename in #include > > > drivers/acpi/osl.c: In function `acpi_os_table_override': > > > drivers/acpi/osl.c:258: error: `AmlCode' undeclared (first use in > > > this function) > > > drivers/acpi/osl.c:258: error: (Each undeclared identifier is > > > reported only once > > > drivers/acpi/osl.c:258: error: for each function it appears in.) > > > make[2]: *** [drivers/acpi/osl.o] Error 1 > > > > > > It turned out I have enabled the custom DSDT option but the field > > > for the custom file have left empty. That's the cause for the error. > > > Something should probably take care of this case. I use "menuconfig" > > > to manipulate the .config file. > > > > this is a class of errors Kconfig can't handle. > > > > And if it was handled, the next problems were to check first whether the > > file exists, and next whether it's actually a valid DSDT table file... > > > > Kconfig helps you to avoid many errors, but there are classes of errors > > it simply can't prevent. > > Adrian, I looked at this one also, and I cannot find /AmlCode/ > in any .h or .c file. Did you find it? if so, where? I'm seeing it in both 2.6.15.4 and Linus' current tree at exactly the place the error message from the bug report mentions it. > thanks, > ~Randy 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6.16-rc3-git5: drivers/acpi/osl.c:57:38: empty filename in #include 2006-02-17 0:56 ` Adrian Bunk @ 2006-02-17 0:58 ` Randy.Dunlap 2006-02-17 1:30 ` Adrian Bunk 0 siblings, 1 reply; 7+ messages in thread From: Randy.Dunlap @ 2006-02-17 0:58 UTC (permalink / raw) To: Adrian Bunk; +Cc: Randy.Dunlap, Martin MOKREJ?, LKML On Fri, 17 Feb 2006, Adrian Bunk wrote: > On Thu, Feb 16, 2006 at 04:11:32PM -0800, Randy.Dunlap wrote: > > On Fri, 17 Feb 2006, Adrian Bunk wrote: > > > > > On Thu, Feb 16, 2006 at 12:12:19AM +0100, Martin MOKREJ? wrote: > > > > > > > Hi, > > > > > > Hi Martin, > > > > > > > I have the following problem when compiling linux kernel on Intel > > > > Pentium4M machine: > > > > > > > > drivers/acpi/osl.c:57:38: empty filename in #include > > > > drivers/acpi/osl.c: In function `acpi_os_table_override': > > > > drivers/acpi/osl.c:258: error: `AmlCode' undeclared (first use in > > > > this function) > > > > drivers/acpi/osl.c:258: error: (Each undeclared identifier is > > > > reported only once > > > > drivers/acpi/osl.c:258: error: for each function it appears in.) > > > > make[2]: *** [drivers/acpi/osl.o] Error 1 > > > > > > > > It turned out I have enabled the custom DSDT option but the field > > > > for the custom file have left empty. That's the cause for the error. > > > > Something should probably take care of this case. I use "menuconfig" > > > > to manipulate the .config file. > > > > > > this is a class of errors Kconfig can't handle. > > > > > > And if it was handled, the next problems were to check first whether the > > > file exists, and next whether it's actually a valid DSDT table file... > > > > > > Kconfig helps you to avoid many errors, but there are classes of errors > > > it simply can't prevent. > > > > Adrian, I looked at this one also, and I cannot find /AmlCode/ > > in any .h or .c file. Did you find it? if so, where? > > I'm seeing it in both 2.6.15.4 and Linus' current tree at exactly the > place the error message from the bug report mentions it. Yep, I screwed up my question. Where is it defined/declared? That's what I can't find. -- ~Randy ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6.16-rc3-git5: drivers/acpi/osl.c:57:38: empty filename in #include 2006-02-17 0:58 ` Randy.Dunlap @ 2006-02-17 1:30 ` Adrian Bunk 0 siblings, 0 replies; 7+ messages in thread From: Adrian Bunk @ 2006-02-17 1:30 UTC (permalink / raw) To: Randy.Dunlap; +Cc: Martin MOKREJ?, LKML On Thu, Feb 16, 2006 at 04:58:44PM -0800, Randy.Dunlap wrote: > On Fri, 17 Feb 2006, Adrian Bunk wrote: > > > On Thu, Feb 16, 2006 at 04:11:32PM -0800, Randy.Dunlap wrote: > > > On Fri, 17 Feb 2006, Adrian Bunk wrote: > > > > > > > On Thu, Feb 16, 2006 at 12:12:19AM +0100, Martin MOKREJ? wrote: > > > > > > > > > Hi, > > > > > > > > Hi Martin, > > > > > > > > > I have the following problem when compiling linux kernel on Intel > > > > > Pentium4M machine: > > > > > > > > > > drivers/acpi/osl.c:57:38: empty filename in #include > > > > > drivers/acpi/osl.c: In function `acpi_os_table_override': > > > > > drivers/acpi/osl.c:258: error: `AmlCode' undeclared (first use in > > > > > this function) > > > > > drivers/acpi/osl.c:258: error: (Each undeclared identifier is > > > > > reported only once > > > > > drivers/acpi/osl.c:258: error: for each function it appears in.) > > > > > make[2]: *** [drivers/acpi/osl.o] Error 1 > > > > > > > > > > It turned out I have enabled the custom DSDT option but the field > > > > > for the custom file have left empty. That's the cause for the error. > > > > > Something should probably take care of this case. I use "menuconfig" > > > > > to manipulate the .config file. > > > > > > > > this is a class of errors Kconfig can't handle. > > > > > > > > And if it was handled, the next problems were to check first whether the > > > > file exists, and next whether it's actually a valid DSDT table file... > > > > > > > > Kconfig helps you to avoid many errors, but there are classes of errors > > > > it simply can't prevent. > > > > > > Adrian, I looked at this one also, and I cannot find /AmlCode/ > > > in any .h or .c file. Did you find it? if so, where? > > > > I'm seeing it in both 2.6.15.4 and Linus' current tree at exactly the > > place the error message from the bug report mentions it. > > Yep, I screwed up my question. Where is it defined/declared? > That's what I can't find. In the file whose name you have to set with CONFIG_ACPI_CUSTOM_DSDT_FILE. > ~Randy 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6.16-rc3-git5: drivers/acpi/osl.c:57:38: empty filename in #include 2006-02-17 0:05 ` Adrian Bunk 2006-02-17 0:11 ` Randy.Dunlap @ 2006-02-17 9:12 ` Martin MOKREJŠ 1 sibling, 0 replies; 7+ messages in thread From: Martin MOKREJŠ @ 2006-02-17 9:12 UTC (permalink / raw) To: Adrian Bunk; +Cc: LKML Hi Adrian, thanks for answer, pitty that Kconfig cannot prevent empty values. But I don't mind that much. M. Adrian Bunk wrote: > On Thu, Feb 16, 2006 at 12:12:19AM +0100, Martin MOKREJ? wrote: >> I have the following problem when compiling linux kernel on Intel >>Pentium4M machine: >> >>drivers/acpi/osl.c:57:38: empty filename in #include >>drivers/acpi/osl.c: In function `acpi_os_table_override': >>drivers/acpi/osl.c:258: error: `AmlCode' undeclared (first use in >>this function) >>drivers/acpi/osl.c:258: error: (Each undeclared identifier is >>reported only once >>drivers/acpi/osl.c:258: error: for each function it appears in.) >>make[2]: *** [drivers/acpi/osl.o] Error 1 >> >> It turned out I have enabled the custom DSDT option but the field >>for the custom file have left empty. That's the cause for the error. >>Something should probably take care of this case. I use "menuconfig" >>to manipulate the .config file. > > > this is a class of errors Kconfig can't handle. > > And if it was handled, the next problems were to check first whether the > file exists, and next whether it's actually a valid DSDT table file... > > Kconfig helps you to avoid many errors, but there are classes of errors > it simply can't prevent. ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2006-02-17 9:12 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2006-02-15 23:12 2.6.16-rc3-git5: drivers/acpi/osl.c:57:38: empty filename in #include Martin MOKREJŠ 2006-02-17 0:05 ` Adrian Bunk 2006-02-17 0:11 ` Randy.Dunlap 2006-02-17 0:56 ` Adrian Bunk 2006-02-17 0:58 ` Randy.Dunlap 2006-02-17 1:30 ` Adrian Bunk 2006-02-17 9:12 ` Martin MOKREJŠ
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox