View Single Post
Old 11-08-10, 12:13 PM   #78
Registered User
Join Date: Sep 2010
Posts: 2
Default Re: Linux backlight driver

I can't build it on ubuntu 10.04 either.
This is what I get:
sudo dkms ldtarball --archive=nvidiabl-0.54-source-only.dkms.tar.gz

Loading tarball for module: nvidiabl / version: 0.54

Loading /usr/src/nvidiabl-0.54...
Creating /var/lib/dkms/nvidiabl/0.54/source symlink...

DKMS: ldtarball Completed.
$ sudo dkms add build install -m nvidiabl -v 0.54

Error! DKMS tree already contains: nvidiabl-0.54
You cannot add the same module/version combo more than once.
$ sudo dkms build install -m nvidiabl -v 0.54

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....
make KERNELRELEASE=2.6.32-24-generic -C /lib/modules/2.6.32-24-generic/build SUBDIRS=/var/lib/dkms/nvidiabl/0.54/build modules.....(bad exit status: 2)

Error! Bad return status for module build on kernel: 2.6.32-24-generic (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/nvidiabl/0.54/build/ for more information.
ERROR: binary package for nvidiabl: 0.54 not found
$ cat /var/lib/dkms/nvidiabl/0.54/build/make.log 
DKMS make.log for nvidiabl-0.54 for kernel 2.6.32-24-generic (x86_64)
lun nov  8 19:06:33 CET 2010
make: se ingresa al directorio `/usr/src/linux-headers-2.6.32-24-generic'
  CC [M]  /var/lib/dkms/nvidiabl/0.54/build/nvidiabl-module.o
/var/lib/dkms/nvidiabl/0.54/build/nvidiabl-module.c:35:3: warning: #warning USE_BACKLIGHT_SUSPEND
/var/lib/dkms/nvidiabl/0.54/build/nvidiabl-module.c: In function ‘nvidiabl_init’:
/var/lib/dkms/nvidiabl/0.54/build/nvidiabl-module.c:219: error: too many arguments to function ‘backlight_device_register’
make[1]: *** [/var/lib/dkms/nvidiabl/0.54/build/nvidiabl-module.o] Error 1
make: *** [_module_/var/lib/dkms/nvidiabl/0.54/build] Error 2
make: se sale del directorio `/usr/src/linux-headers-2.6.32-24-generic'
vagopestoso is offline   Reply With Quote