LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 06-01-2004, 03:22 AM   #1
seshasai
LQ Newbie
 
Registered: Jun 2004
Location: Hyderabad, India
Distribution: SLES 9.0
Posts: 2

Rep: Reputation: 0
Compilation error when including <linux/ext3_fs.h> in SuSE Linux 9.0 (i586)


In a source file (e.g. xxx.c), the following headers are included.
# include <linux/fs.h>
# include <linux/ext3_fs.h>
# include <sys/types.h>

While compiling the source file in SuSE Linux 9.0 (i586), following errors are displayed:
---------------------------------------
In file included from /usr/include/linux/ext3_fs.h:20,
from xxx.c:33:
/usr/include/linux/ext3_fs_i.h:80: error: field `i_orphan' has incomplete type
/usr/include/linux/ext3_fs_i.h:109: error: field `truncate_sem' has incomplete type
/usr/include/linux/ext3_fs_i.h:110: error: field `vfs_inode' has incomplete type
In file included from /usr/include/linux/ext3_fs.h:21,
from xxx.c:33:
/usr/include/linux/ext3_fs_sb.h:52: error: parse error before "u32"
/usr/include/linux/ext3_fs_sb.h:55: error: parse error before '*' token
/usr/include/linux/ext3_fs_sb.h:71: error: parse error before '}' token
In file included from xxx.c:33:
/usr/include/linux/ext3_fs.h:618: error: parse error before "u32"
/usr/include/linux/ext3_fs.h:621: error: parse error before '*' token
/usr/include/linux/ext3_fs.h:622: error: parse error before '}' token
---------------------------------------

The system had the glibc-devel package version 2.3.2-87 (i586) which contain the header file <linux/ext3_fs.h>. The glibc package version is 2.3.2-88 (i686).

I installed the glibc-devel package version 2.3.2-92 (i586) and compiled the source. Still the same error appears.

The compilation is successful in SuSE Linux 8.0 sp3. Can someone please tell what can be the problem in my SuSE Linux 9.0 (i586)? What can be done to resolve the problem?

Thanks in Advance.
Seshasai
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
chmod a+x jre-1_5_0-linux-i586-rpm.bin chemichael Fedora 4 09-24-2005 10:23 AM
FTP transfer including subdirectories for Linux Redhat 7.2 asaba Linux - Software 2 11-04-2004 02:17 AM
How to make a image file for my disk( Including win2000&Redhat Linux system)? teradyne Linux - Software 3 06-02-2004 04:25 AM
Installing j2re-1_4_2_04-linux-i586.rpm paisano2k Fedora 12 05-07-2004 02:56 AM
j2re-1_4_1_01-linux-i586-rpm.bin gsikora Linux - Software 2 01-19-2003 09:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

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