[OpenAFS] Building AFS-2.6.2 perl module with OpenAFS 1.5.77

Brandon S Allbery KF8NH allbery@ece.cmu.edu
Thu, 21 Oct 2010 21:37:59 -0400


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/20/10 12:18 , Phillip Moore wrote:
> gcc -c  -I/efs/test/openafs/core/1.5.77/.exec/x86-64.rhel.5/include
> -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -D_\
> LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2   -DVERSION=\"v2.6.2\"
> -DXS_VERSION=\"v2.6.2\" -fPIC "-I/efs/test/perl5/core/5.10.1-build020/.exec/\
> x86-64.rhel.5/lib/perl5/CORE"  -D -DAFS_PTHREAD_ENV -DOpenAFS  AFS.c
> <command line>:1:1: error: macro names must be identifiers

That error (and the bare -D that triggers it, just before -DAFS_PTHREAD_ENV)
looks suspicious to me.

- -- 
brandon s. allbery     [linux,solaris,freebsd,perl]      allbery@kf8nh.com
system administrator  [openafs,heimdal,too many hats]  allbery@ece.cmu.edu
electrical and computer engineering, carnegie mellon university      KF8NH
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzA6vcACgkQIn7hlCsL25X0EACdG2g0adhI57uUP53ZqULYwm/s
w1UAoJJKRmIK+wdtshwGpmlsBUPQgWje
=m83b
-----END PGP SIGNATURE-----