Hello

I am attempting to compile autofs-3.1.3 on my InfoMagic Workgroup Server
Linux system, but the compilation fails on ./daemon/automount.c. I am hoping
that
someone can tell me if this in fact a ./configure or autofs bug, or if as I
believe, the
error indicates a system configuration error.

I am in the process of compiling kernel 2.2.9, so I am running kernel 2.0.29
with header files from kernel 2.2.9.

It seems likely that some required headers are missing from my system. Are
the autofs necessary header files, /usr/include/linux/version.h and
/usr/include/linux/autoconf.h, distributed or created, and if so, by which
package.  Also which auto_fs.h file should the compiler find
/usr/linux/include/auto_fs.h and/or
/sourcedir/autofs-3.1.3/include/auto_fs.h

System Particulars
----------------------------

gcc -v
---------
Reading specs from /usr/lib/gcc-lib/i486-pc-linux-gnu/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)

uname -a
--------------
Linux jazz 2.0.29 #1 Fri Mar 7 18:25:54 PST 1997 i486
(with include files from 2.2.9)

binutils
----------
GNU assembler version 2.9.1 (i586-linux), using BFD version 2.9.1.0.15
GNU ld version 2.9.1 (with BFD 2.9.1.0.15)
  Supported emulations:
   elf_i386
   i386linux
   i386coff

libc
-----
glibc-2.1.1

autofs-make.script excerpt
---------------------------------------
        .
        .
        .
make[1]: Entering directory
`/home/programming/system/sources/autofs-3.1.3/daemon'
gcc -O3 -fomit-frame-pointer -Wall -rdynamic
-DAUTOFS_LIB_DIR=\"/usr/lib/autofs\" -DVERSION_STRING=\"3.1.3\" -I../include

-c automount.c
In file included from automount.c:38:
../include/linux/auto_fs.h:18: linux/version.h: No such file or directory
In file included from /usr/include/linux/fs.h:9,
                 from ../include/linux/auto_fs.h:19,
                 from automount.c:38:
/usr/include/linux/config.h:4: linux/autoconf.h: No such file or directory
In file included from /usr/include/linux/fs.h:12,
                 from ../include/linux/auto_fs.h:19,
                 from automount.c:38:
/usr/include/linux/wait.h:4: warning: `WNOHANG' redefined
/usr/include/bits/waitflags.h:26: warning: this is the location of the
previous definition
/usr/include/linux/wait.h:5: warning: `WUNTRACED' redefined
/usr/include/bits/waitflags.h:27: warning: this is the location of the
previous definition
make:[1] *** [automount.o] Error 1
make[1]: Leaving directory
`/home/programming/system/sources/autofs-3.1.3/daemon'
        .
        .
        .

If more information is necessary I have also attached the following files:

Configure.in, Config.log, Config.status, autofs-configure.script
and the full autofs-make.script


Many Thanks,
Take Care,
Shayne

Reply via email to