LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-02-2013, 10:55 AM   #1
JoeSmith
LQ Newbie
 
Registered: Nov 2013
Location: cd ./
Distribution: Fedora19 & Kali
Posts: 26

Rep: Reputation: Disabled
Installing FTDI Driver


Trying to install
http://www.ftdichip.com/Drivers/VCP.htm

On platform Linux ( Kali ), it fails.
Any ideas why ?


Code:
root@Lx:/home/lx/Desktop/test# make
gcc -Wall -D__KERNEL__ -DMODULE -I/lib/modules/3.7-trunk-686-pae/build/include -D__SMP__ -DSMP -DMODVERSIONS -include /lib/modules/3.7-trunk-686-pae/build/include/linux/modversions.h -I/usr/src/linux-3.7-trunk-686-pae/drivers/usb/serial/ -O   -c -o ftdi_sio.o ftdi_sio.c
cc1: fatal error: /lib/modules/3.7-trunk-686-pae/build/include/linux/modversions.h: No such file or directory
compilation terminated.
make: *** [ftdi_sio.o] Error 1
root@Lx:/home/lx/Desktop/test#
 
Old 12-02-2013, 11:00 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by JoeSmith View Post
Trying to install
http://www.ftdichip.com/Drivers/VCP.htm

On platform Linux ( Kali ), it fails.
Any ideas why ?


Code:
root@Lx:/home/lx/Desktop/test# make
gcc -Wall -D__KERNEL__ -DMODULE -I/lib/modules/3.7-trunk-686-pae/build/include -D__SMP__ -DSMP -DMODVERSIONS -include /lib/modules/3.7-trunk-686-pae/build/include/linux/modversions.h -I/usr/src/linux-3.7-trunk-686-pae/drivers/usb/serial/ -O   -c -o ftdi_sio.o ftdi_sio.c
cc1: fatal error: /lib/modules/3.7-trunk-686-pae/build/include/linux/modversions.h: No such file or directory
compilation terminated.
make: *** [ftdi_sio.o] Error 1
root@Lx:/home/lx/Desktop/test#
I would guess you are lacking kernel headers on your system. Kali seems to be Debian-based, and since I don't know Debian so well I am not sure what package you need to install. Perhaps linux-headers or the Dynamic Kernel Module Support Framework DKMS?

There might also be a mismatch between the 3.7-trunk-686-pae, where the missing file is supposed to be, and the correct kernel version. This is easy to check - find out if there is a directory or symbolic link named /lib/modules/<some kernel version>/build. If yes, compare <some kernel version> with 3.7-trunk-686-pae.
 
Old 12-03-2013, 12:04 AM   #3
Spect73
Member
 
Registered: Aug 2013
Distribution: Slackware 14.1
Posts: 128

Rep: Reputation: Disabled
Quote:
Originally Posted by JoeSmith View Post
Trying to install
http://www.ftdichip.com/Drivers/VCP.htm

On platform Linux ( Kali ), it fails.
Any ideas why ?


Code:
root@Lx:/home/lx/Desktop/test# make
gcc -Wall -D__KERNEL__ -DMODULE -I/lib/modules/3.7-trunk-686-pae/build/include -D__SMP__ -DSMP -DMODVERSIONS -include /lib/modules/3.7-trunk-686-pae/build/include/linux/modversions.h -I/usr/src/linux-3.7-trunk-686-pae/drivers/usb/serial/ -O   -c -o ftdi_sio.o ftdi_sio.c
cc1: fatal error: /lib/modules/3.7-trunk-686-pae/build/include/linux/modversions.h: No such file or directory
compilation terminated.
make: *** [ftdi_sio.o] Error 1
root@Lx:/home/lx/Desktop/test#

From reading the installation guide at the above link:
FTDI has two types of drivers for all supported operating systems. These are the virtual COM port
driver (VCP) and the D2XX API driver. Since the FTDI VCP driver is built into the Linux kernel, this
document will focus on the installation of the D2XX driver.

Apparently, the ftdi_sio material is included in the kernel now, as the D2XX tar file only contains a prebuilt driver and some examples. Am I missing something very basic? The files ftdi_sio.c and ftdi_sio.h can both be found under drivers/usb/serial in the kernel source.

Coordially,
 
Old 12-03-2013, 02:17 AM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,691

Rep: Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658
what is not working ?
this software is already built in to the 3+ kernel

and remember Kali is built by network and security experts . for use by network and security experts
the type of expert with the equivalent experience of a masters degree in CS and network security
 
Old 12-03-2013, 05:49 AM   #5
JoeSmith
LQ Newbie
 
Registered: Nov 2013
Location: cd ./
Distribution: Fedora19 & Kali
Posts: 26

Original Poster
Rep: Reputation: Disabled
@All could be cuz of kernel, but I'm having troubles installing the new version for new kernel.

http://www.ftdichip.com/Drivers/D2XX.htm

Dunno why can anybody try installing it on their PC ?
 
Old 12-03-2013, 12:27 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,691

Rep: Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658
Quote:
@All could be cuz of kernel, but I'm having troubles installing the new version for new kernel.
please spell out your words
"cuz" dose not translate using google translate or bablfish

BECAUSE it is not spelled as "cuz"

What version of Kali is this ?
The current is Kali 1.0.5 .
What architecture is it ?
x86_64,i686, arm

and what hardware are you trying to use ?
if we do not have the hardware you are trying to use WE CAN NOT see if it works

Last edited by John VV; 12-03-2013 at 12:28 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FTDI driver installation issues astralmaster Linux - Hardware 4 05-18-2013 10:14 AM
Slackware- Help with FTDI driver libftdi1-1.0 PeterUK Slackware 32 04-29-2013 01:53 AM
Problem installing driver for FTDI converter cable on my linux system kitfspc Linux - Newbie 2 01-18-2011 08:47 PM
FTDI driver for MIPS netbook vertexm Linux - Laptop and Netbook 0 08-16-2010 08:53 PM
USB serial driver(ftdi): there is error in receive data plumnut Linux - Newbie 0 03-23-2009 06:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration