This is the output for 'perl -V'

[EMAIL PROTECTED]@magneton$ perl -V
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
 Platform:
   osname=hpux, osvers=11.00, archname=PA-RISC2.0
   uname='hp-ux b.11.00 u 9000800 838387411 unlimited-user license '
   hint=recommended, useposix=true, d_sigaction=define
   usethreads=undef useperlio=undef d_sfio=undef
 Compiler:
   cc='cc', optimize='-O', gccversion=
   cppflags='-D_HPUX_SOURCE -Aa -I/usr/local/include +DAportable +z'
   ccflags ='-D_HPUX_SOURCE -Aa -I/usr/local/include +DAportable +z'
   stdchar='unsigned char', d_stdstdio=define, usevfork=false
   intsize=4, longsize=4, ptrsize=4, doublesize=8
   d_longlong=undef, longlongsize=, d_longdbl=define, longdblsize=16
   alignbytes=8, usemymalloc=n, prototype=define
 Linker and Libraries:
   ld='ld', ldflags =' -L/usr/local/lib -L/opt/gnu/lib'
   libpth=/usr/local/lib /opt/gnu/lib /lib/pa1.1 /lib /usr/lib /usr/ccs/lib
   libs=-lnsl -lnm -lndbm -lmalloc -ldld -lm -lc -lndir -lcrypt
   libc=/lib/libc.sl, so=sl, useshrplib=false, libperl=libperl.a
 Dynamic Linking:
dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-B,deferred ' cccdlflags='+z +DAportable', lddlflags='-b -L/usr/local/lib -L/opt/gnu/lib'


Characteristics of this binary (from libperl):
 Built under hpux
 Compiled at Jan  6 2001 14:52:02
 %ENV:
PERL5LIB="/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503:/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/site_perl/5.005:/HP_QA/cas41qa/oracle/cas41qaappl/au/11.5.0/perl"
 @INC:
   /HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0
   /HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503
/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/site_perl/5.005/PA-RISC2.0
   /HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/site_perl/5.005
   /HP_QA/cas41qa/oracle/cas41qaappl/au/11.5.0/perl
/project/hpux/apache/iAS1021/src/pdc_perl/bin/HPUX/Opt/lib/5.00503/PA-RISC2.0
   /project/hpux/apache/iAS1021/src/pdc_perl/bin/HPUX/Opt/lib/5.00503
/project/hpux/apache/iAS1021/src/pdc_perl/bin/HPUX/Opt/lib/site_perl/5.005/PA-RISC2.0 /project/hpux/apache/iAS1021/src/pdc_perl/bin/HPUX/Opt/lib/site_perl/5.005
   .


Thanks
Sumit

Sumit Shah wrote:
Hello All,

I am trying to compile DBI on HP-UX. I am getting the following error. I would appreciate your help to figure out the problem.

Thanks
Sumit

[EMAIL PROTECTED]@magneton$ make
        /bin/sh -c true
        /bin/sh -c true
        /bin/sh -c true
