Jump to content

Recommended Posts

hi, this is what happen when i try to install usbvision, i need my hauppage wintv usb on linux and i read that maybe i can have success :P

[root@localhost alexxio]# urpmi usbvision

installazione di dkms-usbvision-0.9.8.3-3mdv2008.0.noarch.rpm da /var/cache/urpmi/rpms
In preparazione...			   #############################################
  1/1: dkms-usbvision		#############################################

Creating symlink /var/lib/dkms/usbvision/0.9.8.3-3mdv2008.0/source ->
			 /usr/src/usbvision-0.9.8.3-3mdv2008.0

DKMS: add Completed.

Preparing kernel 2.6.22.9-laptop-1mdv for module build:
(This is not compiling a kernel, just preparing kernel symbols)
Storing current .config to be restored when complete
Running Generic preparation routine
make mrproper.......
using /proc/config.gz
make oldconfig.......
make prepare......

Building module:
cleaning build area....
make KERNELRELEASE=2.6.22.9-laptop-1mdv -C /lib/modules/2.6.22.9-laptop-1mdv/build SUBDIRS=/var/lib/dkms/usbvision/0.9.8.3-3mdv2008.0/build/src modules....(bad exit status: 2)

Error! Bad return status for module build on kernel: 2.6.22.9-laptop-1mdv (i586)
Consult the make.log in the build directory
/var/lib/dkms/usbvision/0.9.8.3-3mdv2008.0/build/ for more information.

Error! Could not locate usbvision.ko.gz for module usbvision in the DKMS tree.
You must run a dkms build for kernel 2.6.22.9-laptop-1mdv (i586) first.
error: %post(dkms-usbvision-0.9.8.3-3mdv2008.0.noarch) scriptlet failed, exit status 4

this is tha make.log

[root@localhost alexxio]# cat /var/lib/dkms/usbvision/0.9.8.3-3mdv2008.0/build/make.log
DKMS make.log for usbvision-0.9.8.3-3mdv2008.0 for kernel 2.6.22.9-laptop-1mdv (i586)
mer nov 14 19:31:31 CET 2007
make: Entering directory `/usr/src/linux-2.6.22.9-1mdv'

 WARNING: Symbol version dump /usr/src/linux-2.6.22.9-1mdv/Module.symvers
	   is missing; modules will have no dependencies and modversions.

 CC [M]  /var/lib/dkms/usbvision/0.9.8.3-3mdv2008.0/build/src/i2c-algo-usb.o
/var/lib/dkms/usbvision/0.9.8.3-3mdv2008.0/build/src/i2c-algo-usb.c:45: error: expected ‘)’ before string constant
/var/lib/dkms/usbvision/0.9.8.3-3mdv2008.0/build/src/i2c-algo-usb.c:219: error: unknown field ‘slave_send’ specified in initializer
/var/lib/dkms/usbvision/0.9.8.3-3mdv2008.0/build/src/i2c-algo-usb.c:220: error: unknown field ‘slave_recv’ specified in initializer
make[1]: *** [/var/lib/dkms/usbvision/0.9.8.3-3mdv2008.0/build/src/i2c-algo-usb.o] Error 1
make: *** [_module_/var/lib/dkms/usbvision/0.9.8.3-3mdv2008.0/build/src] Error 2
make: Leaving directory `/usr/src/linux-2.6.22.9-1mdv'

can you help? of course you can :D thanks

 

 

[moved from Software by spinynorman]

Share this post


Link to post
Share on other sites

Sounds like it's looking for your kernel sources - have you got the appropriate sources installed?

Do "uname -a" to find your kernel, and do "rpm -qa | grep kernel" to see which rpms you have.

Share this post


Link to post
Share on other sites

i already have the kernel sources installed

i haven't the kernel-source-stripped but it seem not to exist in the kernel i have (the default laptop kernel released with mdv2008.0)

so what am i supposed to do?

Share this post


Link to post
Share on other sites

Sorry, if insisting inadequately, but which sources package did you install? The rpm kernel-laptop-devel-2.6.22.9-1mdv should be suitable. You may also check wich location the symbolic link /usr/src/linux points to.

Share this post


Link to post
Share on other sites

no problem, you can say everything 'cause sometimes i really dunno what to do :)

[root@localhost alexxio]# urpmi kernel-laptop-devel-2.6.22.9-1mdv

Package kernel-laptop-devel-2.6.22.9-1mdv-1-1mdv2008.0.i586 already installed

 

 

where /usr/src/linux should point?

[root@localhost alexxio]# ll /usr/src/linux

lrwxrwxrwx 1 root root 19 2007-11-13 10:24 /usr/src/linux -> linux-2.6.22.9-1mdv/

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...