Hi Dave, On Mon, Feb 19 2007, Dave Botsch wrote: > Hi. > > Trying to get the perl afs stuff to compile against rhel4 running openafs1.4.2 > > The compile pukes with... > > gcc -c -I/usr/include -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING > -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -m32 -march=i386 > -mtune=pentium4 -DVERSION=\"2.4.0\" -DXS_VERSION=\"2.4.0\" -fPIC > "-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE" -DOpenAFS_1_4 > -DAFS_PTHREAD_ENV -DOpenAFS AFS.c > In file included from /usr/include/afs/afsint.h:61, > from AFS.xs:59: > /usr/include/rx/rx_globals.h:576: error: syntax error before "int"
the appended patch will fix your problem on the "AFS perl" side... Cheers, Norbert -- Ceterum censeo | PGP encrypted mail preferred. Redmond esse delendam. | PGP Key at www.MPA-Garching.MPG.de/~nog/
--- ./AFS.xs.orig Thu Feb 16 14:13:16 2006 +++ ./AFS.xs Thu Nov 23 15:01:20 2006 @@ -54,6 +54,7 @@ #include <stdio.h> #include <netinet/in.h> #include <sys/stat.h> +#undef INIT #include <afs/stds.h> #include <afs/afs.h> #include <afs/afsint.h>
