[OpenAFS-testers] Compiling 1.2.7-RC4 on FreeBSD

Frank J. Cameron cameron@ctc.com
18 Sep 2002 22:30:20 -0400


Trying to compile 1.2.7-RC4 on FreeBSD (4 machines: 4.4-RELEASE,
4.5-RC3, 4.6-RELEASE, and 4.6-RELEASE) produces the following:

src/config/config src/libafs/MakefileProto.FBSD src/libafs/Makefile
i386_fbsd_42
Wrote new makefile 'src/libafs/Makefile'.
cd src; cd libafs ; gmake all
gmake[3]: Entering directory `/usr/tmp/openafs-1.2.7-rc4/src/libafs'
mkdir STATIC
mkdir: STATIC: File exists
gmake[3]: [setup] Error 1 (ignored)
rm -f STATIC/Makefile STATIC/Makefile.common STATIC/config
ln -s ../Makefile STATIC/Makefile
ln -s ../Makefile.common STATIC/Makefile.common
ln -s ../config STATIC/config
rm -f -f  h net netinet rpc ufs nfs  machine sys vm
ln -s /usr/src/sys/net net
ln -s /usr/src/sys/i386/include machine
ln -s /usr/src/sys/netinet netinet
ln -s /usr/src/sys/nfs nfs
ln -s /usr/include/rpc rpc
ln -s /usr/src/sys/sys sys
ln -s /usr/src/sys/ufs/ufs ufs
ln -s /usr/src/sys/sys h
ln -s /usr/src/sys/vm vm
touch STATIC/sec_net.h
cd STATIC ; \
echo gmake DESTDIR= single_compdir_libafs; \
gmake DESTDIR=  single_compdir_libafs;
gmake DESTDIR= single_compdir_libafs
gmake[4]: Entering directory
`/usr/tmp/openafs-1.2.7-rc4/src/libafs/STATIC'
cc   -I. -I.. -I/usr/tmp/openafs-1.2.7-rc4/src/config  -DAFSDEBUG
-DKERNEL -DAFS -DVICE -DNFS -DUFS -DINET -DQUOTA -DGETMOUNT -Wall
-fformat-extensions -ansi -nostdinc -I/usr/include -D_KERNEL
-DKLD_MODULE -elf -mpreferred-stack-boundary=2 -I.. -I../afs  -O2 -c
../afs/afs_analyze.c;

In file included from ../afs/../afs/sysincludes.h:274,
                 from ../afs/afs_analyze.c:19:

../afs/../afs/../rx/xdr.h:46: warning: `bool_t' redefined
../afs/../afs/../rpc/types.h:40: warning: this is the location of the
previous definition
../afs/../afs/../rx/xdr.h:47: warning: `enum_t' redefined
../afs/../afs/../rpc/types.h:41: warning: this is the location of the
previous definition

In file included from ../afs/../afs/afsincludes.h:55,
                 from ../afs/afs_analyze.c:35:

../afs/../afs/../afs/afs_prototypes.h:128: ../afs/osi_prototypes.h: No
such file or directory

gmake[4]: *** [afs_analyze.o] Error 1
gmake[4]: Leaving directory
`/usr/tmp/openafs-1.2.7-rc4/src/libafs/STATIC'
gmake[3]: *** [single_compdir] Error 2
gmake[3]: Leaving directory `/usr/tmp/openafs-1.2.7-rc4/src/libafs'
gmake[2]: *** [libafs] Error 2
gmake[2]: Leaving directory `/usr/tmp/openafs-1.2.7-rc4'
gmake[1]: *** [build] Error 2
gmake[1]: Leaving directory `/usr/tmp/openafs-1.2.7-rc4'
gmake: *** [all] Error 2