Error building perl on HP-UX

A

Anant

Hi,
I am trying to build perlv-5.8 on HP-UX system.
i get the following errors :

`sh cflags "optimize='+O2 +Onolimit'" pp_hot.o` pp_hot.c
CCCMD = aCC -DPERL_CORE -c -Ae -D_HPUX_SOURCE
-Wl,+vnocompatwarnings -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 +O2 +Onolimit
Warning 267: "/usr/include/sys/socket.h", line 504 # Inconsistent
linkage in declarations of "long long
sendfile(int,int,long long,unsigned long long,const iovec *,int)";
previously was extern now is declared static.
static sbsize_t sendfile(a,b,c,d,e,f) int a,b,f; off_t c; bsize_t
d; __const str
^^^^^^^^
Warning 267: "/usr/include/sys/socket.h", line 505 # Inconsistent
linkage in declarations of "long long sendpath(int,char
*,long long,unsigned long long,const iovec *,int)"; previously was
extern now is declared static.
static sbsize_t sendpath(a,b,c,d,e,f) int a,f; char *b; off_t c;
bsize_t d; __co
^^^^^^^^

Error 20: "pp_hot.c", line 102 # ';' expected before 's'.
dSP; dPOPTOPssrl;
^^^^^^^^^^^
Error 172: "pp_hot.c", line 102 # Undeclared variable 's'.
dSP; dPOPTOPssrl;
^^^^^^^^^^^
Error 585: "pp_hot.c", line 137 # Expected an operator before '_amg'.
dSP; dATARGET; tryAMAGICbin(concat,opASSIGN);
^^^^^^^^^^^^
Error 172: "pp_hot.c", line 137 # Undeclared variable 'concat'.
dSP; dATARGET; tryAMAGICbin(concat,opASSIGN);
^^^^^^^^^^^^
Error 20: "pp_hot.c", line 139 # ';' expected before 's'.
dPOPTOPssrl;
^^^^^^^^^^^
Error 172: "pp_hot.c", line 139 # Undeclared variable 's'.
dPOPTOPssrl;
^^^^^^^^^^^
Error 585: "pp_hot.c", line 219 # Expected an operator before '_amg'.
tryAMAGICunTARGET(iter, 0);
^^^^^^^^^^^^^^^^^
Error 172: "pp_hot.c", line 219 # Undeclared variable 'iter'.
tryAMAGICunTARGET(iter, 0);
^^^^^^^^^^^^^^^^^
Error 585: "pp_hot.c", line 237 # Expected an operator before '_amg'.
dSP; tryAMAGICbinSET(eq,0);
^^^^^^^^^^^^^^^
Error 172: "pp_hot.c", line 237 # Undeclared variable 'eq'.
dSP; tryAMAGICbinSET(eq,0);
^^^^^^^^^^^^^^^
Error 585: "pp_hot.c", line 332 # Expected an operator before '_amg'.
dSP; dATARGET; bool useleft; tryAMAGICbin(add,opASSIGN);
^^^^^^^^^^^^
Error 172: "pp_hot.c", line 332 # Undeclared variable 'add'.
dSP; dATARGET; bool useleft; tryAMAGICbin(add,opASSIGN);
^^^^^^^^^^^^
Error 699: "pp_hot.c", line 332 # Error limit reached; halting
compilation.
dSP; dATARGET; bool useleft; tryAMAGICbin(add,opASSIGN);
^^^^^^^^^^^^
Not sure what more relevant details you might need for getting more
information.
Can you please help me with this?
Rgds,
Anant
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top