List Info

Thread: make error when building perl-5.8.8 on HP-UX 11.11




make error when building perl-5.8.8 on HP-UX 11.11
user name
2007-10-15 16:55:01
# New Ticket Created by  johnhirschnorthwesternmutual.com 
# Please include the string:  [perl #46451]
# in the subject line of all future correspondence about
this issue. 
# <URL: h
ttp://rt.perl.org/rt3/Ticket/Display.html?id=46451 >


Hi. I am experiencing the following error when trying to
build perl on
HP-UX:

=======
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

=======

I have checked newsgroups and have only found a few others
who had
experienced the same error, also on HP-UX, but haven't seen
any
solutions. Has anyone been able to determine what's causing
this error
in the compile? My configuration is below:

======
Summary of my perl5 (revision 5 version 8 subversion 8)
configuration:
  Platform:
    osname=hpux, osvers=11.11,
archname=PA-RISC2.0-thread-multi
    uname='hp-ux mon b.11.11 u 9000800 283606548
unlimited-user license
'
    config_args='-Dprefix=/opt/perl-local -Dusethreads'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef
useithreads=define
usemultiplicity=define
    useperlio=define d_sfio=undef uselargefiles=define
usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-fno-strict-aliasing -pipe
-Wdeclaration-after-statement -I/usr/local/include
-D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64',
    optimize=' ',
    cppflags='-Aa -D__STDC_EXT__ -D_HPUX_SOURCE
-fno-strict-aliasing
-Wdeclaration-after-statement -I/usr/local/include'
    ccversion='A.11.01.21', gccversion='4.2.1',
gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8,
byteorder=4321
    d_longlong=define, longlongsize=8, d_longdbl=define,
longdblsize=16
    ivtype='long', ivsize=4, nvtype='double', nvsize=8,
Off_t='off_t',
lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='/usr/bin/ld', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lnsl -lnm -lndbm -lmalloc -ldld -lm -lcrypt -lsec
-lpthread
-lc
    perllibs=-lnsl -lnm -lmalloc -ldld -lm -lcrypt -lsec
-lpthread -lc
    libc=/lib/libc.sl, so=sl, useshrplib=false,
libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef,
ccdlflags='-Wl,-E
-Wl,-B,deferred '
    cccdlflags='+Z', lddlflags='-b +vnocompatwarnings
-L/usr/local/lib'
======

Any ideas you might have would be greatly appreciated.
Thanks!!

This e-mail and any attachments may contain confidential
information of Northwestern Mutual. If you are not the
intended recipient of this message, be aware that any
disclosure, copying, distribution or use of this e-mail and
any attachments is prohibited. If you have received this
e-mail in error, please notify Northwestern Mutual
immediately by returning it to the sender and delete all
copies from your system. Please be advised that
communications received via the Northwestern Mutual Secure
Message Center are secure. Communications that are not
received via the Northwestern Mutual Secure Message Center
may not be secure and could be observed by a third party.
Thank you for your cooperation.


Re: make error when building perl-5.8.8 on HP-UX 11.11
user name
2007-10-16 04:38:57
On Mon, 15 Oct 2007 14:55:01 -0700, "johnhirschnorthwesternmutual.com (via
RT)" <perlbug-followupperl.org> wrote:

> # New Ticket Created by  johnhirschnorthwesternmutual.com 
> # Please include the string:  [perl #46451]
> # in the subject line of all future correspondence
about this issue. 
> # <URL: h
ttp://rt.perl.org/rt3/Ticket/Display.html?id=46451 >
> 
> 
> Hi. I am experiencing the following error when trying
to build perl on
> HP-UX:
> 
> =======
> 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

where does the info below come from? A perl you already
installed, or
from ./myconfig?

I ask, because on HP-UX PA-RISC, you cannot see on the
command line if
the gcc you are using is a 64bit or a 32bit compiler, and
64bit gcc-4.x
on HP-UX 11.11 is not reliable for building perl.

