compile error with STABLE-20001012

Russ Allbery rra at stanford.edu
Sat Oct 14 01:35:11 UTC 2000


Tom Kacvinsky <tjk at ams.org> writes:

> Yeah, on my box, "perl -MExtUtils::Embed -e ccopts" results in:

>     -fno-strict-aliasing -I/usr/local/include      \
>     -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64     \
>     -I/usr/local/lib/perl5/sun4-solaris-64int/CORE

> which gives us what we want (almost).  I know the -fno-strict-aliasing
> has to go, but what about the defines?

The -fno-strict-aliasing can stay, actually; it won't make any difference
one way or the other.

The defines... hm.  They're fine if INN is compiled with large files, but
otherwise they could cause problems.  I'd better strip them.

Could you tell me what these three commands say:

  perl -MExtUtils::Embed -e perl_inc
  perl -MExtUtils::Embed -e ccflags
  perl -MExtUtils::Embed -e ccdlflags

If we're lucky, we can just leave one of them out; if we're not, then I'll
need to just strip out any -D options.

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>



More information about the inn-workers mailing list