[OpenAFS] Problem with compiling OpenAFS on RH 9
Madhusudan Singh
chhabra@eecs.umich.edu
Tue, 08 Apr 2003 16:05:09 -0400
Hi
I just finished upgrading my RH Linux installation, and tried to
compile openafs modules from source (ver 1.2.8).
I get the following errors :
cc -I/usr/local/src/openafs/openafs-1.2.8/src/config
-I/usr/local/src/openafs/openafs-1.2.8/include -O2 -o rmtsysd rmtsysd.o
libsys.a /usr/local/src/openafs/openafs-1.2.8/lib/librx.a libsys.a
/usr/local/src/openafs/openafs-1.2.8/lib/liblwp.a
/usr/local/src/openafs/openafs-1.2.8/lib/util.a -lresolv
libsys.a(rmtsyss.o)(.text+0x114): In function `SRMTSYS_SetPag':
: undefined reference to `errno'
libsys.a(rmtsyss.o)(.text+0x220): In function `SRMTSYS_Pioctl':
: undefined reference to `errno'
collect2: ld returned 1 exit status
make[3]: *** [rmtsysd] Error 1
make[3]: Leaving directory `/usr/local/src/openafs/openafs-1.2.8/src/sys'
make[2]: *** [sys] Error 2
make[2]: Leaving directory `/usr/local/src/openafs/openafs-1.2.8'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/usr/local/src/openafs/openafs-1.2.8'
make: *** [all] Error 2
My configuration is created using :
./configure --with-afs-sysname=i386_linux24 --enable-transarc-paths
--with-linux-kernel-headers=/usr/src/linux-2.4.20 --enable-obsolete
/usr/src/linux-2.4.20 is the directory where I have unpacked the
kernel source used to compile the custom kernel.
I have successfully been able to compile openafs with the same
kernel but on RH 7.3. gcc version is different in these two cases.
Any ideas ?
Thanks,
Madhusudan Singh.