** Help compiling Perl5 on HP-UX ** 
Author Message
 ** Help compiling Perl5 on HP-UX **

Hello.  I am trying to compile Perl5.001 on HP-UX...I get the following
error when I run a make:

        `sh  cflags libperl.a miniperlmain.o`  miniperlmain.c
          CCCMD =  cc -c -D_POSIX_SOURCE -D_HPUX_SOURCE -Aa +O1
        `sh  cflags libperl.a perl.o`  perl.c
          CCCMD =  cc -c -D_POSIX_SOURCE -D_HPUX_SOURCE -Aa +O1
        `sh  cflags libperl.a malloc.o`  malloc.c
          CCCMD =  cc -c -D_POSIX_SOURCE -D_HPUX_SOURCE -Aa +O1
        `sh  cflags libperl.a gv.o`  gv.c
          CCCMD =  cc -c -D_POSIX_SOURCE -D_HPUX_SOURCE -Aa +O1
        `sh  cflags libperl.a toke.o`  toke.c
          CCCMD =  cc -c -D_POSIX_SOURCE -D_HPUX_SOURCE -Aa +O1
        `sh  cflags libperl.a perly.o`  perly.c
          CCCMD =  cc -c -D_POSIX_SOURCE -D_HPUX_SOURCE -Aa +O1
        `sh  cflags libperl.a op.o`  op.c
          CCCMD =  cc -c -D_POSIX_SOURCE -D_HPUX_SOURCE -Aa +O1
"op.c", line 127: function prototype and non-ANSI definition for
'pad_findlex'
   have incompatible parameters
"op.c", line 3984: warning: static function identifier 'pad_findlex' used but
   not defined; external reference generated
*** Error code 1
Stop.

If anyone can help me out, I would really appreciate it.  Thank you very
much for your time!

Mike Bitz

http://www.*-*-*.com/ ~bitzm



Sat, 22 Nov 1997 03:00:00 GMT  
 ** Help compiling Perl5 on HP-UX **

Quote:

> Hello.  I am trying to compile Perl5.001 on HP-UX...I get the following
> error when I run a make:

> "op.c", line 127: function prototype and non-ANSI definition for
> 'pad_findlex'
>    have incompatible parameters
> "op.c", line 3984: warning: static function identifier 'pad_findlex' used but
>    not defined; external reference generated
> *** Error code 1
> Stop.

Either get the patches to perl to bring it up to at least 5.001e,
or just comment out the parameter list in the prototype specification
for pad_findlex in op.c.

(Yes, I had this problem - and by my reading of c.l.p and c.l.p.m,
so has the rest of the HP Universe!)
--



Tue, 25 Nov 1997 03:00:00 GMT  
 ** Help compiling Perl5 on HP-UX **

Quote:
>Hello.  I am trying to compile Perl5.001 on HP-UX...I get the following
>error when I run a make:

[...]
>        `sh  cflags libperl.a op.o`  op.c
>          CCCMD =  cc -c -D_POSIX_SOURCE -D_HPUX_SOURCE -Aa +O1
>"op.c", line 127: function prototype and non-ANSI definition for
>'pad_findlex'
>   have incompatible parameters
>"op.c", line 3984: warning: static function identifier 'pad_findlex' used but
>   not defined; external reference generated
>*** Error code 1
>Stop.

I also was unable to make HP's cc compile that file.  It doesn't seem to be
any problem with the file.  :(  I just compiled that file with gcc, and perl
finished building fine.  (Well, the gdbm tests failed, but I haven't yet tried
to fix that.)

Downside: since gcc can't build PIC (position independent code), that object
file can't be put into a shared library.  Clearly a nonoptimal solution.

FWIW, I'm running an HP PA-RISC 712/60, HPUX 9.05, stock CC (how does one find
the version number of this silly thing?), GCC 2.5.8.
--

      Those who use arms well cultivate the Way and keep the rules.
      Thus they can govern in such a way as to prevail over the corrupt.
                                     -- Sun Tzu, The Art of War, Book IV



Thu, 27 Nov 1997 03:00:00 GMT  
 ** Help compiling Perl5 on HP-UX **

Quote:

>Downside: since gcc can't build PIC (position independent code), that object
>file can't be put into a shared library.  Clearly a nonoptimal solution.

I also tried to generate PIC with CC and couldn't do that either! I could
get everything to compile, but only making everything static.

Quote:
>FWIW, I'm running an HP PA-RISC 712/60, HPUX 9.05, stock CC (how does one find
>the version number of this silly thing?), GCC 2.5.8.

You pay your $$$ and call HP's tech support ;)

--
Mike Pinkerton

Windows 95 = Macintosh 89



Sun, 30 Nov 1997 03:00:00 GMT  
 ** Help compiling Perl5 on HP-UX **

Quote:

>FWIW, I'm running an HP PA-RISC 712/60, HPUX 9.05, stock CC (how does one find
>the version number of this silly thing?), GCC 2.5.8.

On 10.X:
        $ what /usr/bin/cc
        /usr/bin/cc:
                HP92453-01 A.10.03 HP C Compiler
                      (LINT A.10.03 CXREF  A.10.00)

or even (but you don't want to use this one unless you have to):
        $ what /usr/ccs/bin/cc
        /usr/ccs/bin/cc:
                HP92453-01 A.10.00 HP C (Bundled) Compiler

and on 9.X
        $ what /bin/cc
        /bin/cc:
                HP92453-01 A.09.19 HP C (Bundled) Compiler

I havn't looked yet at converting my 10.00 config.sh to a hints
file, but folk can pester me for the config.sh if you're interested
and have the HP ANSI C compiler.

--
Giles Lean                                             Nemeton Pty Ltd



Tue, 02 Dec 1997 03:00:00 GMT  
 ** Help compiling Perl5 on HP-UX **
Get Perl 5.001e, its fixed with this release.
--
Alan Bair                       MCTG AMCU DSCS
Motorola, Inc.                      (Design Software &
Mail Stop OE-320                     Computer Services)
6501 William Cannon Dr. West    (512) 891-2336



Tue, 02 Dec 1997 03:00:00 GMT  
 
 [ 6 post ] 

 Relevant Pages 

1. Need help compiling perl5 on HP-UX

2. help compiling perl5 on HP-UX 9

3. Compile perl5 on HP 7xx/HP-UX 8.0 ?

4. HELP! Compiling Perl5 on HP/UX

5. problem compiling perl5.001 on HP-UX

6. HP-UX problem compiling perl5.001

7. Compiling perl5.001m on HP-UX 9.01 for a model 375

8. Help compiling Perl 5.000 on HP-UX

9. Compiling perl 5.6.1 under HP-UX (Please help)

10. HELP: Compiling DBD::Informix with Informix v5.x HP-UX

11. Please help compiling perl 5.6.1 under HP-UX

12. Help needed compiling DB_File on HP-UX 11

 

 
Powered by phpBB® Forum Software