[OpenAFS] perl AFS compile fails

Dave Botsch botsch@cnf.cornell.edu
Mon, 19 Feb 2007 10:42:49 -0500


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"


Thoughts?

thanks.

-- 
********************************
David William Botsch
Programmer/Analyst
CNF Computing
botsch@cnf.cornell.edu
********************************