[OpenAFS] perl AFS compile fails
Tue, 20 Feb 2007 20:58:28 -0800
I think I ran into this a while back and opened a bug report.
IIRC, the issue was that someone is using INIT
in #ifdef's in rx_globals.h. I think it's probably been
fixed for 1.4.3 in the release candidates by not using the
all-too-generic word "INIT" which was being defined elsewhere.
If you need it to work for 1.4.2, I'd suggest grabbing a
more recent rx_globals.h and see if the change to straighten
out the #ifdef stuff is in there. Othewise, contact me off
list for a hack.
Dave Botsch wrote:
> 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"
Director of System Operations
1580 Francisco Street, Suite 101
Torrance, CA 90501
Phone: (310) 525-1600 ext. 628
This message, together with any attachments, is intended only for the use of
the individual or entity to which it is addressed. It may contain
information that is confidential and prohibited from disclosure. If you are
not the intended recipient, you are hereby notified that any dissemination
or copying of this message or any attachment is strictly prohibited. If you
have received this item in error, please notify the original sender and
destroy this item, along with any attachments.