Error No Include Path In Which To Search For Linux/modversions.h
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Can not find linux/modversions.h up vote 2 down vote favorite I am trying to install the driver for a serial device, and when I run the installation executable I get this error: cc -DLINUX -c -DMODVERSIONS -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -m64 -mcmodel=kernel -I/usr/src/linux-3.8.0-27-generic/include -I/usr/src/linux-2.4/include -I/usr/src/linux/include -D__SMP__ npreal2.c npreal2.c:40:31: **fatal error: linux/modversions.h: No such file or directory** compilation terminated. I don't find any solutions to this after searching the forums. I noticed that there is a modversions.h in the /usr/src/linux-3.8.0-27-generic/include/config , but not in the linux folder. Please help! c linux makefile driver share|improve this question edited Aug 15 '13 at 20:01 Yulian Khlevnoy 1,14921032 asked Aug 15 '13 at 19:55 Ann 1581413 Maybe you can make a soft link in the linux folder to the actual file? I am not sure how safe this is though. –gravitas Aug 15 '13 at 19:57 @RSinghS I did try using a soft link, as a result, I bypassed the first errors. Now I get LOTS of errors from other header files ... –Ann Aug 15 '13 at 22:37 you can check if the linux folder itself is a symlink with ls -al if it is not rename the folder with mv linux linux.bak then make a symlink like this ln -s /usr/src/linux-3.8.0-27-generic /usr/src/linux –syss Sep 16 '14 at 12:55 add a comment| 3 Answers 3 active oldest votes up vote 1 down vote Try passing -I /usr/src/linux-3.8.0-27-generic/include/config as an argument to make? or Check if the header is a part of a certain package and update the package. share|improve this answer answered Aug 16 '13 at 5:38 gravitas 411216 add a comment| up vote 0 down vote You can compile modversions on your system by navigating to the linux directory (usually usr/src/linu
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community Wiki Other Support Launchpad Answers Ubuntu IRC Support AskUbuntu Official Documentation User Documentation Social Media Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Hardware [ubuntu] compiling FTDI driver Having an Issue With Posting ? Do you want to help us debug the posting issues ? < is the place to http://stackoverflow.com/questions/18260708/can-not-find-linux-modversions-h report it, thanks ! Results 1 to 2 of 2 Thread: compiling FTDI driver Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode December 9th, 2010 #1 jmnuzi View Profile View Forum Posts Private Message First Cup of Ubuntu Join Date Dec 2010 Beans 1 compiling FTDI driver Hi, I have downloaded the ftdi_sio archive in order to https://ubuntuforums.org/showthread.php?t=1641468 get a VCP driver for the DLP-IO8 device. My main present problem is to find missing .h files. For example, I get In file included from /lib/modules/2.6.31-22-generic/build/include/linux/kernel.h:11, from ftdi_sio.c:251: /lib/modules/2.6.31-22-generic/build/include/linux/linkage.h:5:25: error: asm/linkage.h: No such file or directory (Aucun fichier ou dossier de ce type, in French). Clearly, I have kernel.h and linkage.h Where is asm/linkage.h? This looks like an "internal" compilation problem that could arise in many other circumstances. Many thanks in advance. Jean-Marc Nuzillard Reims, France Adv Reply March 2nd, 2011 #2 msilva View Profile View Forum Posts Private Message First Cup of Ubuntu Join Date Mar 2011 Beans 1 Re: compiling FTDI driver Did you resolved the problem? I Have the same problem. At first I had another Code: atal error: /lib/modules/2.6.35-25-generic-pae/build/include/linux/modversions.h: No such file or directory I corrected it by changing the path to /lib/modules/2.6.35-25-generic-pae/build/include/config/modversions.h Thanks Adv Reply Quick Navigation Hardware Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu General Help Asus Ubuntu Support (CLOSED) Dell Ubuntu Support (CLOSED) Ubuntu One (CLOSED) Installation & Upgrades Hardware Desktop Environments Networking & Wireless Multimedia Software Ubuntu Studio Mythbuntu Ubuntu Specialised Support Ubuntu Phone and
Tutorials/Articles Search HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware FTDI driver installation issues User Name Remember Me? Password Linux - Hardware http://www.linuxquestions.org/questions/linux-hardware-18/ftdi-driver-installation-issues-4175461951/ This forum is for Hardware issues. Having trouble installing a piece of hardware? Want to http://www.tldp.org/HOWTO/PCTel-MicroModem-Config/trouble.html know if that peripheral is compatible with Linux? Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, error no simple and absolutely free. Join our community today! Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Are you new to LinuxQuestions.org? Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here. Having a problem error no include logging in? Please visit this page to clear all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Guide absolutely free. Search this Thread 05-14-2013, 01:21 PM #1 astralmaster LQ Newbie Registered: May 2013 Posts: 2 Rep: FTDI driver installation issues Hi, I am trying to install a VCP driver for FT232R chip from ftdichips.com. Unfortunatey there is no installation manual/guidelines for linux driver available. When I try to build the source of the driver by PHP Code: sudomake
it outputs the followi
>8.1. Compiling Problems8.1.1. I get a configure: error: You must have linux kernel >= 2.4.0 installed during ./configure8.1.2. I get a /usr/src/linux/include/linux/modversions.h : no such file or directory8.1.3. I get a permission denied error while running bash$ make install8.1.4. I have gcc 3 and while compiling, I get an error which goes like this