Fedora Linux Support Community & Resources Center
  #1  
Old 2nd November 2012, 10:41 PM
SlideRule Offline
Registered User
 
Join Date: Nov 2012
Location: USA
Posts: 5
linuxfirefox
"Make" a driver for a serial port device

Good day!

I wish to install a driver for the SerialGear 8 port serial adapter. I downloaded the latest driver from http://www.ftdichip.com/Drivers/VCP.htm (1.5.0), and followed the instructions that came with with the driver. When I run MAKE, this is what results:

gcc -Wall -D__KERNEL__ -DMODULE -I/lib/modules/3.6.2-4.fc17.x86_64/build/include -I/usr/src/linux-3.6.2-4.fc17.x86_64/drivers/usb/serial/ -O -c -o ftdi_sio.o ftdi_sio.c
ftdi_sio.c:234:26: fatal error: linux/config.h: No such file or directory
compilation terminated.
make: *** [ftdi_sio.o] Error 1

I'm new to Fedora (and Linux!), so I'm confused. Am I missing a kernel, or some other package?

Thanks!
Reply With Quote
  #2  
Old 2nd November 2012, 11:43 PM
jpollard Offline
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,814
linuxfirefox
Re: "Make" a driver for a serial port device

You are building a kernel, so you need the kernel headers installed to get the interface definitions of your kernel for the driver. Package name should be "kernel-headers", and should get the definitions for your current kernel.
Reply With Quote
Reply

Tags
device, driver, make, port, serial, serial port

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
USB to serial port - device not accepting address 7, error "-71 bp112 Hardware & Laptops 4 12th August 2011 05:30 AM
(help me) serial port "pci card" with fc8 ragabb Hardware & Laptops 1 23rd May 2008 07:09 PM
error in "making" device driver.. plz help Maninder Using Fedora 0 3rd April 2008 02:39 PM
Fglrx driver install - "direct rendering: No", Xlib: extension "XFree86-DRI" missing Squeaks Hardware & Laptops 9 21st October 2006 12:10 PM
window maker "make" / "make install" problem (FC4) xiekke Using Fedora 3 15th February 2006 04:44 PM


Current GMT-time: 12:06 (Thursday, 21-08-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat