Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4612418
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T01:24:01+00:00 2026-05-22T01:24:01+00:00

Ubuntu 11.04 64-bit [Tried on SuSE 32-bit, and got same error], I have gcc,

  • 0

Ubuntu 11.04 64-bit [Tried on SuSE 32-bit, and got same error], I have gcc, and can compile normal C programs.. and the linux headers in /usr/src/linux-headers-2.6*

I downlaoded this driver:
http://qce-ga.sourceforge.net/#download
downloaded, extracted, ran make all and this is the output

matt: /d/dl/qc-usb-0.6.6 $ make all
make -C "/lib/modules/2.6.38-8-generic/build" SUBDIRS="/home/matt/Desktop/dl/qc-usb-0.6.6" modules V=1 USER_OPT="-DHAVE_UTSRELEASE_H="
make[1]: Entering directory `/usr/src/linux-headers-2.6.38-8-generic'
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (        \
    echo;                               \
    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.";  \
    echo;                               \
    /bin/false)
mkdir -p /home/matt/Desktop/dl/qc-usb-0.6.6/.tmp_versions ; rm -f /home/matt/Desktop/dl/qc-usb-0.6.6/.tmp_versions/*
make -f scripts/Makefile.build obj=/home/matt/Desktop/dl/qc-usb-0.6.6
  gcc -Wp,-MD,/home/matt/Desktop/dl/qc-usb-0.6.6/.qc-driver.o.d  -nostdinc -isystem /usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2/include  -I/usr/src/linux-headers-2.6.38-8-generic/arch/x86/include -Iinclude  -include include/generated/autoconf.h -Iubuntu/include  -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 -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -DNOKERNEL -DHAVE_UTSRELEASE_H=  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(qc_driver)"  -D"KBUILD_MODNAME=KBUILD_STR(quickcam)" -c -o /home/matt/Desktop/dl/qc-usb-0.6.6/.tmp_qc-driver.o /home/matt/Desktop/dl/qc-usb-0.6.6/qc-driver.c
In file included from /home/matt/Desktop/dl/qc-usb-0.6.6/qc-driver.c:47:0:
/home/matt/Desktop/dl/qc-usb-0.6.6/quickcam.h:79:28: fatal error: linux/autoconf.h: No such file or directory
compilation terminated.
make[2]: *** [/home/matt/Desktop/dl/qc-usb-0.6.6/qc-driver.o] Error 1
make[1]: *** [_module_/home/matt/Desktop/dl/qc-usb-0.6.6] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.38-8-generic'
make: *** [quickcam.ko] Error 2

Note: I tried what this is suggesting I run [make oldconfig &&]. Here is a URL of the output: http://pastebin.com/ccnYn9uc

I googled a bit, and someone said to, in the kernel source, run make menuconfig and so I ran it but I have no clue what to change.. can you help me? thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T01:24:01+00:00Added an answer on May 22, 2026 at 1:24 am

    You are trying to compile on 2.6.38, but include/linux/autoconf.h does not exist anymore since 2.6.33 (it was moved somewhere else in commit 264a26838056fc2d759f58bec2e720e01fcb1bdb). Besides, it should not need to be included by hand – the kernel build system does it automatically for you (see the -include in the gcc command line).

    You do not need to run make menuconfig, and probably should not change anything using it – the kernel is already configured for your distribution, and changing it to something which does not match the running kernel can make the module not work correctly. Even make oldconfig should not be needed; what looks like a message saying to run make oldconfig is in fact code to detect if it is needed and print that message in that case (for some reason the driver you are trying to compile enabled some verbose mode which prints all commands before running them).

    The problem you have is that the driver you are trying to compile is too old – the sourceforge release page shows it is from 2006, back when the latest kernel was still 2.6.18. The kernel internal API is not stable and changes frequently, so even if you fixed that error (probably simply removing the incorrect #include), it will probably still fail to compile due to several other changes. The drivers which come with the Linux kernel do not have that problem because it is the responsibility of the one who made the API change to fix all the drivers, but for drivers which are outside the Linux kernel tree, it is the driver author’s responsibility to closely follow the kernel development and fix his driver whenever the API changed.

    Your options are to find a newer driver (one which works in 2.6.38), or get someone who understands the Linux kernel to update your driver to 2.6.38. And to prevent it breaking in the future, it should be submitted to the Linux kernel.

    And in fact, the kernel does seem to already have a driver for these devices. It is called gspca_stv06xx, and claims the three USB IDs the driver you were trying to compile claims – and many more.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have tried to use setjmp/longjmp in 64 bit Ubuntu, but it doesn't properly
I'm using GCC 4.3.3 on Ubuntu 9.04 64-bit and was getting errors using C++-style
I'm getting an error whilst trying to install psycopg2 on ubuntu 9.10 64 bit.
I have a 64 bit Ubuntu Operating System and I have been learning 32
(My environment is 64-bit Ubuntu, my application is C++ compiled and linked with g++.)
I'm having a problem with eclipse galileo on ubuntu 64-bit system. when ever i
Ubuntu 11.10: $ python Python 2.7.2+ (default, Oct 4 2011, 20:03:08) [GCC 4.6.1] on
On Ubuntu I compiled sbcl 1.0.35 with threading. I can happily use sbcl from
My PC CONFIGURATION : UBUNTU 11.10 version 64 bit , ECLIPSE 3.7 , ANDROID
I was installing a binary Linux application on Ubuntu 9.10 x86_64. The app shipped

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.