LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 10-29-2003, 12:45 PM   #1
crisponions
LQ Newbie
 
Registered: Feb 2002
Distribution: RedHat (currently 9.0)
Posts: 29

Rep: Reputation: 15
Unhappy ACPI patch and kernel compile error


I have a dell inspiron 5100 and have been trying in vain to get the power management to work. I have downloaded the 2.4.22 sources applied the dsdt patch and created a hex file with the Dell-custom.......asl patch etc.

My problem is when I try to compile the kernel I get the following error.

make[3]: Entering directory `/usr/src/linux-2.4.22/drivers/acpi'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.22/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -Os -nostdinc -iwithprefix include -DKBUILD_BASENAME=osl -c -o osl.o osl.c
osl.c: In function `acpi_os_table_override':
osl.c:236: `acpi_table_header' undeclared (first use in this function)
osl.c:236: (Each undeclared identifier is reported only once
osl.c:236: for each function it appears in.)
osl.c:236: parse error before ')' token
osl.c:236: warning: statement with no effect
make[3]: *** [osl.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.22/drivers/acpi'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.22/drivers/acpi'
make[1]: *** [_subdir_acpi] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.22/drivers'
make: *** [_dir_drivers] Error 2

I have tried everything I can think of, including deleting the sources and starting from scratch several times. Any help would be appriciated
 
Old 10-29-2003, 01:50 PM   #2
lupin_the_3rd
Member
 
Registered: Oct 2003
Location: Memphis, TN
Distribution: Slackware current
Posts: 485

Rep: Reputation: 30
try it using your current kernel configuration
 
Old 10-29-2003, 04:08 PM   #3
crisponions
LQ Newbie
 
Registered: Feb 2002
Distribution: RedHat (currently 9.0)
Posts: 29

Original Poster
Rep: Reputation: 15
that is what I have been doing, I have also tried using the "safe" config that redhat 9 generated during install.

Last edited by crisponions; 10-29-2003 at 04:15 PM.
 
Old 10-29-2003, 06:52 PM   #4
crisponions
LQ Newbie
 
Registered: Feb 2002
Distribution: RedHat (currently 9.0)
Posts: 29

Original Poster
Rep: Reputation: 15
Well, I got the battery monitor working which is mainly what I was concerned about, I will move on to suspend and sleep later.

Just a note I never got the patching of the kernel with the dsdt patch to work successfully, I ended up finding another post here that had a link to a different sert of patches and that worked.

http://www.linuxquestions.org/questi...i&pagenumber=2
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Patch Configuration Error RedShirt Linux - Software 6 11-07-2005 07:16 AM
Error with sound after recompiling kernel and adding acpi patch pele_smk Slackware 3 01-04-2004 05:09 AM
No more modules after kernel compile w/ ck patch uglydot Slackware 3 11-10-2003 03:04 PM
Kernel Compile error after applyin bootsplash patch h1tman Slackware 0 10-06-2003 09:05 AM
Kernel compile error/system hangs, APIC/ACPI taids Linux - Hardware 14 08-23-2003 06:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 01:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration