LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-08-2006, 10:22 PM   #1
cranium2004
Member
 
Registered: Feb 2004
Distribution: FC4,RHEL4
Posts: 223

Rep: Reputation: 30
error in compilation gives `TIOCGDEV' undeclared


hi,
i downloaded source rpm for hwinfo-10.16-3 and got hwinfo-10.16.tar.bz2. then i untar and try to make but i got following errors
Code:
cc -c -Wall -O2 -pipe -g -fPIC  -I../../src/hd kbd.c
kbd.c: In function `add_serial_console':
kbd.c:137: error: `TIOCGDEV' undeclared (first use in this function)
kbd.c:137: error: (Each undeclared identifier is reported only once
kbd.c:137: error: for each function it appears in.)
make: *** [kbd.o] Error 1
How can i solve this? I downloaded srpm from suse and using Fedora core 4
 
Old 03-09-2006, 07:27 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
How can i solve this? I downloaded srpm from suse and using Fedora core 4
"Apparently" the `TIOCGDEV' is SuSE-specific ioctl. Your choices are:
- source from Debian (only place I could find it at) http://packages.debian.org/unstable/admin/hwinfo (needs libsysfs),
- an unofficial RHL/FC4 hwinfo .src.rpm,
- or patch your kernel (baaaahhhhb) and suffer the consequences...
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cairo-1.0.2 and 1.0.0 - error: CAIRO_FONT_SCALED_BACKEND_DEFAULT undeclared ForYouAndI.com Linux - Software 0 01-15-2006 06:42 PM
Grr... saa7146_i2c.c error : `I2C_ADAP_CLASS_TV_ANALOG' undeclared kapa SUSE / openSUSE 0 03-08-2005 02:57 AM
prelink error: `PT_GNU_STACK' undeclared vbbjq Slackware 7 08-23-2004 12:57 PM
make error: 'assert' undeclared (convex3D) mikshaw Linux - Software 2 03-25-2004 03:22 AM
doneshowconsole: Warning: the ioctl TIOCGDEV is not known by the kernel Consystor Linux - Hardware 3 08-05-2003 08:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:43 AM.

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