xfs
[Top] [All Lists]

[Bug 199] New: XFS kernel doesn't compile

To: xfs-master@xxxxxxxxxxx
Subject: [Bug 199] New: XFS kernel doesn't compile
From: bugzilla-daemon@xxxxxxxxxxx
Date: Thu, 28 Nov 2002 10:13:05 -0800
Sender: linux-xfs-bounce@xxxxxxxxxxx
http://oss.sgi.com/bugzilla/show_bug.cgi?id=199

           Summary: XFS kernel doesn't compile
           Product: Linux XFS
           Version: Current
          Platform: IA32
               URL: http://web.luchs.at/
        OS/Version: Linux
            Status: NEW
          Severity: blocker
          Priority: Medium
         Component: XFS kernel code
        AssignedTo: xfs-master@xxxxxxxxxxx
        ReportedBy: noc@xxxxxxxxxxxxxxx
                CC: noc@xxxxxxxxxxxxxxx


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

What kernel are you using: 2.4.20-rc4-xfs (from CVS)

Where did the XFS code come from?  (CVS, Linus, your distribution, etc): CVS

Description of Problem:
After configuring the kernel and running "make dep && make bzImage && make 
modules" the compile process exits when compiling the XFS driver module.

gcc -D__KERNEL__ -I/usr/src/linux-2.4-xfs/linux/include  -Wall 
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon  -DMODULE 
-DMODVERSIONS -include /usr/src/linux-2.4-xfs/linux/include/linux/modversions.h 
-I. -funsigned-char -nostdinc -iwithprefix include -DKBUILD_BASENAME=xfs_dmapi  
-c -o xfs_dmapi.o xfs_dmapi.c
xfs_dmapi.c:50: `DMATTR_PREFIXLEN' undeclared here (not in a function)
xfs_dmapi.c:50: `DM_ATTR_NAME_SIZE' undeclared here (not in a function)
xfs_dmapi.c:58: `DMATTR_PREFIXLEN' undeclared here (not in a function)
xfs_dmapi.c:58: confused by earlier errors, bailing out
make[2]: *** [xfs_dmapi.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4-xfs/linux/fs/xfs'
make[1]: *** [_modsubdir_xfs] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4-xfs/linux/fs'
make: *** [_mod_fs] Error 2

The .config file is available but I don't want to post it into the Bugzilla web 
interface.

How Reproducible:
Configure XFS as module and start the kernel build.

Steps to Reproduce:
1. make menuconfig
2. make dep && make bzImage
3. make modules

Actual Results:
The compile process exits when compiling the XFS module

Expected Results:
A clean compile run.

Additional Information:
GCC 3.2 from Red Hat 8 was used for compilation (Red Hat dropped the egcs/kgcc 
packages).



------- 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>
  • [Bug 199] New: XFS kernel doesn't compile, bugzilla-daemon <=