xfs
[Top] [All Lists]

[Bug 217] New: Kernel compilation error

To: xfs-master@xxxxxxxxxxx
Subject: [Bug 217] New: Kernel compilation error
From: bugzilla-daemon@xxxxxxxxxxx
Date: Sat, 8 Feb 2003 09:51:51 -0800
Sender: linux-xfs-bounce@xxxxxxxxxxx
http://oss.sgi.com/bugzilla/show_bug.cgi?id=217

           Summary: Kernel compilation error
           Product: Linux XFS
           Version: unspecified
          Platform: IA32
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: XFS kernel code
        AssignedTo: xfs-master@xxxxxxxxxxx
        ReportedBy: nemeczek@xxxxxx


If this is a userspace bug, what version of the package are you using:

What kernel are you using:
2.4.20 without loadable modules

Where did the XFS code come from?  (CVS, Linus, your distribution, etc):
ftp://oss.sgi.com/projects/xfs/patches/2.4.20/xfs-2.4.20-all-i386.bz2 

Description of Problem:

Undeclared symbol ESRCH in module.h (see below)
_________________________________________________________
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-bugreport/include  -Wall -Wstrict-
prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-
pointer -pipe  -march=i686   -nostdinc -iwithprefix include -
DKBUILD_BASENAME=sys  -c -o sys.o sys.c
/usr/src/linux-2.4.20-bugreport/include/linux/module.h: In function 
`print_symbol':
In file included from sys.c:7:
/usr/src/linux-2.4.20-bugreport/include/linux/module.h:434: `ESRCH' undeclared 
(first use in this function)
/usr/src/linux-2.4.20-bugreport/include/linux/module.h:434: (Each undeclared 
identifier is reported only once
/usr/src/linux-2.4.20-bugreport/include/linux/module.h:434: for each function 
it appears in.)
/usr/src/linux-2.4.20-bugreport/include/linux/module.h:435: warning: control 
reaches end of non-void function
make[2]: *** [sys.o] Error 1

How Reproducible:


Steps to Reproduce:
1. Patch kernel 2.4.20
2. Disable loadable module support
3. make bzImage

Actual Results:


Expected Results:


Additional Information:

My workaround:
---- line 10
#include <linux/config.h>
#include <linux/spinlock.h>
#include <linux/list.h>
#include <linux/errno.h>
 
#ifdef __GENKSYMS__     
----



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


<Prev in Thread] Current Thread [Next in Thread>