TuniLame - 2013-12-24

Problem:

I have an error compiling the qc-usb-0.6.6 on my raspberry pi (raspbian; linux 3.6.11+): it says "fatal error: linux/autoconf.h: file not found" for every time there is an include of that file.

After a Google search, I found that it was because the file autoconf.h is located under generated/autoconf.h.

Solution:

I replaced all the occurrences of linux/autoconf.h on qc-driver.c, quickcam.h etc... by:

#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 33) 
#include <linux/autoconf.h> 
#else 
#include <generated/autoconf.h> 
#endif

Same thing for videodev.h

Source: http://www.answeredubuntu.com/65073/missing_linux_autoconf_h