Guest pauld Posted July 20, 2006 Report Share Posted July 20, 2006 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 Quote Link to comment Share on other sites More sharing options...
scarecrow Posted July 20, 2006 Report Share Posted July 20, 2006 Thou should NEVER run "./configure" and "make" as root. Is the kernel-source package installed? Quote Link to comment Share on other sites More sharing options...
Guest pauld Posted July 20, 2006 Report Share Posted July 20, 2006 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 Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted July 21, 2006 Report Share Posted July 21, 2006 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. Quote Link to comment Share on other sites More sharing options...
Murda Posted July 21, 2006 Report Share Posted July 21, 2006 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. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted July 21, 2006 Report Share Posted July 21, 2006 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.