All of lore.kernel.org
 help / color / mirror / Atom feed
* Compilation error acpi-20020725-2.4.18
@ 2002-07-26 14:19 Birger Peer Küpper
       [not found] ` <20020726141906.3578.qmail-t5zJAXK//yKELgA04lAiVw@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Birger Peer Küpper @ 2002-07-26 14:19 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hello,
I`ve patched a 2.4.18 vanilla Kernel with the acpi-20020725-2.4.18.diff Patch.

During compilation I got some errors like:
----------------------------------------------------------------------
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes 
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common 
-pipe -mpreferred-stack-boundary=2 -march=i686  -D_LINUX 
-I/usr/src/linux/drivers/acpi/include -DACPI_DEBUG -DKBUILD_BASENAME=dswexec  
-c -o dswexec.o dswexec.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes 
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common 
-pipe -mpreferred-stack-boundary=2 -march=i686  -D_LINUX 
-I/usr/src/linux/drivers/acpi/include -DACPI_DEBUG -DKBUILD_BASENAME=dswload  
-c -o dswload.o dswload.c
dswload.c: In function `acpi_ds_load2_end_op':
dswload.c:451: structure has no member named `name'
make[4]: *** [dswload.o] Error 1
make[4]: Leaving directory `/usr/src/linux/drivers/acpi/dispatcher'
make[3]: *** [first_rule] Error 2
make[3]: Leaving directory `/usr/src/linux/drivers/acpi/dispatcher'
make[2]: *** [_subdir_dispatcher] Error 2
make[2]: Leaving directory `/usr/src/linux/drivers/acpi'
make[1]: *** [_subdir_acpi] Error 2
make[1]: Leaving directory `/usr/src/linux/drivers'
make: *** [_dir_drivers] Error 2
Bay:/usr/src/linux#
--------------------------------------------

Has anyone any Idea what`s wrong?

Thanks a lot....


Birger


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

* Re: Compilation error acpi-20020725-2.4.18
       [not found] ` <20020726141906.3578.qmail-t5zJAXK//yKELgA04lAiVw@public.gmane.org>
@ 2002-07-26 14:27   ` Charl P. Botha
  2002-07-26 15:32   ` Faye Pearson
  2002-07-26 17:11   ` Mathias Kolehmainen
  2 siblings, 0 replies; 5+ messages in thread
From: Charl P. Botha @ 2002-07-26 14:27 UTC (permalink / raw)
  To: Birger Peer Küpper; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Fri, Jul 26, 2002 at 04:19:05PM +0200, Birger Peer Küpper wrote:
> dswload.c: In function `acpi_ds_load2_end_op':
> dswload.c:451: structure has no member named `name'
> make[4]: *** [dswload.o] Error 1
> make[4]: Leaving directory `/usr/src/linux/drivers/acpi/dispatcher'
> make[3]: *** [first_rule] Error 2
> make[3]: Leaving directory `/usr/src/linux/drivers/acpi/dispatcher'
> make[2]: *** [_subdir_dispatcher] Error 2
> make[2]: Leaving directory `/usr/src/linux/drivers/acpi'
> make[1]: *** [_subdir_acpi] Error 2
> make[1]: Leaving directory `/usr/src/linux/drivers'
> make: *** [_dir_drivers] Error 2

There's a problem with a define.  I fixed it on my box but I'm now getting
an oops on bootup; this oops might be due to some other problem with ACPI on
my system.  You could TRY to add #define ACPI_DISASSEMBLER to the top of
drivers/acpi/include/platform/acenv.h and rebuild, but I would not recommend
it, at least not until some of the experienced ACPI kids have looked at it.

I'll also be posting more information soon, I think.

-- 
charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

* Re: Compilation error acpi-20020725-2.4.18
       [not found] ` <20020726141906.3578.qmail-t5zJAXK//yKELgA04lAiVw@public.gmane.org>
  2002-07-26 14:27   ` Charl P. Botha
@ 2002-07-26 15:32   ` Faye Pearson
  2002-07-26 17:11   ` Mathias Kolehmainen
  2 siblings, 0 replies; 5+ messages in thread
From: Faye Pearson @ 2002-07-26 15:32 UTC (permalink / raw)
  To: Birger Peer K?pper; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Birger Peer K?pper [kuepper-juygj+9FDkuELgA04lAiVw@public.gmane.org] wrote:
> Hello,
> I`ve patched a 2.4.18 vanilla Kernel with the acpi-20020725-2.4.18.diff Patch.
> 
> During compilation I got some errors like:
> ----------------------------------------------------------------------
> dswload.c: In function `acpi_ds_load2_end_op':
> dswload.c:451: structure has no member named `name'
> 
> Has anyone any Idea what`s wrong?
> 
> Thanks a lot....

Linus Torvalds reported the same error, I'm sure there will be a fix
soon :)


Faye

-- 
Faye Pearson,
Software Development Manager,
ClaraNET Ltd.       Tel 020 7903 3000

"Ain't that something what happened today.  One of us got traded to
Kansas City."
		-- Casey Stengel, informing outfielder Bob Cerv he'd
		   been traded.


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

* Re: Compilation error acpi-20020725-2.4.18
       [not found] ` <20020726141906.3578.qmail-t5zJAXK//yKELgA04lAiVw@public.gmane.org>
  2002-07-26 14:27   ` Charl P. Botha
  2002-07-26 15:32   ` Faye Pearson
