LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 02-04-2009, 06:46 AM   #1
a_minor
LQ Newbie
 
Registered: Dec 2008
Location: Tehran , IRN
Distribution: Fedora core 16
Posts: 23

Rep: Reputation: 0
header conflict?


Hi,

how can i correct the correct the conflication between /sys/types.h and /linux/stat.h headers? for example in "dev_t" or "mode_t" ,...

i included 2 headers in above and errors are such:
....../sys/types.h:62 : error: conflicting types for 'dev_t'
....../sys/stat.h:13 : error: previous decleration of 'dev_t' was here
..
...

what must i do?

Last edited by a_minor; 02-04-2009 at 07:21 AM.
 
Old 02-05-2009, 03:13 AM   #2
kauuttt
Member
 
Registered: Dec 2008
Location: Atlanta, GA, USA
Distribution: Ubuntu
Posts: 135

Rep: Reputation: 26
This is a known bug..and it is fixed in the latest version of many distributions. try to google out for that. others can help you regarding
it is neccessary to know what u are exactly compiling or ur motive behind this compilation.
-kd
 
Old 02-06-2009, 12:54 AM   #3
a_minor
LQ Newbie
 
Registered: Dec 2008
Location: Tehran , IRN
Distribution: Fedora core 16
Posts: 23

Original Poster
Rep: Reputation: 0
hi,

yes that's right about that bug, first time that I compile program wrongly I guess that these ugly errors are because of my mistake in writing code, but when at second time I try it on kernel version 2.6.27 (try it before on 2.6.25 i think) the errors disappeared ! and problem was on ext2_fs.h file,

thanks
 
  


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
Audio Confliction Diminished7th Slackware 8 05-08-2005 07:41 PM
Audio confliction Diminished7th Linux - Hardware 5 05-08-2005 07:28 PM
SuSe 9.1 Package confliction xprimnt Linux - Newbie 5 08-23-2004 03:09 AM
Ip confliction problem consol mode. sixth_sense Linux - Newbie 3 03-30-2004 03:33 AM
Sendmail Confliction tbh_grey_fox Linux - Software 5 08-09-2003 05:41 AM

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

All times are GMT -5. The time now is 05:01 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