[OpenAFS] 1.2.10 build problems on 'linux from scratch'
Derrick J Brashear
shadow@dementia.org
Tue, 26 Aug 2003 17:38:20 -0400 (EDT)
On Tue, 26 Aug 2003, Kevin Coffman wrote:
> the final message of the thread, configure completed. However, now I
> think I'm running into the consequences of that with the following
> error during the make:
>
> gcc -O2 -fomit-frame-pointer -fno-strength-reduce -fno-strict-aliasing
> -fno-common -pipe -march=pentium -D__KERNEL__ -DCPU=586 -DKERNEL
> -D_KERNEL -DMODULE -DAFS_SMP -I. -I../ -I/home/kwc/build/openafs-1.2.
> 10/src/config -c ../afs/osi_module.c
> ../afs/osi_module.c: In function `afs_init':
> ../afs/osi_module.c:325: `sys_exit' undeclared (first use in this
> function)
> ../afs/osi_module.c:325: (Each undeclared identifier is reported only
> once
> ../afs/osi_module.c:325: for each function it appears in.)
> ../afs/osi_module.c:327: warning: assignment from incompatible pointer
> type
> make[4]: *** [osi_module.o] Error 1
> make[4]: Leaving directory `/home/kwc/build/openafs-1.2.10/src/libafs/MO
> DLOAD-2.4.20-MP'
> make[3]: *** [linux_compdirs] Error 2
> make[3]: Leaving directory `/home/kwc/build/openafs-1.2.10/src/libafs'
> make[2]: *** [libafs] Error 2
> make[2]: Leaving directory `/home/kwc/build/openafs-1.2.10'
> make[1]: *** [build] Error 2
> make[1]: Leaving directory `/home/kwc/build/openafs-1.2.10'
> make: *** [all] Error 2
> -bash-2.05b$ ls
>
> The kernel header files are located in /usr/include/linux and I have
It would be nicer if you could point at e.g. /usr/src/linux-whatever,
where the kernel was compiled.
> specified './configure --with-linux-kernel-headers=/usr' which is what
> worked when building the cvs snapshot. This is not the machine where
> the kernel was built, but the headers are 'guaranteed' to match the
> kernel I'm running.
including the modversions crap which would be in
include/linux/modules/*.ver?