@ 2002-07-26 17:11   ` Mathias Kolehmainen
  2 siblings, 0 replies; 5+ messages in thread
From: Mathias Kolehmainen @ 2002-07-26 17:11 UTC (permalink / raw)
  To: Birger Peer Küpper; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: TEXT/PLAIN; charset=X-UNKNOWN, Size: 491 bytes --]

I just removed all references to that 'name' field to make it compile.  It
seems to work once you do that.


-mathias


On Fri, 26 Jul 2002, Birger Peer [iso-8859-15] Küpper wrote:

> Hello,
> I`ve patched a 2.4.18 vanilla Kernel with the acpi-20020725-2.4.18.diff Patch.
> 
> During compilation I got some errors like:



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

* RE: Compilation error acpi-20020725-2.4.18
@ 2002-07-26 17:22 Grover, Andrew
  0 siblings, 0 replies; 5+ messages in thread
From: Grover, Andrew @ 2002-07-26 17:22 UTC (permalink / raw)
  To: 'Charl P. Botha', Birger Peer Küpper
  Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

> From: Charl P. Botha [mailto:c.p.botha-ra0OqMccq8edIhEUFHOBvg@public.gmane.org] 
> > dswload.c: In function `acpi_ds_load2_end_op':
> > dswload.c:451: structure has no member named `name'
> > make[4]: *** [dswload.o] Error 1
> > make[4]: Leaving directory `/usr/src/linux/drivers/acpi/dispatcher'
> > make[3]: *** [first_rule] Error 2
> > make[3]: Leaving directory `/usr/src/linux/drivers/acpi/dispatcher'
> > make[2]: *** [_subdir_dispatcher] Error 2
> > make[2]: Leaving directory `/usr/src/linux/drivers/acpi'
> > make[1]: *** [_subdir_acpi] Error 2
> > make[1]: Leaving directory `/usr/src/linux/drivers'
> > make: *** [_dir_drivers] Error 2
> 
> There's a problem with a define.  I fixed it on my box but 
> I'm now getting
> an oops on bootup; this oops might be due to some other 
> problem with ACPI on
> my system.  You could TRY to add #define ACPI_DISASSEMBLER to 
> the top of
> drivers/acpi/include/platform/acenv.h and rebuild, but I 
> would not recommend
> it, at least not until some of the experienced ACPI kids have 
> looked at it.

It's in a debug message, so turning off acpi debug should get things at
least compiling again.

I'm sure it's an easy fix, so I'll get on it, and post again when it's
fixed. Turning on ACPI_DISASSEMBLER is *not* the correct solution.

/me dons a brown paper bag

Regards -- Andy


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

end of thread, other threads:[~2002-07-26 17:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-26 14:19 Compilation error acpi-20020725-2.4.18 Birger Peer Küpper
     [not found] ` <20020726141906.3578.qmail-t5zJAXK//yKELgA04lAiVw@public.gmane.org>
2002-07-26 14:27   ` Charl P. Botha
2002-07-26 15:32   ` Faye Pearson
2002-07-26 17:11   ` Mathias Kolehmainen
2002-07-26 17:22 Grover, Andrew

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.