On Tue, Jan 09, 2007 at 05:18:07PM +0100, Sébastien Bind wrote:
> Hi all,
> 
> I ran the Configure command as follow (using gcc instead of cc):
> 
>     sh ./Configure -A prepend:libswanted='cl pthread ' -des
> 
> It seemed to be ok. Then I ran the make command and got the following trace:
> 
>     /tmp/perl-5.8.8> make
>             `sh  cflags "optimize='-O0'" miniperlmain.o`  miniperlmain.c
>               CCCMD =
> 
> gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement 
> -I/usr/local/include -D_LARGEFILE_SOURCE -O0  -Wall
>             `sh  cflags "optimize='-O0'" perl.o`  perl.c
>               CCCMD =
> 
> gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement 
> -I/usr/local/include -D_LARGEFILE_SOURCE -O0  -Wall
>             `sh  cflags "optimize='-O0'" gv.o`  gv.c
>               CCCMD =
> 
> gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement 
> -I/usr/local/include -D_LARGEFILE_SOURCE -O0  -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
> 
>     Stop.
>     /tmp/perl-5.8.8>
> 
> 
> Any idea why gv.c is not happy? Thankx in advance for any useful answer or
> any hint!
> 
> Below a list of installed software and version:

>   gcc                                   4.1.1          gcc


Is this error consistent with the C compiler suddenly deciding to go into
K&R mode for symbol concatenation?

There was an Irix compiler that did that (and it was news to SGI).
Does anyone remember how its symptoms manifested?

Nicholas Clark

Reply via email to