On Tue, Oct 16, 2007 at 09:38:57AM +0000, H.Merijn Brand
wrote:
> On Mon, 15 Oct 2007 14:55:01 -0700,
"johnhirsch northwesternmutual.com (via
> RT)" <perlbug-followup perl.org> wrote:
> > =======
> > mon:(/opt/perl-install/perl-5.8.8) 182> make
> > `sh cflags "optimize=''" gv.o`
gv.c
> > CCCMD = gcc -DPERL_CORE -c
-fno-strict-aliasing -pipe
> > -Wdeclaration-after-statement -I/usr/local/include
-D_LARGEFILE_SOURCE
> > -D_FILE_OFFSET_BITS=64 -Wall
> > gv.c: In function 'Perl_amagic_call':
> > gv.c:1794: error: 'copy' undeclared (first use in
this function)
> > gv.c:1794: error: (Each undeclared identifier is
reported only once
> > gv.c:1794: error: for each function it appears
in.)
> > gv.c:1794: error: expected ')' before '_amg'
> > gv.c:1794: error: too few arguments to function
'Perl_amagic_call'
> > *** Error exit code 1
> If this is a 32bit build, I don't know off-hand what is
the problem,
> but there might be some conflict between the include
files that come
> with the gcc distribution you use, and the development
depots that
> are installed on your system
I have a vague memory that this symptom showed up before on
some platform, and
it's a preprocessor bug. Something like the pre-processor
has switched back
into K&R mode and so isn't doing ANSI C macro argument
concatenation.
Is your system's compiler fully up to date?
Nicholas Clark
|