develooper Front page | | Postings from January 2007

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

Thread Next
S´┐Żbastien Bind
January 9, 2007 13:48
make error when building perl-5.8.8 on HP-UX 11.11 on HP 9000/800
Message ID:
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


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:

# swlist
# Initializing...
# Contacting target "vdcrinf1"...
# Target:  vdcrinf1:/

# Bundle(s):

  100BaseT-01                           B.11.11.01     HP-PB 100BaseT;Supptd
  B2491BA                               B.11.11        MirrorDisk/UX
  B3701AA_TRY                           C.03.72.00     Trial HP
GlancePlus/UX Pak for s800 11i
  B5725AA                               B.5.4.50       HP-UX Installation
Utilities (Ignite-UX)
  B9073BA                               B.06.02        HP-UX iCOD (Instant
Capacity on Demand)
  B9789AA                         Java2 1.3 RTE for
  BUNDLE                                B.11.11        Patch Bundle
  BUNDLE11i                             B.11.11.0306.1 Required Patch Bundle
for HP-UX 11i, June 2003
  CDE-English                           B.11.11        English CDE
  FEATURE11-11                          B.11.11.0209.5 Feature Enablement
Patches for HP-UX 11i, Sept 2002
  GigEther-00                           B.11.11.19     PCI/HSC
GigEther;Supptd HW=A4926A/A4929A/A4924A/A4925A;SW=J1642AA
  GigEther-01                           B.11.11.15     PCI/PCI-X
GigEther;Supptd HW=A6794A/A6825A/A6847A/A9782A/A9784A/A7109A
  HPUX11i-OE                            B.11.11.0406   HP-UX 11i Operating
Environment Component
  HPUXBase64                            B.11.11        HP-UX 64-bit Base OS
  HPUXBaseAux                           B.11.11.0406   HP-UX Base OS
  HWEnable11i                           B.11.11.0406.4 Hardware Enablement
Patches for HP-UX 11i v1, June 2004
  IEther-00                             B.11.11.05     PCI/PCI-X
IEther;Supptd HW=A7011A/A7012A/AB352A
  ISEEPlatform                          A.03.50.854    ISEE Platform
  Ignite-UX-11-11                       B.5.4.50       HP-UX Installation
Utilities for Installing 11.11 Systems
  OnlineDiag                            B.  HPUX 11.11 Support
Tools Bundle, Jun 2004
  OpenSSL                               A.00.09.07-d.002 Secure Network
Communications Protocol
  T1457AA                         Java2 1.4 RTE for
  T1457AAaddon                    Java2 1.4 RTE -AA
addon for HP-UX
  T1471AA                               A.04.20.004    HP-UX Secure Shell
  scsiU320-00                           B.11.11.01     PCI SCSI U320; Supptd
# Product(s) not contained in a Bundle:

  AgentConfig                                          ServiceControl Agent
  DATA-PROTECTOR                        A.05.00        HP OpenView Storage
Data Protector
  PHCO_23702                            1.0            cumulative header
file patch for prot.h
  PHCO_31061                            1.0            libc cumulative patch
  db                                    4.5.20         db
  gcc                                   4.1.1          gcc
  gdbm                                  1.8.3          gdbm
  gettext                               0.15           gettext
  libgcc                                4.1.1          libgcc
  libiconv                              1.11           libiconv
  libpcap                               0.9.4          libpcap
  make                                  3.81           make
  openssh                               4.2p1          openssh
  openssl                               0.9.8b         openssl
  sudo                                  1.6.8p9        sudo
  tcpdump                               3.9.4          tcpdump
  zlib                                  1.2.3          zlib
  zsh                                   4.2.3          zsh

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About