On Tuesday 19 July 2011 03:00:55 Tejas Guruswamy wrote:
On 19/07/11 07:37, Per Jessen wrote:
Bob S wrote:
Hello SuSE people,
This is on 11.4 KDE4. Trying to compile a driver and make tells me my kernel is misconfigured. It tells me ": echo " ERROR: Kernel configuration is invalid."; echo " include/generated/autoconf.h or include/config/auto.conf are missing.";\ echo " Run 'make oldconfig&& make prepare' on kernel src
So I do that (I think) and I get this: make: *** No rule to make target `oldconfig'. Stop.
I don't know what rule it wants or how to do it. Would some kindGURU help out the ignorant please?
Do you have the kernel sources installed ?
More specifically do you have kernel-$flavor-devel installed? It provides the bits you're missing above. I presume you're running kernel-desktop so install kernel-desktop-devel as well as kernel-source.
Hello Tejas. Yes, according to rpm, they were both installed as dependencies with kernek0source. when I try to do the "make" command I get the same error: ----------------------------------------------------------------- echo " ERROR: Kernel configuration is invalid."; \ echo " include/generated/autoconf.h or include/config/auto.conf are missing.";\ echo " Run 'make oldconfig && make prepare' on kernel src to fix it ---------------------------------------------------------------------- When I try doing that, evidently incorrectly, I get a result of not finding the target. I guess I need someone's help to tell me how to do that. Here is the rest of the result of "make" Don;t know if it is important or not.. --------------------------------------------------------------------- echo; \ /bin/false) mkdir -p /home/bob/Downloads/compile/qc-usb-0.6.6/.tmp_versions ; rm -f /home/bob/Downloads/compile/qc-usb-0.6.6/.tmp_versions/* make -f /usr/src/linux-2.6.34.8-0.2/scripts/Makefile.build obj=/home/bob/Downloads/compile/qc-usb-0.6.6 gcc -Wp,-MD,/home/bob/Downloads/compile/qc-usb-0.6.6/.qc-driver.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/4.5/include -I/usr/src/linux-2.6.34.8-0.2/arch/x86/include -Iinclude -I/usr/src/linux-2.6.34.8-0.2/include -include include/generated/autoconf.h -I/home/bob/Downloads/compile/qc-usb-0.6.6 -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fno-stack-protector -fomit-frame-pointer -fasynchronous-unwind-tables -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack -DNOKERNEL -DHAVE_UTSRELEASE_H= -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(qc_driver)" -D"KBUILD_MODNAME=KBUILD_STR(quickcam)" -D"DEBUG_HASH=30" -D"DEBUG_HASH2=21" -c -o /home/bob/Downloads/compile/qc-usb-0.6.6/.tmp_qc-driver.o /home/bob/Downloads/compile/qc-usb-0.6.6/qc-driver.c In file included from /home/bob/Downloads/compile/qc-usb-0.6.6/qc-driver.c:47:0: /home/bob/Downloads/compile/qc-usb-0.6.6/quickcam.h:79:28: fatal error: linux/autoconf.h: No such file or directory compilation terminated. make[4]: *** [/home/bob/Downloads/compile/qc-usb-0.6.6/qc-driver.o] Error 1 make[3]: *** [_module_/home/bob/Downloads/compile/qc-usb-0.6.6] Error 2 make[2]: *** [sub-make] Error 2 make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.34.8-0.2-obj/x86_64/desktop' make: *** [quickcam.ko] Error 2 ------------------------------------------------------- Somebody please help Bob S -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org