Operating System - HP-UX
1745926 Members
4292 Online
108723 Solutions
New Discussion юеВ

Re: Problems compiling Perl 5.24 on HP-UX 11.31

 
dictum9
Super Advisor

Problems compiling Perl 5.24 on HP-UX 11.31

the Configure script runs fine but once I do make, I get this. I use cc compiler native to HP.


/usr/bin/ln -s perl.c perlmini.c
cc -c -DPERL_CORE -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +O2 +O
nolimit pp_hot.c
(Bundled) cc: warning 922: "-Ae" is unsupported in the bundled compiler, ignored.
(Bundled) cc: warning 922: "+O2" is unsupported in the bundled compiler, ignored.
(Bundled) cc: warning 922: "+Onolimit" is unsupported in the bundled compiler, ignored.

"pp_hot.c", line 260: error #2020: identifier "TOP" is undefined
dPOPTOPssrl;
^

"pp_hot.c", line 260: error #2065: expected a ";"
dPOPTOPssrl;
^


2 errors detected in the compilation of "pp_hot.c".
*** Error exit code 2

Stop.

2 REPLIES 2
Steven Schweda
Honored Contributor

Re: Problems compiling Perl 5.24 on HP-UX 11.31

> [...] on HP-UX 11.31

   Actual output from "uname -a" would be more helpful.

> the Configure script runs fine [...]

   You may think so.

> [...] I use cc compiler native to HP.

> (Bundled) cc: warning 922: "-Ae" is unsupported in the bundled
> compiler, ignored.
> [...]

   You seem to be using the bundled C compiler, which is useless for
many purposes, including this one.  I would expect problems compiling
any common program with it.  You would have a better chance with the
(not-free) HP[E] ANSI C compiler or (free) GCC.

   A Web or Forum search for the error message ("(Bundled) cc: warning
922" should have told you this.

dictum9
Super Advisor

Re: Problems compiling Perl 5.24 on HP-UX 11.31

I will re-run it with the updated gcc compiler.