Skip to contentSkip to conversation

Compilation error acpi-20020725-2.4.18

DISCUSSION Birger Peer Küpper 4 participants 4 messages Jul 26, 2002 1 message not in the archive ACPI

lore
Share & tools
lore
#0 lore raw

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

#2 lore raw
In reply to a message not in the archive
Quoted 11 lines · Birger Peer Küpper

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.

Signature · 7 lines
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
#3 lore raw
In reply to a message not in the archive
Quoted 11 lines · Birger Peer K?pper [[email protected]] 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

Signature · 14 lines
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
#4 lore raw
In reply to a message not in the archive

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

-mathias

Quoted 4 lines · 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