[OpenAFS-devel] Problems with build module the openafs 1.3.77 with FC3 2.6.10-ck1
Jesus Delgado
Jesus Delgado <jdelgado@gmail.com>
Tue, 28 Dec 2004 14:31:38 -0500
Hi:
Im try the build module with openafs 1.3.77 with kernel 2.6.10-ck1
in FC3, anex th stdout:
ar crv util.a assert.o base64.o casestrcpy.o ktime.o volparse.o
hostparse.o hputil.o kreltime.o isathing.o get_krbrlm.o uuid.o
serverLog.o dirpath.o fileutil.o netutils.o flipbase64.o
afs_atomlist.o afs_lhash.o snprintf.o strlcat.o strlcpy.o
AFS_component_version_number.o
a - assert.o
a - base64.o
a - casestrcpy.o
a - ktime.o
a - volparse.o
a - hostparse.o
a - hputil.o
a - kreltime.o
a - isathing.o
a - get_krbrlm.o
a - uuid.o
a - serverLog.o
a - dirpath.o
a - fileutil.o
a - netutils.o
a - flipbase64.o
a - afs_atomlist.o
a - afs_lhash.o
a - snprintf.o
a - strlcat.o
a - strlcpy.o
a - AFS_component_version_number.o
ranlib util.a
/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/pinstall/pinstall util.a
/home/jds/rpmbuild/BUILD/openafs-1.3.77/lib/util.a
/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/pinstall/pinstall util.a
/home/jds/rpmbuild/BUILD/openafs-1.3.77/lib/libafsutil.a
gcc -pipe -O2 -I/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/config
-I. -I. -I/home/jds/rpmbuild/BUILD/openafs-1.3.77/include
-I/home/jds/rpmbuild/BUILD/openafs-1.3.77/include/afs
-I/home/jds/rpmbuild/BUILD/openafs-1.3.77/include/rx
-I/home/jds/rpmbuild/BUILD/openafs-1.3.77
-I/home/jds/rpmbuild/BUILD/openafs-1.3.77/src
-I/home/jds/rpmbuild/BUILD/openafs-1.3.77/src -g -O2
-D_LARGEFILE64_SOURCE -c ./sys.c
gcc -pipe -o sys sys.o
make[3]: Leaving directory `/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/util'
cd src && cd comerr && make all
make[3]: Entering directory `/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/comerr'
/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/pinstall/pinstall
libcom_err.a /home/jds/rpmbuild/BUILD/openafs-1.3.77/lib/libcom_err.a
No changes to libcom_err.a since
/home/jds/rpmbuild/BUILD/openafs-1.3.77/lib/libcom_err.a installed
make[3]: Leaving directory `/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/comerr'
cd src && cd ubik && make depinstall
make[3]: Entering directory `/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/ubik'
Makefile:175: warning: overriding commands for target `/usr/bin/udebug'
Makefile:172: warning: ignoring old commands for target `/usr/bin/udebug'
/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/pinstall/pinstall ubik.h
/home/jds/rpmbuild/BUILD/openafs-1.3.77/include/ubik.h
No changes to ubik.h since
/home/jds/rpmbuild/BUILD/openafs-1.3.77/include/ubik.h installed
/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/pinstall/pinstall
ubik_int.h /home/jds/rpmbuild/BUILD/openafs-1.3.77/include/ubik_int.h
No changes to ubik_int.h since
/home/jds/rpmbuild/BUILD/openafs-1.3.77/include/ubik_int.h installed
make[3]: Leaving directory `/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/ubik'
cd src && cd auth && make depinstall
make[3]: Entering directory `/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/auth'
/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/pinstall/pinstall
cellconfig.h /home/jds/rpmbuild/BUILD/openafs-1.3.77/include/afs/cellconfig.h
No changes to cellconfig.h since
/home/jds/rpmbuild/BUILD/openafs-1.3.77/include/afs/cellconfig.h
installed
/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/pinstall/pinstall auth.h
/home/jds/rpmbuild/BUILD/openafs-1.3.77/include/afs/auth.h
No changes to auth.h since
/home/jds/rpmbuild/BUILD/openafs-1.3.77/include/afs/auth.h installed
make[3]: Leaving directory `/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/auth'
cd src && cd vlserver && make depinstall
make[3]: Entering directory
`/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/vlserver'
/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/pinstall/pinstall
vlserver.h /home/jds/rpmbuild/BUILD/openafs-1.3.77/include/afs/vlserver.h
No changes to vlserver.h since
/home/jds/rpmbuild/BUILD/openafs-1.3.77/include/afs/vlserver.h
installed
/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/pinstall/pinstall
vldbint.h /home/jds/rpmbuild/BUILD/openafs-1.3.77/include/afs/vldbint.h
No changes to vldbint.h since
/home/jds/rpmbuild/BUILD/openafs-1.3.77/include/afs/vldbint.h
installed
make[3]: Leaving directory
`/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/vlserver'
cd src && cd rxkad && make depinstall
make[3]: Entering directory `/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/rxkad'
/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/pinstall/pinstall rxkad.h
/home/jds/rpmbuild/BUILD/openafs-1.3.77/include/rx/rxkad.h
No changes to rxkad.h since
/home/jds/rpmbuild/BUILD/openafs-1.3.77/include/rx/rxkad.h installed
make[3]: Leaving directory `/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/rxkad'
cd src && cd fsint && make depinstall
make[3]: Entering directory `/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/fsint'
/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/pinstall/pinstall afsint.h
/home/jds/rpmbuild/BUILD/openafs-1.3.77/include/afs/afsint.h
No changes to afsint.h since
/home/jds/rpmbuild/BUILD/openafs-1.3.77/include/afs/afsint.h installed
/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/pinstall/pinstall
afscbint.h /home/jds/rpmbuild/BUILD/openafs-1.3.77/include/afs/afscbint.h
No changes to afscbint.h since
/home/jds/rpmbuild/BUILD/openafs-1.3.77/include/afs/afscbint.h
installed
make[3]: Leaving directory `/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/fsint'
cd src && cd libacl && make depinstall
make[3]: Entering directory `/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/libacl'
make[3]: Nothing to be done for `depinstall'.
make[3]: Leaving directory `/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/libacl'
cd src && cd afs && make depinstall
make[3]: Entering directory `/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/afs'
/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/pinstall/pinstall
unified_afs.h /home/jds/rpmbuild/BUILD/openafs-1.3.77/include/afs/unified_afs.h
No changes to unified_afs.h since
/home/jds/rpmbuild/BUILD/openafs-1.3.77/include/afs/unified_afs.h
installed
case i386_linux26 in \
pmax_ul43 | pmax_ul43a) \
/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/pinstall/pinstall
longc_procs.h /home/jds/rpmbuild/BUILD/openafs-1.3.77/include/afs ;; \
esac
make[3]: Leaving directory `/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/afs'
cd src && cd dir && make depinstall
make[3]: Entering directory `/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/dir'
make[3]: Nothing to be done for `depinstall'.
make[3]: Leaving directory `/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/dir'
cd src && cd rxstat && make depinstall
make[3]: Entering directory `/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/rxstat'
/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/pinstall/pinstall rxstat.h
/home/jds/rpmbuild/BUILD/openafs-1.3.77/include/rx/rxstat.h
No changes to rxstat.h since
/home/jds/rpmbuild/BUILD/openafs-1.3.77/include/rx/rxstat.h installed
make[3]: Leaving directory `/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/rxstat'
cd src && cd sys && make depinstall
make[3]: Entering directory `/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/sys'
case i386_linux26 in \
rs_aix* ) \
/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/pinstall/pinstall afs.exp
/home/jds/rpmbuild/BUILD/openafs-1.3.77/include/afs/afs.exp ;; \
esac
case i386_linux26 in \
rs_aix* ) \
/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/pinstall/pinstall afsl.exp
../libuafs/afs/afsl.exp ;; \
esac
make[3]: Leaving directory `/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/sys'
cd src && cd libafs && make all
make[3]: Entering directory `/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/libafs'
Makefile.common:50: warning: overriding commands for target `.c.o'
/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/config/Makefile.config:132:
warning: ignoring old commands for target `.c.o'
rm -f h net netinet sys rpc
ln -fs rx rpc
for m in SP ; do \
KDIR=MODLOAD-2.6.10-ck1-$m; \
mkdir -p ${KDIR}; \
ln -fs ../Makefile ${KDIR}/Makefile.afs ; \
ln -fs ../Makefile.common ${KDIR}/Makefile.common; \
ln -fs ../config ${KDIR}/config; \
done
rm -f h
ln -fs /home/jds/rpmbuild/BUILD/openafs-1.3.77/kernelheaders/2.6.10-ck1/build//include/linux
h
rm -f linux
ln -fs /home/jds/rpmbuild/BUILD/openafs-1.3.77/kernelheaders/2.6.10-ck1/build//include/linux
linux
rm -f net
ln -fs /home/jds/rpmbuild/BUILD/openafs-1.3.77/kernelheaders/2.6.10-ck1/build//include/net
net
rm -f netinet
ln -fs /home/jds/rpmbuild/BUILD/openafs-1.3.77/kernelheaders/2.6.10-ck1/build//include/linux
netinet
rm -f sys
ln -fs /home/jds/rpmbuild/BUILD/openafs-1.3.77/kernelheaders/2.6.10-ck1/build//include/linux
sys
rm -f asm-generic
ln -fs /home/jds/rpmbuild/BUILD/openafs-1.3.77/kernelheaders/2.6.10-ck1/build//include/asm-generic
asm-generic
rm -f asm
ln -fs /home/jds/rpmbuild/BUILD/openafs-1.3.77/kernelheaders/2.6.10-ck1/build//include/asm-i386
asm
for m in SP ; do \
KDIR=MODLOAD-2.6.10-ck1-$m ; \
echo Building in directory: ${KDIR} ; \
if [ "$m" = "MP" ] ; then \
SMP_DEF="-DAFS_SMP " ; \
TARG="libafs.mp" ; \
elif [ "$m" = "EP" ] ; then \
SMP_DEF="-DAFS_SMP " ; \
TARG="libafs.ep" ; \
elif [ "$m" = "BM" ] ; then \
SMP_DEF="-DAFS_SMP " ; \
TARG="libafs.bm" ; \
else \
SMP_DEF=" " ; \
TARG=libafs ; \
fi ; \
cd ${KDIR} ; \
make -f Makefile.afs SMP_DEF="${SMP_DEF}"
linux_compdirs_${TARG} CLIENT=2.6.10-ck1 KDIR=${KDIR} || exit $?; \
cd ../ ; \
done
Building in directory: MODLOAD-2.6.10-ck1-SP
make[4]: Entering directory
`/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/libafs/MODLOAD-2.6.10-ck1-SP'
Makefile.common:50: warning: overriding commands for target `.c.o'
/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/config/Makefile.config:132:
warning: ignoring old commands for target `.c.o'
env EXTRA_CFLAGS="" .././make_kbuild_makefile.pl MODLOAD-2.6.10-ck1-SP
libafs.ko /home/jds/rpmbuild/BUILD/openafs-1.3.77/src/config/Makefile.config
Makefile.afs Makefile.common
env EXTRA_CFLAGS="" make -C
/home/jds/rpmbuild/BUILD/openafs-1.3.77/kernelheaders/2.6.10-ck1/build/
M=/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/libafs/MODLOAD-2.6.10-ck1-SP
modules
make[5]: Entering directory
`/home/jds/rpmbuild/BUILD/openafs-1.3.77/kernelheaders/2.6.10-ck1/build'
Makefile:484: .config: No such file or directory
CC [M] /home/jds/rpmbuild/BUILD/openafs-1.3.77/src/libafs/MODLOAD-2.6.10-ck1-SP/afs_atomlist.o
CC [M] /home/jds/rpmbuild/BUILD/openafs-1.3.77/src/libafs/MODLOAD-2.6.10-ck1-SP/afs_lhash.o
CC [M] /home/jds/rpmbuild/BUILD/openafs-1.3.77/src/libafs/MODLOAD-2.6.10-ck1-SP/afs_analyze.o
CC [M] /home/jds/rpmbuild/BUILD/openafs-1.3.77/src/libafs/MODLOAD-2.6.10-ck1-SP/afs_axscache.o
CC [M] /home/jds/rpmbuild/BUILD/openafs-1.3.77/src/libafs/MODLOAD-2.6.10-ck1-SP/afs_buffer.o
CC [M] /home/jds/rpmbuild/BUILD/openafs-1.3.77/src/libafs/MODLOAD-2.6.10-ck1-SP/afs_callback.o
CC [M] /home/jds/rpmbuild/BUILD/openafs-1.3.77/src/libafs/MODLOAD-2.6.10-ck1-SP/afs_cbqueue.o
CC [M] /home/jds/rpmbuild/BUILD/openafs-1.3.77/src/libafs/MODLOAD-2.6.10-ck1-SP/afs_cell.o
CC [M] /home/jds/rpmbuild/BUILD/openafs-1.3.77/src/libafs/MODLOAD-2.6.10-ck1-SP/afs_chunk.o
CC [M] /home/jds/rpmbuild/BUILD/openafs-1.3.77/src/libafs/MODLOAD-2.6.10-ck1-SP/afs_conn.o
CC [M] /home/jds/rpmbuild/BUILD/openafs-1.3.77/src/libafs/MODLOAD-2.6.10-ck1-SP/afs_daemons.o
CC [M] /home/jds/rpmbuild/BUILD/openafs-1.3.77/src/libafs/MODLOAD-2.6.10-ck1-SP/afs_dcache.o
CC [M] /home/jds/rpmbuild/BUILD/openafs-1.3.77/src/libafs/MODLOAD-2.6.10-ck1-SP/afs_dir.o
CC [M] /home/jds/rpmbuild/BUILD/openafs-1.3.77/src/libafs/MODLOAD-2.6.10-ck1-SP/afs_dynroot.o
CC [M] /home/jds/rpmbuild/BUILD/openafs-1.3.77/src/libafs/MODLOAD-2.6.10-ck1-SP/afs_init.o
CC [M] /home/jds/rpmbuild/BUILD/openafs-1.3.77/src/libafs/MODLOAD-2.6.10-ck1-SP/afs_lock.o
CC [M] /home/jds/rpmbuild/BUILD/openafs-1.3.77/src/libafs/MODLOAD-2.6.10-ck1-SP/afs_mariner.o
CC [M] /home/jds/rpmbuild/BUILD/openafs-1.3.77/src/libafs/MODLOAD-2.6.10-ck1-SP/afs_memcache.o
CC [M] /home/jds/rpmbuild/BUILD/openafs-1.3.77/src/libafs/MODLOAD-2.6.10-ck1-SP/afs_osi.o
/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/libafs/MODLOAD-2.6.10-ck1-SP/afs_osi.c:
In function `afs_osi_TraverseProcTable':
/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/libafs/MODLOAD-2.6.10-ck1-SP/afs_osi.c:863:
error: `TASK_ZOMBIE' undeclared (first use in this function)
/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/libafs/MODLOAD-2.6.10-ck1-SP/afs_osi.c:863:
error: (Each undeclared identifier is reported only once
/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/libafs/MODLOAD-2.6.10-ck1-SP/afs_osi.c:863:
error: for each function it appears in.)
make[6]: *** [/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/libafs/MODLOAD-2.6.10-ck1-SP/afs_osi.o]
Error 1
make[5]: *** [_module_/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/libafs/MODLOAD-2.6.10-ck1-SP]
Error 2
make[5]: Leaving directory
`/home/jds/rpmbuild/BUILD/openafs-1.3.77/kernelheaders/2.6.10-ck1/build'
make[4]: *** [libafs.ko] Error 2
make[4]: Leaving directory
`/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/libafs/MODLOAD-2.6.10-ck1-SP'
make[3]: *** [linux_compdirs] Error 2
make[3]: Leaving directory `/home/jds/rpmbuild/BUILD/openafs-1.3.77/src/libafs'
make[2]: *** [libafs] Error 2
make[2]: Leaving directory `/home/jds/rpmbuild/BUILD/openafs-1.3.77'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/home/jds/rpmbuild/BUILD/openafs-1.3.77'
make: *** [only_libafs] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.22968 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.22968 (%build)
[jds@waslinux openafs]$
Help me please.
Any idea?