For Programmers: Free Programming Magazines  


Home > Archive > PERL Miscellaneous > June 2005 > Error building perl on HP-UX









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Error building perl on HP-UX
Anant

2005-06-09, 8:57 am

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

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com