xfs
[Top] [All Lists]

minor problem with <linux/autoconf.h>

To: linux-xfs@xxxxxxxxxxx
Subject: minor problem with <linux/autoconf.h>
From: "christian mueller" <christian.mueller1@xxxxxx>
Date: Thu, 16 Aug 2001 12:25:04 +0200
Sender: owner-linux-xfs@xxxxxxxxxxx
hi all,

xfsprogs-1.3.5: make fails in libdisk/liblvm.h at line 46 
#include <linux/autoconf.h>
on my SuSE 7.2 system.

this is possible a little out of topic...

on my system /usr/include/asm and /usr/include/linux aren't links to
the kernelsrc-tree (current is linux-2.4.8-xfs) /usr/src/linux/... 
i guess they are copies from original SuSE-2.4.4 kernel.
in there is no autoconf.h included.

i looked myself at the FHS v2.1 on my system (homepage is down)
and that explains...
<...>
6.1.5  /usr/include : Header files included by C programs

       These symbolic links are required if a C or C++ compiler is installed
       and only for systems not based on glibc.
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
           /usr/include/asm -> /usr/src/linux/include/asm-<arch>
           /usr/include/linux -> /usr/src/linux/include/linux

6.1.6  /usr/src : Source code
          <...>
       The only source code that should be placed in a specific location is the
       Linux kernel source code.  It is located in /usr/src/linux.

       If a C or C++ compiler is installed, but the complete Linux kernel
       source code is not installed, then the include files from the kernel
       source code shall be located in these directories:

           /usr/src/linux/include/asm-<arch>
           /usr/src/linux/include/linux
          <...>
       BEGIN RATIONALE
       It is important that the kernel include files be located in
       /usr/src/linux and not in /usr/include so there are no problems when
       system administrators upgrade their kernel version for the first time.
       END RATIONALE
<...>

should these dirs always stay up-to-date with the current installed
kernelsrc-tree or is it a configure/autoconf problem that should look into
/usr/src/linux/include/ ?

-chris

btw xfsprogs-1.3.1 and other non-XFS-sources, make runs fine.


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