- Arch Linux
- Saved searches
- Use saved searches to filter your results more quickly
- make error generated/autoconf.h: No such file or directory #11
- make error generated/autoconf.h: No such file or directory #11
- Comments
- include
- include
- Solving Include/generated/autoconf.h Or Include/config/auto.conf Are Missing on Ubuntu 20.04
- Solving include/generated/autoconf.h or include/config/auto.conf are missing in Ubuntu 20.04
- Fixing System
- Follow Us
- The GNU/Linux Free Software Phylosophy
- Steve Jobs’ Last Words
- Credits
- Solving Include/generated/autoconf.h Or Include/config/auto.conf Are Missing on Kali
- Solving include/generated/autoconf.h or include/config/auto.conf are missing in Kali Linux
- Fixing System
- Follow Us
- The GNU/Linux Free Software Phylosophy
- Steve Jobs’ Last Words
- Credits
Arch Linux
I’m having trouble installing my webcam (Sony’s EyeToy). I check it’s recognised, remove the current modules, download the driver but when I try to compile it just spits out an error:
$ lsusb Bus 002 Device 002: ID 0566:3015 Monterey International Corp. Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 007: ID 054c:0155 Sony Corp. Bus 001 Device 005: ID 04d9:1135 Holtek Semiconductor, Inc. Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB Bus 001 Device 003: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub $ lsmod | grep ov ov511 67286 0 gspca_ov519 36265 0 gspca_main 24940 1 gspca_ov519 videodev 44108 2 ov511,gspca_main usbcore 146545 10 ov511,snd_usb_audio,snd_usbmidi_lib,gspca_ov519,gspca_main,ipheth,usbhid,ohci_hcd,ehci_hcd $ sudo rmmod ov511 $ sudo rmmod gspca_ov519 $ wget [url]http://www.rastageeks.org/downloads/ov51x-jpeg/ov51x-jpeg-1.5.9.tar.gz[/url] $ tar -xvf ov51x-jpeg-1.5.9.tar.gz ov51x-jpeg-1.5.9/ ov51x-jpeg-1.5.9/test/ ov51x-jpeg-1.5.9/test/Makefile ov51x-jpeg-1.5.9/test/getjpeg.c ov51x-jpeg-1.5.9/Makefile ov51x-jpeg-1.5.9/ov51x-jpeg-core.c ov51x-jpeg-1.5.9/ov518-decomp.c ov51x-jpeg-1.5.9/ov51x-jpeg.h ov51x-jpeg-1.5.9/ov519-decomp.c ov51x-jpeg-1.5.9/ov511-decomp.c ov51x-jpeg-1.5.9/ov7670.h ov51x-jpeg-1.5.9/ChangeLog $ cd ov51x-jpeg-1.5.9 $ make make -C /lib/modules/2.6.35-ARCH/build M=/tmp/webcam/ov51x-jpeg-1.5.9 modules make[1]: Entering directory `/usr/src/linux-2.6.35-ARCH' CC [M] /tmp/webcam/ov51x-jpeg-1.5.9/ov51x-jpeg-core.o /tmp/webcam/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c:87:28: fatal error: linux/autoconf.h: No such file or directory compilation terminated. make[2]: *** [/tmp/webcam/ov51x-jpeg-1.5.9/ov51x-jpeg-core.o] Error 1 make[1]: *** [_module_/tmp/webcam/ov51x-jpeg-1.5.9] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.35-ARCH' make: *** [all] Error 2 $
I’ve check the source and coupled with the error message I have found the problem to be with the line including the autoconf header file:
I tried removed this line and it gave me even more errors so put it back. From what I can gather, the compiler is trying to find the autoconf header file but it can’t. I then ran a search on the header file and here are the results:
$ sudo find / -mount -name autoconf.h /usr/src/linux-2.6.35-ARCH/include/generated/autoconf.h /usr/src/linux-2.6.32-lts/include/linux/autoconf.h
I replaced ‘linux/autoconf.h’ with the full locations of the previous two searches and then it spat out the same errors as if i’d removed the line (I think, if not the same, it was a similar amount!).
I’ve been following the guides on this webpage.
Any help? This seems more of a problem with my installation than it does the drivers. Could it be because I’m running 64 bit?
Last edited by BaconPie (2010-08-23 10:33:56)
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make error generated/autoconf.h: No such file or directory #11
make error generated/autoconf.h: No such file or directory #11
Comments
I have encountered an error when making.
My system is Manjaro.
Using standalone build system.
In file included from ./autoconf/geninclude.c:20:0:
./include/compat_autoconf.h:38:13: fatal error: generated/autoconf.h: No such file or directory
include
compilation terminated.
In file included from .././autoconf/geninclude.c:20:0:
.././include/compat_autoconf.h:38:13: fatal error: generated/autoconf.h: No such file or directory
include
compilation terminated.
Dependencies for hostif.c
cc1: error: code model kernel does not support PIC mode
make[1]: *** [.././Makefile.normal:132: hostif.d] Error 1
make: *** [Makefile.normal:143: deps] Error 2
The text was updated successfully, but these errors were encountered:
Had the issue on arch linux, the package linux-headers was missing.
Hello there, unfortunately having the same issue on Artix Linux, compiling against 5.0.9-artix1-1-ARTIX. The error code is the following:
make -C vmmon-only make[1]: Entering directory '/home/alsetema/vmware-host-modules-p15.0.4-k5.1/vmmon-only' Using standalone build system. In file included from ./autoconf/geninclude.c:20: ./include/compat_autoconf.h:38:13: fatal error: generated/autoconf.h: No such file or directory # include ^~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: Entering directory '/home/alsetema/vmware-host-modules-p15.0.4-k5.1/vmmon-only/driver-5.0.9-artix1-1-ARTIX' In file included from .././autoconf/geninclude.c:20: .././include/compat_autoconf.h:38:13: fatal error: generated/autoconf.h: No such file or directory # include ^~~~~~~~~~~~~~~~~~~~~~ compilation terminated. Dependencies for bootstrap.c cc1: error: code model kernel does not support PIC mode make[2]: *** [.././Makefile.normal:140: bootstrap.d] Error 1 make[2]: Leaving directory '/home/alsetema/vmware-host-modules-p15.0.4-k5.1/vmmon-only/driver-5.0.9-artix1-1-ARTIX' make[1]: *** [Makefile.normal:143: deps] Error 2 make[1]: Leaving directory '/home/alsetema/vmware-host-modules-p15.0.4-k5.1/vmmon-only' make: *** [Makefile:21: vmmon-only] Error 2
Compiling for version 15.0.4 of workstation player.
I have been reading online that it could be an issue with the kernel headers I am using, but cannot provide any more information unfortunately. Any clues?
UPDATE: error disappeared after a restart lol
Same error on openSUSE Leap 15.1 even after installing the kernel sources
it spits this nice error:
You should not include /usr/include// header
files directly for the compilation of kernel modules.
glibc now uses kernel header files from a well-defined
working kernel version (as recommended by Linus Torvalds)
These files are glibc internal and may not match the
currently running kernel. They should only be
included via other system header files — user space
programs should not directly include .h> or
.h> as well.
Since Linux 2.6, the kernel module build process has been
updated such that users building modules should not typically
need to specify additional include directories at all.
To build kernel modules, ensure you have the build environment
available either via the kernel-devel and kernel—devel
packages or a properly configured kernel source tree.
Then, modules can be built using:
make -C M=/home/abuild/rpmbuild/BUILD/linux-glibc-devel-4.15
For the currently running kernel there will be a symbolic
link pointing to the build environment located at
/lib/modules/4.12.14-lp151.24-default/build for use as .
If you are seeing this message, your environment is
not configured properly.
Please adjust the Makefile accordingly.
KERNEL_VERSION macro is not defined, environment is busted
Include compat_version.h before compat_autoconf.h
No Module support in this kernel. Please configure with CONFIG_MODULES
Solving Include/generated/autoconf.h Or Include/config/auto.conf Are Missing on Ubuntu 20.04
Solving include/generated/autoconf.h or include/config/auto.conf are missing in Ubuntu 20.04
Hi! This Tip Try to Solve include/generated/autoconf.h or include/config/auto.conf are missing in Ubuntu 20.04 Focal LTS GNU/Linux.
This Issue is quite often appearing on some Graphics Driver Installation as for the NVIDIA Graphics Cards.
Fixing System
Then to Solve include/generated/autoconf.h or include/config/auto.conf are missing in Ubuntu 20.04
Run:
sudo apt install --reinstall linux-headers-$(uname -r)
Showing Ads here is the best solution I found for not embarassing somebody about participating in a #%$Foundation^.
«When the Last Tree has been cut down, the Last Fish caught, the Last River poisoned, only then will we realize that One Cannot Eat Money.»
«No usable Computer exists today with completely Open Software and Hardware (as much as some companies want to Market themselves as such).»
Follow Us
The GNU/Linux Free Software Phylosophy
Steve Jobs’ Last Words
«Being a Winner in a Free Computing OS Mission means to adopt a Commercial like Strategy. Transcending Duality in Oneness and so dispensing both Free and Non Free Software. Cause evangelizing Freedom in a Non Free World is like keeping a Trojan Horse. Hallelujah!»
«Using the Money just for buying Stuff and Not Supporting the Free Gift Philosophy is a sign of a Selfish and Narrow Mind.»
What can Save the World from a Blind and Quick Self-destruction.
The Immediate and Humble Mass Conversion to the Spiritual Way!
Because Earth & Nature has been Ravaged without Pity by the Wild and Selfish mass Competition to Win and Shown that U’re someone Better because you got a Lot of fla$hY Power$$$.
«Taking care if somebody is liking, following, or buying is just a serious hidrance on the priceless Way of Creative Freedom.»
Credits
Everlasting Glory to God, Jesus Christ, The Holy Spirit, Ganesha, Shiva, Vishnu, Krisna, Laozi, Buddha, Bodhidharma, Ma Gcig, Hakuin, Ikkyu, Nagarjuna, Tilopa, Naropa, Milarepa, Suhrawardi, St Dismas, St Francesco, St Teresa, St John, St Filippo, Eckehart. All The Holy Divinities, Avatars, Saints, Mystics, and True Spiritual Masters. Because they are in the Eternal Light of Truth & Delight Enlightening a World of Darkness, Nescience, Blindness, Uneasiness and Falsehood!
Solving Include/generated/autoconf.h Or Include/config/auto.conf Are Missing on Kali
Solving include/generated/autoconf.h or include/config/auto.conf are missing in Kali Linux
Hi! This Tip Try to Solve include/generated/autoconf.h or include/config/auto.conf are missing in Kali GNU/Linux.
This Issue is quite often appearing on some Graphics Driver Installation as for the NVIDIA Graphics Cards.
Fixing System
Then to Solve include/generated/autoconf.h or include/config/auto.conf are missing in Kali Linux
Run:
sudo apt install --reinstall linux-headers-$(uname -r)
Showing Ads here is the best solution I found for not embarassing somebody about participating in a #%$Foundation^.
«When the Last Tree has been cut down, the Last Fish caught, the Last River poisoned, only then will we realize that One Cannot Eat Money.»
«No usable Computer exists today with completely Open Software and Hardware (as much as some companies want to Market themselves as such).»
Follow Us
The GNU/Linux Free Software Phylosophy
Steve Jobs’ Last Words
«Being a Winner in a Free Computing OS Mission means to adopt a Commercial like Strategy. Transcending Duality in Oneness and so dispensing both Free and Non Free Software. Cause evangelizing Freedom in a Non Free World is like keeping a Trojan Horse. Hallelujah!»
«Using the Money just for buying Stuff and Not Supporting the Free Gift Philosophy is a sign of a Selfish and Narrow Mind.»
What can Save the World from a Blind and Quick Self-destruction.
The Immediate and Humble Mass Conversion to the Spiritual Way!
Because Earth & Nature has been Ravaged without Pity by the Wild and Selfish mass Competition to Win and Shown that U’re someone Better because you got a Lot of fla$hY Power$$$.
«Taking care if somebody is liking, following, or buying is just a serious hidrance on the priceless Way of Creative Freedom.»
Credits
Everlasting Glory to God, Jesus Christ, The Holy Spirit, Ganesha, Shiva, Vishnu, Krisna, Laozi, Buddha, Bodhidharma, Ma Gcig, Hakuin, Ikkyu, Nagarjuna, Tilopa, Naropa, Milarepa, Suhrawardi, St Dismas, St Francesco, St Teresa, St John, St Filippo, Eckehart. All The Holy Divinities, Avatars, Saints, Mystics, and True Spiritual Masters. Because they are in the Eternal Light of Truth & Delight Enlightening a World of Darkness, Nescience, Blindness, Uneasiness and Falsehood!