[ltp] Re: ibm-acpi 0.11 and Ubuntu Breezy???

Shannon McMackin linux-thinkpad@linux-thinkpad.org
Fri, 09 Sep 2005 23:38:30 -0400


Jiang Qian wrote:
> Did you try to build against stock kernel? I build it against 2.6.12.4 
> with no problem. Or did you try to replace the files in the kernel 
> source tree with the files from ibm-acpi source and rebuild the kernel?
> Jiang
> On Fri, Sep 09, 2005 at 10:57:50PM -0400, Shannon McMackin wrote:
> 
>>I'm trying to upgrade ibm-acpi on my breezy install and am having some
>>difficulty.
>>
>>Here's what happens:
>>
>>mcmackin@mariner:~/ibm-acpi-0.11$ sudo make
>>Password:
>>make -C /lib/modules/2.6.12-8-686/build
>>SUBDIRS=/home/mcmackin/ibm-acpi-0.11 modules
>>make[1]: Entering directory `/usr/src/linux-headers-2.6.12-8-686'
>>  CC [M]  /home/mcmackin/ibm-acpi-0.11/ibm_acpi.o
>>/home/mcmackin/ibm-acpi-0.11/ibm_acpi.c:1756: error: conflicting types
>>for 'device_add'
>>include/linux/device.h:317: error: previous declaration of 'device_add'
>>was here/home/mcmackin/ibm-acpi-0.11/ibm_acpi.c:1756: error: conflicting
>>types for 'device_add'
>>include/linux/device.h:317: error: previous declaration of 'device_add'
>>was heremake[2]: *** [/home/mcmackin/ibm-acpi-0.11/ibm_acpi.o] Error 1
>>make[1]: *** [_module_/home/mcmackin/ibm-acpi-0.11] Error 2
>>make[1]: Leaving directory `/usr/src/linux-headers-2.6.12-8-686'
>>make: *** [default] Error 2
>>
>>I've not seen this behavior before...
>>
>>Any ideas?
>>
>>Shannon
>>
>>-- 
>>The linux-thinkpad mailing list home page is at:
>>http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad

I tried to build against both 2.6.12-8-686 and 2.6.12-6-386.

I didn't have a specific reason to be at that version, so I'll try
2.6.12-4 and see what I get.

Shannon