[OpenAFS-devel] aklog not compiling openafs-1.4.1

Jason Carr jason@flacid.org
Mon, 08 May 2006 13:46:25 -0400


I'm having some problems compiling openafs-1.4.1 on ArchLinux running
2.6.16 kernel.  I'm using heimdal 0.7.2.  I saw some earlier posts about
aklog not compiling on RHEL, but this seems different.

Any helpful hints would be greatly appreciated.  If more information is
needed, I'd be happy to provide that information.

Using this configure line: ./configure --prefix=/usr --sysconfdir=/etc
--with-krb5-conf

This is the error I am getting:

make[3]: Entering directory
`/home/jason/openafs/src/openafs-1.4.1/src/aklog'
gcc -pipe -o aklog  -I/usr/include/heimdal -I/usr/include
-DALLOW_REGISTER -I/home/jason/openafs/src/openafs-1.4.1/src/config -I.
-I. -I/home/jason/openafs/src/openafs-1.4.1/include
-I/home/jason/openafs/src/openafs-1.4.1/include/afs
-I/home/jason/openafs/src/openafs-1.4.1/include/rx
-I/home/jason/openafs/src/openafs-1.4.1
-I/home/jason/openafs/src/openafs-1.4.1/src
-I/home/jason/openafs/src/openafs-1.4.1/src -g -O2 -D_LARGEFILE64_SOURCE
aklog.o aklog_main.o krb_util.o linked_list.o  -L/usr/lib -lkrb5 -lasn1
-lcom_err -L/usr/lib -lcrypto -lroken -lcrypt -ldl -lresolv
-pthread /home/jason/openafs/src/openafs-1.4.1/lib/libprot.a /home/jason/openafs/src/openafs-1.4.1/lib/libubik.a /home/jason/openafs/src/openafs-1.4.1/lib/libauth.a /home/jason/openafs/src/openafs-1.4.1/lib/librxkad.a /home/jason/openafs/src/openafs-1.4.1/lib/librx.a /home/jason/openafs/src/openafs-1.4.1/lib/liblwp.a /home/jason/openafs/src/openafs-1.4.1/lib/libsys.a /home/jason/openafs/src/openafs-1.4.1/lib/libdes.a /home/jason/openafs/src/openafs-1.4.1/lib/libafsutil.a -lresolv
gcc -pipe  -I/usr/include/heimdal -I/usr/include -DALLOW_REGISTER
-I/home/jason/openafs/src/openafs-1.4.1/src/config -I. -I.
-I/home/jason/openafs/src/openafs-1.4.1/include
-I/home/jason/openafs/src/openafs-1.4.1/include/afs
-I/home/jason/openafs/src/openafs-1.4.1/include/rx
-I/home/jason/openafs/src/openafs-1.4.1
-I/home/jason/openafs/src/openafs-1.4.1/src
-I/home/jason/openafs/src/openafs-1.4.1/src -g -O2 -D_LARGEFILE64_SOURCE
-c asetkey.c
asetkey.c: In function 'main':
asetkey.c:46: warning: incompatible implicit declaration of built-in
function 'exit'
asetkey.c:55: warning: incompatible implicit declaration of built-in
function 'exit'
asetkey.c:67: warning: incompatible implicit declaration of built-in
function 'exit'
asetkey.c:76: warning: incompatible implicit declaration of built-in
function 'exit'
asetkey.c:82: warning: incompatible implicit declaration of built-in
function 'exit'
asetkey.c:85: error: 'struct EncryptionKey' has no member named 'length'
asetkey.c:87: error: 'struct EncryptionKey' has no member named 'length'
asetkey.c:88: warning: incompatible implicit declaration of built-in
function 'exit'
asetkey.c:91: error: 'struct EncryptionKey' has no member named
'contents'
asetkey.c:94: warning: incompatible implicit declaration of built-in
function 'exit'
asetkey.c:104: warning: incompatible implicit declaration of built-in
function 'exit'
asetkey.c:111: warning: incompatible implicit declaration of built-in
function 'exit'
asetkey.c:121: warning: incompatible implicit declaration of built-in
function 'exit'
asetkey.c:136: warning: incompatible implicit declaration of built-in
function 'exit'
asetkey.c:138: warning: incompatible implicit declaration of built-in
function 'exit'
make[3]: *** [asetkey.o] Error 1
make[3]: Leaving directory
`/home/jason/openafs/src/openafs-1.4.1/src/aklog'
make[2]: *** [aklog] Error 2
make[2]: Leaving directory `/home/jason/openafs/src/openafs-1.4.1'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/home/jason/openafs/src/openafs-1.4.1'
make: *** [all] Error 2