Hi,
After running the Makefile.pl, when I run Make, I
get the following error (HPUX 10.20)
Example...
(Bundled) cc: warning 480: The -A option is available
only with the C/ANSI C pro
duct; ignored.
I have GCC and HP CC both installed, and here's the
/etc/PATH look likes
/usr/local/bin:/usr/bin:/opt/binutils/bin:/opt/gcc/bin:/opt/softbench/bin:/usr/c
cs/bin:/usr/contrib/bin:/opt/socks/bin:/opt/ansic/bin:/opt/langtools/bin:/
and so on
The entire error message after running make is paste
here.....
make
cp lib/DBD/Proxy.pm blib/lib/DBD/Proxy.pm
cp lib/DBI/ProxyServer.pm blib/lib/DBI/ProxyServer.pm
cp DBIXS.h blib/arch/auto/DBI/DBIXS.h
cp dbi_sql.h blib/arch/auto/DBI/dbi_sql.h
cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm
cp dbipport.h blib/arch/auto/DBI/dbipport.h
cp lib/DBI/Format.pm blib/lib/DBI/Format.pm
cp dbd_xsh.h blib/arch/auto/DBI/dbd_xsh.h
cp lib/DBI/Shell.pm blib/lib/DBI/Shell.pm
cp lib/DBD/ADO.pm blib/lib/DBD/ADO.pm
cp DBI.pm blib/lib/DBI.pm
cp lib/DBI/FAQ.pm blib/lib/DBI/FAQ.pm
cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm
cp lib/Bundle/DBI.pm blib/lib/Bundle/DBI.pm
cp Driver.xst blib/arch/auto/DBI/Driver.xst
cp lib/Win32/DBIODBC.pm blib/lib/Win32/DBIODBC.pm
cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm
cp lib/DBI/W32ODBC.pm blib/lib/DBI/W32ODBC.pm
cp lib/DBI/DBD.pm blib/lib/DBI/DBD.pm
cp lib/DBD/Multiplex.pm blib/lib/DBD/Multiplex.pm
/usr/local/bin/perl -p -e "s/~DRIVER~/Perl/g"
< blib/arch/auto/DBI/Drive
r.xst > Perl.xsi
/usr/local/bin/perl
-I/opt/perl5/lib/5.6.1/PA-RISC1.1 -I/opt/perl5/lib/5
.6.1 /opt/perl5/lib/5.6.1/ExtUtils/xsubpp -typemap
/opt/perl5/lib/5.6.1/ExtUtil
s/typemap Perl.xs > Perl.xsc && mv Perl.xsc Perl.c
cc -c -Ae -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O +Onolimit -D
VERSION=\"1.18\" -DXS_VERSION=\"1.18\" +z
-I/opt/perl5/lib/5.6.1/PA-RISC1.1/COR
E -DDBI_NO_THREADS Perl.c
(Bundled) cc: warning 480: The -A option is available
only with the C/ANSI C pro
duct; ignored.
(Bundled) cc: warning 480: The -O option is available
only with the C/ANSI C pro
duct; ignored.
(Bundled) cc: warning 480: The +Onolimit option is
available only with the C/ANS
I C product; ignored.
(Bundled) cc: warning 480: The +z option is available
only with the C/ANSI C pro
duct; ignored.
(Bundled) cc:
"/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line
538: error 100
0: Unexpected symbol: "nbytes".
(Bundled) cc:
"/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line
539: error 100
0: Unexpected symbol: "elements".
(Bundled) cc:
"/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line
540: error 100
0: Unexpected symbol: "size_t".
(Bundled) cc:
"/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line
538: error 150
6: Parameters allowed in function definition only.
duct; ignored.
ksh: duct: not
founderl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line 539:
error 170
ksh: ignored.: not founde an ANSI feature.
(i3107tis):/usr/local/mysql/contrib/DBI-1.18#
/CORE/perl.h", line 539: error 157
3: Type of "size" is undefined due to an illegal
declaration.
(Bundled) cc:
"/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line
540: error 170
5: Function prototypes are an ANSI feature.
(Bundled) cc:
"/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line
540: error 157
3: Type of "nbytes" is undefined due to an illegal
declaration.
(Bundled) cc:
"/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line
543: error 170
5: Function prototypes are an ANSI feature.
(Bundled) cc:
"/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line
1940: error 10
00: Unexpected symbol: "SV".
(Bundled) cc:
"/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/iperlsys.h",
line 417: warni
ng 5: "const" will become a keyword.
(Bundled) cc:
"/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/iperlsys.h",
line 417: error
1000: Unexpected symbol: "const".
(Bundled) cc:
"/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/regexp.h", line
13: error 10
00: Unexpected symbol: "U8".
(Bundled) cc:
"/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/sv.h", line 339:
error 1000:
Unexpected symbol: "*".
(Bundled) cc:
"/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/sv.h", line 340:
error 1000:
Unexpected symbol: "ANY".
(Bundled) cc:
"/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/sv.h", line 341:
error 1000:
Unexpected symbol: "GV".
(Bundled) cc:
"/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/cv.h", line 25:
error 1000:
Unexpected symbol: "*".
(Bundled) cc:
"/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/cv.h", line 26:
error 1000:
Unexpected symbol: "ANY".
(Bundled) cc:
"/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/cv.h", line 27:
error 1000:
Unexpected symbol: "GV".
(Bundled) cc:
"/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/mg.h", line 14:
error 1000:
Unexpected symbol: "*".
(Bundled) cc:
"/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/mg.h", line 14:
error 1000:
Unexpected symbol: "*".
(Bundled) cc:
"/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/mg.h", line 15:
error 1000:
Unexpected symbol: "*".
(Bundled) cc:
"/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/mg.h", line 15:
error 1000:
Unexpected symbol: "*".
(Bundled) cc:
"/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/mg.h", line 16:
error 1000:
Unexpected symbol: "U32".
(Bundled) cc:
"/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/mg.h", line 16:
error 1000:
Unexpected symbol: "*".
(Bundled) cc:
"/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/mg.h", line 17:
error 1000:
Unexpected symbol: "*".
(Bundled) cc:
"/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/mg.h", line 17:
error 1000:
Unexpected symbol: "*".
(Bundled) cc:
"/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/mg.h", line 18:
error 1000:
Unexpected symbol: "*".
(Bundled) cc:
"/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/mg.h", line 18:
error 1000:
Unexpected symbol: "*".
(Bundled) cc:
"/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/mg.h", line 23:
error 1000:
Unexpected symbol: "MAGIC".
(Bundled) cc:
"/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/utf8.h", line
25: warning 5:
"const" will become a keyword.
(Bundled) cc:
"/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/utf8.h", line
25: error 1000
: Unexpected symbol: "unsigned".
(Bundled) cc:
"/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line
1976: error 10
00: Unexpected symbol: "CURCUR".
(Bundled) cc:
"/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line
2187: error 10
00: Unexpected symbol: "*".
(Bundled) cc:
"/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line
2188: error 10
00: Unexpected symbol: "I32".
(Bundled) cc:
"/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line
2188: error 10
00: Unexpected symbol: "SV".
(Bundled) cc: error 2017: Cannot recover from earlier
errors, terminating.
*** Error exit code 1
Stop.
__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com