If this is a 64bit compiler, either fetch a precompiled perl
from my
site, or drop back to gcc-3.4.6, also available from my
site.
http://mirrors.develooper.com/hpux/downloads.html#hpux
1111

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

# swlist -l fileset | grep -- -INC | sort

will show you the -INC filesets that are installed. On my
11.11, the
most recent versions are

  CDEDevKit.CDE-INC           B.11.11.02  Header files
  InternetSrvcs.INETSVCS-INC  B.11.11     INETSVCS-INC
  PHCO_31923.C-INC            1.0         ProgSupport.C-INC
  PHKL_35011.C-INC            1.0         ProgSupport.C-INC
  PHNE_32825.INETSVCS-INC     1.0        
InternetSrvcs.INETSVCS-INC
  PHNE_34672.C-INC            1.0         ProgSupport.C-INC
  PHSS_33035.C-INC            1.0         B.11.11
  ProgSupport.C-INC           B.11.11     C-INC

> =======
> 
> I have checked newsgroups and have only found a few
others who had
> experienced the same error, also on HP-UX, but haven't
seen any
> solutions. Has anyone been able to determine what's
causing this error
> in the compile? My configuration is below:
> 
> ======
> Summary of my perl5 (revision 5 version 8 subversion 8)
configuration:
>   Platform:
>     osname=hpux, osvers=11.11,
archname=PA-RISC2.0-thread-multi
>     uname='hp-ux mon b.11.11 u 9000800 283606548
unlimited-user license
> '
>     config_args='-Dprefix=/opt/perl-local
-Dusethreads'
>     hint=recommended, useposix=true,
d_sigaction=define
>     usethreads=define use5005threads=undef
useithreads=define
> usemultiplicity=define
>     useperlio=define d_sfio=undef uselargefiles=define
usesocks=undef
>     use64bitint=undef use64bitall=undef
uselongdouble=undef
>     usemymalloc=n, bincompat5005=undef
>   Compiler:
>     cc='gcc', ccflags ='-fno-strict-aliasing -pipe
> -Wdeclaration-after-statement -I/usr/local/include
-D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64',
>     optimize=' ',
>     cppflags='-Aa -D__STDC_EXT__ -D_HPUX_SOURCE
-fno-strict-aliasing
> -Wdeclaration-after-statement -I/usr/local/include'
>     ccversion='A.11.01.21', gccversion='4.2.1',
gccosandvers=''
>     intsize=4, longsize=4, ptrsize=4, doublesize=8,
byteorder=4321
>     d_longlong=define, longlongsize=8,
d_longdbl=define, longdblsize=16
>     ivtype='long', ivsize=4, nvtype='double', nvsize=8,
Off_t='off_t',
> lseeksize=8
>     alignbytes=8, prototype=define
>   Linker and Libraries:
>     ld='/usr/bin/ld', ldflags =' -L/usr/local/lib'
>     libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
>     libs=-lnsl -lnm -lndbm -lmalloc -ldld -lm -lcrypt
-lsec -lpthread
> -lc
>     perllibs=-lnsl -lnm -lmalloc -ldld -lm -lcrypt
-lsec -lpthread -lc
>     libc=/lib/libc.sl, so=sl, useshrplib=false,
libperl=libperl.a
>     gnulibc_version=''
>   Dynamic Linking:
>     dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef,
ccdlflags='-Wl,-E
> -Wl,-B,deferred '
>     cccdlflags='+Z', lddlflags='-b +vnocompatwarnings
-L/usr/local/lib'
> ======
> 
> Any ideas you might have would be greatly appreciated.
Thanks!!


-- 
H.Merijn Brand         Amsterdam Perl Mongers (http://amsterdam.pm.org/
)
using & porting perl 5.6.2, 5.8.x, 5.10.x  on HP-UX
10.20, 11.00, 11.11,
& 11.23, SuSE 10.1 & 10.2, AIX 5.2, and Cygwin.     
 http://qa.perl.org
http://mirrors.de
velooper.com/hpux/            http://www.test-smoke.org
                        http
://www.goldmark.org/jeff/stupid-disclaimers/

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )