Re: Build custom module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2010-10-18 at 13:00 +0200, orschiro@xxxxxxxxxxxxxx wrote:
> Ok I enabled the updates-testing repo. Just a quick question. Why is
> it not enabled by default for any alpha/beta releases?
> 
> So for now he starts to compile but there is still an error.
> 
> [robert@localhost lenovo-sl-laptop]$ make
> make -C /lib/modules/2.6.35.6-43.fc14.x86_64/build
> M=/home/robert/Downloads/lenovo-sl-laptop modules
> make[1]: Entering directory `/usr/src/kernels/2.6.35.6-43.fc14.x86_64'
>   CC [M]  /home/robert/Downloads/lenovo-sl-laptop/lenovo-sl-laptop.o
> /home/robert/Downloads/lenovo-sl-laptop/lenovo-sl-laptop.c: In
> Funktion »backlight_init«:
> /home/robert/Downloads/lenovo-sl-laptop/lenovo-sl-laptop.c:674:4:
> Fehler: Zu wenige Argumente für Funktion (not enough arguments for
> this function) »backlight_device_register«
> include/linux/backlight.h:105:33: Anmerkung: declared here
> /home/robert/Downloads/lenovo-sl-laptop/lenovo-sl-laptop.c: In
> Funktion »hkey_inputdev_init«:
> /home/robert/Downloads/lenovo-sl-laptop/lenovo-sl-laptop.c:1224:28:
> Warnung: Zuweisung von inkompatiblem Zeigertyp (warning: incompatible
> pointer)
> /home/robert/Downloads/lenovo-sl-laptop/lenovo-sl-laptop.c:1225:28:
> Warnung: Zuweisung von inkompatiblem Zeigertyp (warning: incompatible
> pointer)
> make[2]: *** [/home/robert/Downloads/lenovo-sl-laptop/lenovo-sl-laptop.o]
> Fehler 1 (error 1)
> make[1]: *** [_module_/home/robert/Downloads/lenovo-sl-laptop] Fehler
> 2 (error 2)
> make[1]: Leaving directory `/usr/src/kernels/2.6.35.6-43.fc14.x86_64'
> make: *** [all] Fehler 2 (error 2)
> 
> With Arch and Linux Mint I could compile this module?
> 
> Any ideas? Is it a Fedora related problem?
> 
> --
> robert
> 
> 2010/10/18 Frank Murphy <frankly3d@xxxxxxxxx>:
> > On 18/10/10 11:25, orschiro@xxxxxxxxxxxxxx wrote:
> >> There is no update for kernel-devel.
> >
> > Try updates-testing,
> > updates is not in use yet iirc
> >

I don't speak German (Is it German?) but assuming that "Fehler" is
error, you're trying to build a module that was designed to work with an
earlier version of the Linux kernel.

On the subject, according to LWN kernel patch log, there was an attempt
to include this patch into the Linux kernel, but at least as far as I
can see, the request was denied [1], pointing the submitter at the ASUS
ACPI driver.

Why do you need this module? Hot keys? Backlight manager?

- Gilboa
[1] http://thread.gmane.org/gmane.linux.kernel/894091/focus=905519

-- 
Gilboa Davara
http://www.wirex-systems.com

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux