vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| hello, please excuse me for repeating question but I'm still having problems with KBUILD_OUTPUT... .... I'm trying to merge qc-usb package in order to use quickcam ### CODE 1 ### askar@athena ~/KBUILD_OUTPUT/linux-2.6.12-suspend2-r4 $ sudo emerge qc-usb Password: Calculating dependencies ...done! >>> emerge (1 of 1) media-video/qc-usb-0.6.3 to / >>> md5 files ;-) qc-usb-0.6.3.ebuild >>> md5 files ;-) files/digest-qc-usb-0.6.3 >>> md5 files ;-) files/qc-usb-0.6.0-gcc34.patch >>> md5 files ;-) files/0.6.2-linux-2.6.11.patch >>> md5 src_uri ;-) qc-usb-0.6.3.tar.gz * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 2.6.12-suspend2-r4 * getfilevar requires 2 variables, with the second a valid file. * getfilevar <VARIABLE> <CONFIGFILE> * Could not find a usable .config in the kernel source directory. * Please ensure that /usr/src/linux points to a configured set of Linux sources. * If you are using KBUILD_OUTPUT, please set the environment var so that * it points to the necessary object directory so that it might find ..config. !!! ERROR: media-video/qc-usb-0.6.3 failed. !!! Function linux-info_pkg_setup, Line 521, Exitcode 1 !!! Unable to calculate Linux Kernel version !!! If you need support, post the topmost build error, NOT this status message. ### EOF ### and this seems to be normal, so I just try to emerge as superuser ### CODE 2 ### askar@athena ~/KBUILD_OUTPUT/linux-2.6.12-suspend2-r4 $ su Password: athena linux-2.6.12-suspend2-r4 # emerge qc-usb Calculating dependencies ...done! >>> emerge (1 of 1) media-video/qc-usb-0.6.3 to / >>> md5 files ;-) qc-usb-0.6.3.ebuild >>> md5 files ;-) files/digest-qc-usb-0.6.3 >>> md5 files ;-) files/qc-usb-0.6.0-gcc34.patch >>> md5 files ;-) files/0.6.2-linux-2.6.11.patch >>> md5 src_uri ;-) qc-usb-0.6.3.tar.gz * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /home/askar/KBUILD_OUTPUT/linux-2.6.12-suspend2-r4 * Found sources for kernel version: * 2.6.12-suspend2-r4 >>> Unpacking source... >>> Unpacking qc-usb-0.6.3.tar.gz to /var/tmp/portage/qc-usb-0.6.3/work >>> Source unpacked. awk: cmd. line:1: fatal: cannot open file `/usr/src/linux/include/linux/version.h' for reading (No such file or directory) awk: cmd. line:1: fatal: cannot open file `/usr/src/linux/include/linux/version.h' for reading (No such file or directory) /bin/sh: line 0: [: -ge: unary operator expected /bin/sh: line 0: [: -ge: unary operator expected cc -I/usr/src/linux/include -nostdinc -iwithprefix include -DMODULE -D__KERNEL__ -DNOKERNEL -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wall -Wstrict-prototypes -Wno-trigraphs -pipe -c qc-driver.c .... ### EOF ### and the last is followed by tons of error notifications. The same problem raises when I try to emerge latest ipw2200 too, even if the previous does not create any problem. the fact is that the file /usr/src/linux/include/linux/version.h is not there but under KBUILD_OUTPUT location, so it seems that ebuild does not recognize correctly KBUILD_OUTPUT directory even if reports as correct one. |