[OpenAFS-devel] FreeBSD 5.0?
Matthew Emmerton
matt@gsicomp.on.ca
Thu, 3 Apr 2003 18:59:25 -0500
> Is someone working on FreeBSD 5.0? Is it supposed to work? I'll be happy
> to get it going but don't want to interfere.
I've been working on it off and on.
> Right now it fails pretty early on:
>
> % make
> mkdir -p /home/rees/afs/include
> mkdir -p /home/rees/afs/include/afs
> mkdir -p /home/rees/afs/lib
> make build
> make finale DEST=/home/rees/afs/i386_fbsd_50/dest COMPILE_PART2B=all
DESTDIR=
> cd src && cd config && make all
> rm -f Makefile.version
> if [ -r SRC/../CML/state ] ; then cp ./Makefile.version-CML
Makefile.version ; else cp Makefile.version-NOCML Makefile.version ;
fi
> make -f Makefile.version AFS_component_version_number.c
> echo 'char cml_version_number[]="@(#) OpenAFS devel built ' `date
+"%Y-%m-%d"` '";' >AFS_component_version_number.c
> echo 'char* AFSVersion = "openafs devel"; '
>>AFS_component_version_number.c
> cc -O -I/home/rees/afs/include -I. -O2 -pipe -I. -c ./config.c
> cc -O -I/home/rees/afs/include -I. -O2 -pipe -c ./mc.c
> cc -O -I/home/rees/afs/include -I. -O2 -pipe -o config config.o mc.o
> cc -O -I/home/rees/afs/include -I. -O2 -pipe -o mkvers ./mkvers.c
> In file included from mkvers.c:20:
> /usr/include/malloc.h:3:2: #error "<malloc.h> has been replaced by
<stdlib.h>"
> mkvers.c: In function `main':
> mkvers.c:213: warning: assignment makes pointer from integer without a
cast
> *** Error code 1
The number of changes required to OpenAFS to play nice with the
C99-ification of FreeBSD's standard #includes in 5.0 is simply astounding.
If I get time this weekend I'll submit the first pass of these patches.
--
Matt Emmerton