LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 02-16-2007, 07:25 AM   #1
mark.johnson
LQ Newbie
 
Registered: Mar 2005
Location: England
Distribution: Ubuntu Jaunty, Kubuntu Lucid
Posts: 17

Rep: Reputation: 0
asus_acpi module compliation error on openSUSE 10.2


I'm trying to compile version 0.32 of the asus_acpi module on openSUSE 10.2 (version 0.30 is installed at present, but says my laptop is unsupported).
As far as I know, i've got everything in place to make compilation and installation of the module work (I've got the kernel source configured for my machine in /usr/src/linux, and I have the module source in my home directory), but when I run "make" in the root of the module's source, I get the following error:
Code:
make[2]: Entering directory `/usr/src/linux-2.6.18.2-34'
  CC [M]  /home/mark/scrap/acpi4asus-0.32/driver/asus_acpi.o
/home/mark/scrap/acpi4asus-0.32/driver/asus_acpi.c:105: error: conflicting types for ‘unsupported’
include/linux/kernel.h:190: error: previous declaration of ‘unsupported’ was here
make[3]: *** [/home/mark/scrap/acpi4asus-0.32/driver/asus_acpi.o] Error 1
make[2]: *** [_module_/home/mark/scrap/acpi4asus-0.32/driver] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.18.2-34'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/mark/scrap/acpi4asus-0.32/driver'
make: *** [build] Error 2
I had a poke around, and found that the problem referred to the file /usr/src/linux/include/linux/kernel.h which includes the following on line 190:
Code:
extern int unsupported;
I've not compiled modules before, so this was an unexpected problem for me. Does anyone know how I can compile and install the module correctly?

Many Thanks.

Last edited by mark.johnson; 02-16-2007 at 07:33 AM.
 
  


Reply

Tags
asus, compilation, modules



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
Compliation of Mplayer plugin gives an error keith11 Linux - Software 7 01-19-2007 02:08 AM
OpenSuSE: Compiling arcmsr Module for Areca Make Error makuro Linux - Hardware 0 12-08-2006 03:32 AM
Invalid module format in modprobe asus_acpi kampret77 Linux - Laptop and Netbook 0 04-24-2006 11:56 AM
Xine compliation error hitesh_linux Linux - Software 1 12-04-2004 02:37 PM
another squid compliation error !! hitesh_linux Linux - Networking 0 11-20-2004 01:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 04:54 AM.

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