[OpenAFS] Re: SUSE 10.1 kernel 2.6.16.13-4/AM64 bit compile error

ted creedon tcreedon@easystreet.com
Thu, 13 Jul 2006 09:16:40 -0700


Enclosed are build 4 cases, the configure is shown as well as aclocal
and patch when used.

The only case  that works at all is case#4 which requires a patch,
aclocal and then ./configure  and make -s. (I think we've seen this before).

There are plenty of compile errors in case#4 but it does link and install...

Is it stable enough to try?

Tedc
Case #1:
/configure --enable-transarc-paths --enable-supergroups 
--enable-namei-fileserver --enable-largefile-fileserver \
--enable-fast-restart --with-krb5 --enable-bitmap-later
make -s
<--------------tail of output--------------->
+ echo Skipping sgistuff for amd64_linux26
Skipping sgistuff for amd64_linux26
+ test yes = yes
+ cd src
+ cd aklog
+ make all
aklog_main.c:207:2: error: #error "You must have one of
krb5_524_convert_creds or krb524_convert_creds_kdc available"
aklog_main.c:1533: error: conflicting types for 'add_error_table'
/usr/include/et/com_err.h:49: error: previous declaration of
'add_error_table' was here
make[3]: *** [aklog_main.o] Error 1
make[2]: *** [aklog] Error 2
make[1]: *** [build] Error 2
make: *** [all] Error 2

real    4m55.697s

case #2:
./configure --enable-transarc-paths --enable-supergroups 
--enable-namei-fileserver --enable-largefile-fileserver \
--enable-fast-restart  --enable-bitmap-later \
--with-krb5-conf=/usr/lib/mit/bin/krb5-config
--with-linux-kernel-headers=/usr/src/linux+ test yes = yes
make -s
<--------------tail of output--------------->
+ cd src
+ cd aklog
+ make all
aklog_main.c:207:2: error: #error "You must have one of
krb5_524_convert_creds or krb524_convert_creds_kdc available"
aklog_main.c:1533: error: conflicting types for 'add_error_table'
/usr/include/et/com_err.h:49: error: previous declaration of
'add_error_table' was here
make[3]: *** [aklog_main.o] Error 1
make[2]: *** [aklog] Error 2
make[1]: *** [build] Error 2
make: *** [all] Error 2

Case#3:
redcloud:/data/openafs-1.5.2 # patch -p0 <132476.patch
patching file src/cf/linux-test4.m4
patching file src/cf/linux-test1.m4
patching file src/cf/linux-test2.m4
patching file src/cf/linux-test3.m4
patching file acinclude.m4
Hunk #1 succeeded at 571 (offset 15 lines).
Hunk #2 succeeded at 591 (offset 15 lines).
Hunk #3 succeeded at 768 (offset 15 lines).
redcloud:/data/openafs-1.5.2 #   make -s

<--------------tail of output--------------->
+ cd src
+ cd aklog
+ make all
aklog_main.c:207:2: error: #error "You must have one of
krb5_524_convert_creds or krb524_convert_creds_kdc available"
aklog_main.c:1533: error: conflicting types for 'add_error_table'
/usr/include/et/com_err.h:49: error: previous declaration of
'add_error_table' was here
make[3]: *** [aklog_main.o] Error 1
make[2]: *** [aklog] Error 2
make[1]: *** [build] Error 2
make: *** [all] Error 2

Case#4:
patch -p0 <132476.patch
aclocal
./configure --enable-transarc-paths --enable-supergroups 
--enable-namei-fileserver --enable-largefile-fileserver --with-krb5-c
onf=/usr/lib/mit/bin/krb5-config --with-linux-kernel-headers=/usr/src/linux

<--------------tail of output--------------->
make[3]: Leaving directory `/data/openafs-1.5.2/src/shlibafsauthent'
set -x; \
if test "no" = "yes"; then \
        cd src && cd pam && make install ; \
else \
        echo Skipping pam for amd64_linux26 ; \
fi
+ test no = yes
+ echo Skipping pam for amd64_linux26
Skipping pam for amd64_linux26
set -x; \
case amd64_linux26 in \
alpha_dux* ) \
        cd src && cd sia && make install ;; \
* ) \
        echo Skipping sia for amd64_linux26 ;; \
esac
+ case amd64_linux26 in
+ echo Skipping sia for amd64_linux26
Skipping sia for amd64_linux26
set -x; \
case amd64_linux26 in \
rs_aix* ) \
        cd src && cd tsm41 && make install ;; \
* ) \
        echo Skipping tsm41 for amd64_linux26 ;; \
esac
+ case amd64_linux26 in
+ echo Skipping tsm41 for amd64_linux26
Skipping tsm41 for amd64_linux26
set -x; \
case amd64_linux26 in \
sgi_* ) \
        cd src && cd sgistuff && make install ;; \
* ) \
        echo Skipping sgistuff for amd64_linux26 ;; \
esac
+ case amd64_linux26 in
+ echo Skipping sgistuff for amd64_linux26
Skipping sgistuff for amd64_linux26
set -x; \
if test "yes" = "yes"; then \
        cd src && cd aklog && make install ; \
else \
        echo Skipping aklog for amd64_linux26 ; \
fi
+ test yes = yes
+ cd src
+ cd aklog
+ make install
make[3]: Entering directory `/data/openafs-1.5.2/src/aklog'
/data/openafs-1.5.2/src/pinstall/pinstall aklog /usr/local/bin/aklog
if test "xasetkey" != "x"; then
/data/openafs-1.5.2/src/pinstall/pinstall asetkey /usr/afs/bin/asetkey; fi
make[3]: Leaving directory `/data/openafs-1.5.2/src/aklog'
set -x; \
if test "no" = "yes"; then \
        cd src && cd login && make install ; \
else \
        echo Skipping login for amd64_linux26 ; \
fi
+ test no = yes
+ echo Skipping login for amd64_linux26
Skipping login for amd64_linux26
if test -d "doc/man-pages" ; then \
        cd doc/man-pages && make install ; \
fi
cd src && cd finale && make install
make[3]: Entering directory `/data/openafs-1.5.2/src/finale'
/data/openafs-1.5.2/src/pinstall/pinstall translate_et
/usr/local/bin/translate_et
make[3]: Leaving directory `/data/openafs-1.5.2/src/finale'
make[2]: Leaving directory `/data/openafs-1.5.2'
make[1]: Leaving directory `/data/openafs-1.5.2'