[OpenAFS] Compile problems and core dumping afsd

Jeroen Vriesman jeroen.vriesman@experian.nl
Fri, 4 Apr 2003 16:59:32 +0200


Hi all,

I've been trying to set up an afs server for a while now, but I'm new to it.

First of all, the server (bos etc.) seems to work, but the problem when is:
When I try to start afsd (on the same machine) I get a core dump, no messages, nothing.

I've installed:

openafs-1.2.8-rh7.3.1
openafs-server-1.2.8-rh7.3.1
openafs-client-1.2.8-rh7.3.1
openafs-kernel-1.2.8-rh7.3.1
openafs-kpasswd-1.2.8-rh7.3.1
openafs-devel-1.2.8-rh7.3.1
openafs-kernel-source-1.2.8-rh7.3.1
openafs-compat-1.2.8-rh7.3.1
openafs-krb5-1.2.8-rh7.3.1

On a Mandrake 8.2 machine, no missing dependencies whatsoever.

First of all, I thought there might be something with the specific RedHat kernel patches, so I've installed 2.4.18-3 (recompiled it with the standard redhat config file). Then afs start loaded the libafs for 2.4.18-3 (standard binairy from the rpms), but still the same, afsd core dump.
So the I got openafs-1.2.8-rh7.1.1.src.rpm and tried to compile it with rpm -bb, which gave me, after a while the following compile error:

gcc  -O2 -fomit-frame-pointer -fno-strength-reduce -fno-strict-aliasing -fno-common -pipe -march=pentium -D__KERNEL__  -DCPU=586 -DKERNEL -D_KERNEL -DMODULE -DREDHAT_FIX  -I. -I../ -I/usr/src/RPM/BUILD/openafs-1.2.8/src/config -c ../rx/rx.c;
../rx/rx.c: In function `rx_NewService':
../rx/rx.c:1200: `printk_R1b7d4074' undeclared (first use in this function)
../rx/rx.c:1200: (Each undeclared identifier is reported only once
../rx/rx.c:1200: for each function it appears in.)
make[4]: *** [rx.o] Error 1
make[4]: Leaving directory `/usr/src/RPM/BUILD/openafs-1.2.8/src/libafs/MODLOAD-2.4.18-3custom-i386-SP'
make[3]: *** [linux_compdirs] Error 2
make[3]: Leaving directory `/usr/src/RPM/BUILD/openafs-1.2.8/src/libafs'
make[2]: *** [libafs] Error 2
make[2]: Leaving directory `/usr/src/RPM/BUILD/openafs-1.2.8'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/usr/src/RPM/BUILD/openafs-1.2.8'
make: *** [only_libafs] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.93528 (%build)

Any idea ? Am I missing some header file somewhere?

Be well,
Jeroen.