LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-02-2004, 08:00 PM   #1
asmund1
LQ Newbie
 
Registered: Dec 2004
Distribution: Slackware 10.0
Posts: 2

Rep: Reputation: 0
Redefinition error when building 2.6.9 kernel with acpi


Hello

This might be some error that I have caused myself since this is the first time I've installed a new kernel, or it might already been fixed, but I thought I'd ask anyways.

I am upgrading from kernel 2.4.6 to 2.6.9 on my laptop running slackware 10. After running 'make menuconfig' and setting stuff up the way I thought it should be, I run 'make' and after a while get and error saying:

drivers/acpi/events/evxfevnt.c:272: error: redefinition of `acpi_set_gpe_type'

after some searching the web and getting no good results, I decide to check the file and find that (what I believe to be functions (as I'm not very used to C)) have been defined (as the error states) two times. This is the case with one function (acpi_set_gpe_type) in the file evxfevnt.c and three functions (acpi_ev_set_gpe_type, acpi_ev_update_gpe_enable_masks, acpi_ev_enable_gpe) in evgpe.c in the same directory.

I figured I could just remove these multiple instances so I did and the 'make' seemed to work. However a bit further down I get an error saying:

drivers/built-in.o(.text+0x1e75b): In function `acpi_enable_wakeup_device':
: undefined reference to `acpi_enable_gpe'

This doesn't seem to be the same function (there is an 'ev' in the functions I removed) should I try to add this 'ev'? Anyone got any good ideas what I should do to make this work? (btw, Id like to have acpi support so removing it would be annoying :P )

Thanks
GUs
 
Old 12-02-2004, 10:10 PM   #2
zaicheke
Member
 
Registered: Apr 2004
Distribution: Slackware 10, Open BSD 3.6, Mac OS 10.3.7, Splack 10 beta
Posts: 393

Rep: Reputation: 30
have you tried apm. It generally words better on laptops.
 
Old 12-05-2004, 02:18 PM   #3
asmund1
LQ Newbie
 
Registered: Dec 2004
Distribution: Slackware 10.0
Posts: 2

Original Poster
Rep: Reputation: 0
ahh .rej

Fixed it.

Seems I had some .rej files or something.
Just deleted the source I was building kernel 2.6.9 from, extracted it anew and did a 'make' again, works perfectly now.

thx
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
error building nvidia kernel module beeblequix Debian 1 10-07-2005 05:21 PM
error: redefinition of `GLXFBConfigSGIX' kornerr Linux - General 6 07-09-2005 11:15 AM
Error while building kernel linuxboy69 Linux - Software 10 08-26-2004 12:09 PM
ACPI patch and kernel compile error crisponions Linux - Laptop and Netbook 3 10-29-2003 06:52 PM
Ncurses error message building kernel Bruce Hill Linux - Newbie 8 07-15-2003 01:31 PM

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

All times are GMT -5. The time now is 10:36 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