Jump to content

usbvision


Guest pauld
 Share

Recommended Posts

Guest pauld

I cant compile usbvision in Mandriva 2006

 

[root@yo src]# make

make -C /lib/modules/2.6.12-12mdk/build SUBDIRS=/home/pablo/programs/usbvision/src modules

make[1]: Entering directory `/usr/src/linux-2.6.12-12mdk'

 

WARNING: Symbol version dump /usr/src/linux-2.6.12-12mdk/Module.symvers

is missing; modules will have no dependencies and modversions.

 

CC [M] /home/pablo/programs/usbvision/src/usbvision.o

/home/pablo/programs/usbvision/src/usbvision.c: In function 'attach_inform':

/home/pablo/programs/usbvision/src/usbvision.c:3134: error: storage size of 'tun_addr' isn't known

/home/pablo/programs/usbvision/src/usbvision.c:3154: error: 'T_ANALOG_TV' undeclared (first use in this function)

/home/pablo/programs/usbvision/src/usbvision.c:3154: error: (Each undeclared identifier is reported only once

/home/pablo/programs/usbvision/src/usbvision.c:3154: error: for each function it appears in.)

/home/pablo/programs/usbvision/src/usbvision.c:3156: error: 'ADDR_UNSET' undeclared (first use in this function)

/home/pablo/programs/usbvision/src/usbvision.c:3157: error: 'TUNER_SET_TYPE_ADDR' undeclared (first use in this function)

/home/pablo/programs/usbvision/src/usbvision.c:3134: warning: unused variable 'tun_addr'

make[2]: *** [/home/pablo/programs/usbvision/src/usbvision.o] Error 1

make[1]: *** [_module_/home/pablo/programs/usbvision/src] Error 2

make[1]: Leaving directory `/usr/src/linux-2.6.12-12mdk'

make: *** [default] Error 2

Link to comment
Share on other sites

Guest pauld
Thou should NEVER run "./configure" and "make" as root.

Is the kernel-source package installed?

didnt know that, thks for the advice.

Yes, I have the kernel-source installed

Link to comment
Share on other sites

I'm not completely sure, but I think there might be some error in the code or maybe they are not listing the right dependencies. I get the same error as you, but usbvision-0.9.8.2 compiles fine. I cannot test it for you, because I don't have a usbvision device.

Link to comment
Share on other sites

I had same kind of an error when I installed a wifi driver, which was a dependency problem. Check that you have gcc, make, and devel packages for those installed.

 

And for scarecrow:

 

Why shouldn't I run ./configure as root? Never heard before that I shouldn't do that.

Link to comment
Share on other sites

It's just for safety more than anything. Compiling as root, you've got full access to your system. Normally you shouldn't experience any problems. I've always compiled as root, never had any probs. Some apps, like courier-authlib or courier-imap can't be compiled as root.

Link to comment
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...
 Share

×
×
  • Create New...