cc -c -D_HPUX_SOURCE -Aa -I/usr/local/include +DAportable +z -O -DVERSION=\"1.37\" -DXS_VERSION=\"1.37\" +z +DAportable -I/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE -DDBI_NO_THREADS Perl.c (Bundled) cc: warning 480: The -A option is available only with the C/ANSI C product; ignored. (Bundled) cc: warning 480: The +z option is available only with the C/ANSI C product; ignored. (Bundled) cc: warning 480: The -O option is available only with the C/ANSI C product; ignored. (Bundled) cc: warning 480: The +z option is available only with the C/ANSI C product; ignored. (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/iperlsys.h", line 74: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/iperlsys.h", line 318: warning 5: "const" will become a keyword. (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/iperlsys.h", line 318: error 1000: Unexpected symbol: "const". (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/iperlsys.h", line 318: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/perl.h", line 618: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/perl.h", line 1095: error 1000: Unexpected symbol: "SV". (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/perl.h", line 1095: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/perl.h", line 1095: error 1573: Type of "<<<NULL_SYMBOL>>>" is undefined due to an illegal declaration. (Bundled) cc: "/usr/include/sys/siginfo.h", line 67: error 1000: Unexpected symbol: "sigval_t". (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/perl.h", line 1253: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/sv.h", line 272: error 1000: Unexpected symbol: "*". (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/sv.h", line 273: error 1000: Unexpected symbol: "ANY". (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/sv.h", line 274: error 1000: Unexpected symbol: "GV". (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/sv.h", line 275: error 1000: Unexpected symbol: "GV". (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/sv.h", line 272: error 1506: Parameters allowed in function definition only. (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/sv.h", line 273: error 1573: Type of "xcv_xsubany" is undefined due to an illegal declaration. (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/sv.h", line 273: error 1578: Size of struct or union member is unknown. (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/sv.h", line 274: error 1573: Type of "xcv_gv" is undefined due to an illegal declaration. (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/sv.h", line 274: error 1578: Size of struct or union member is unknown. (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/sv.h", line 275: error 1573: Type of "xcv_filegv" is undefined due to an illegal declaration. (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/sv.h", line 275: error 1578: Size of struct or union member is unknown. (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/cv.h", line 24: error 1000: Unexpected symbol: "*". (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/cv.h", line 25: error 1000: Unexpected symbol: "ANY". (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/cv.h", line 26: error 1000: Unexpected symbol: "GV". (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/cv.h", line 27: error 1000: Unexpected symbol: "GV". (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/cv.h", line 24: error 1506: Parameters allowed in function definition only. (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/cv.h", line 25: error 1573: Type of "xcv_xsubany" is undefined due to an illegal declaration. (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/cv.h", line 25: error 1578: Size of struct or union member is unknown. (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/cv.h", line 26: error 1573: Type of "xcv_gv" is undefined due to an illegal declaration. (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/cv.h", line 26: error 1578: Size of struct or union member is unknown. (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/cv.h", line 27: error 1573: Type of "xcv_filegv" is undefined due to an illegal declaration. (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/cv.h", line 27: error 1578: Size of struct or union member is unknown. (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/opcode.h", line 1073: error 1000: Unexpected symbol: "*". (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/opcode.h", line 1073: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/opcode.h", line 1073: error 1573: Type of "o" is undefined due to an illegal declaration. (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/opcode.h", line 1074: error 1000: Unexpected symbol: "*". (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/opcode.h", line 1074: error 1000: Unexpected symbol: ";". (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/opcode.h", line 1075: error 1000: Unexpected symbol: ";". (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/opcode.h", line 1076: error 1000: Unexpected symbol: ";". (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/opcode.h", line 1077: error 1000: Unexpected symbol: ";". (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/opcode.h", line 1078: error 1000: Unexpected symbol: ";". (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/opcode.h", line 1079: error 1000: Unexpected symbol: ";". (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/opcode.h", line 1080: error 1000: Unexpected symbol: ";". (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/opcode.h", line 1081: error 1000: Unexpected symbol: ";". (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/opcode.h", line 1082: error 1000: Unexpected symbol: ";". (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/opcode.h", line 1083: error 1000: Unexpected symbol: ";". (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/opcode.h", line 1084: error 1000: Unexpected symbol: ";". (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/opcode.h", line 1085: error 1000: Unexpected symbol: ";". (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/opcode.h", line 1086: error 1000: Unexpected symbol: ";". (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/opcode.h", line 1087: error 1000: Unexpected symbol: ";". (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/opcode.h", line 1088: error 1000: Unexpected symbol: ";". (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/opcode.h", line 1089: error 1000: Unexpected symbol: ";". (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/opcode.h", line 1090: error 1000: Unexpected symbol: ";". (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/opcode.h", line 1091: error 1000: Unexpected symbol: ";". (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/opcode.h", line 1092: error 1000: Unexpected symbol: ";". (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/opcode.h", line 1093: error 1000: Unexpected symbol: ";". (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/opcode.h", line 1094: error 1000: Unexpected symbol: ";". (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/opcode.h", line 1095: error 1000: Unexpected symbol: ";". (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/opcode.h", line 1096: error 1000: Unexpected symbol: ";". (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/opcode.h", line 1097: error 1000: Unexpected symbol: ";". (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/opcode.h", line 1098: error 1000: Unexpected symbol: ";". (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/opcode.h", line 1099: error 1000: Unexpected symbol: ";". (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/opcode.h", line 1100: error 1000: Unexpected symbol: ";". (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/opcode.h", line 1101: error 1000: Unexpected symbol: ";". (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/opcode.h", line 1102: error 1000: Unexpected symbol: ";". (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/opcode.h", line 1103: error 1000: Unexpected symbol: ";". (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/opcode.h", line 1104: error 1000: Unexpected symbol: ";". (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/opcode.h", line 1106: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "/HP_QA/cas41qa/oracle/cas41qaora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0/CORE/opcode.h", line 1107: error 1000: Unexpected symbol: "*". (Bundled) cc: error 2017: Cannot recover from earlier errors, terminating.
*** Error exit code 1

Reply via email to