develooper Front page | perl.perl5.build | Postings from January 2007

Re: make error when building perl-5.8.8 on HP-UX 11.11 on HP 9000/800

Thread Previous | Thread Next
From:
Nicholas Clark
Date:
January 10, 2007 00:21
Subject:
Re: make error when building perl-5.8.8 on HP-UX 11.11 on HP 9000/800
Message ID:
20070109220232.GI30742@plum.flirble.org
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

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About