The XML::Parser built by me is able to parse "default.cst" onlt in 'standalone' mode, but if a refernce is made to external entity, then i get an error, as below.
Log:
-----
error in processing external entity reference at line 2, column 59, byte 82:
<?xml version="1.0" ?>
<!DOCTYPE group SYSTEM "/opt/hpcmgr/etc/templates/mgr.dtd">
--------------
I see that somehow the XML::Parser built by me is unable to parse if there is a refernce to external entity. But, drilling down further -- I found that XML::Parser requires "libexpat.<xx>" - a library used in parsing. The "libexpat" library has to be built from the "expat-2.0.1" source, which i downloaded and built.
During the make phase of "XML-Parser Module", i see a lot of warnings...
/usr/lib/hpux32/libcres.amemmove.o: section .text PROGBITS AX 8768 32 added to text segment section .IA_64.unwind UNWIND A 12 4 added to text segment section .IA_64.unwind_info PROGBITS A 36 4 added to text segment Searching library /usr/lib/hpux32/milli.a:
ld: (Warning) Unsatisfied symbol "Perl_sv_catpvn_flags" in file Expat.o
ld: (Warning) Unsatisfied symbol "Perl_pop_scope" in file Expat.o
ld: (Warning) Unsatisfied symbol "Perl_newSVpv" in file Expat.o
ld: (Warning) Unsatisfied symbol "Perl_newSViv" in file Expat.o
ld: (Warning) Unsatisfied symbol "Perl_newSVsv" in file Expat.o
ld: (Warning) Unsatisfied symbol "malloc" in file /usr/local/lib/hpux32/libexpatw.axmlparse.o
ld: (Warning) Unsatisfied symbol "realloc" in file /usr/local/lib/hpux32/libexpatw.axmlparse.o
ld: (Warning) Unsatisfied symbol "_memcpy" in file Expat.o
ld: (Warning) Unsatisfied symbol "_memcmp" in file /usr/local/lib/hpux32/libexpatw.axmlparse.o
ld: (Warning) Unsatisfied symbol "Perl_sv_newmortal" in file Expat.o
ld: (Warning) Unsatisfied symbol "memmove" in file /usr/lib/hpux32/libcres.amemmove.o
ld: (Warning) Unsatisfied symbol "_memset" in file Expat.o
ld: (Warning) Unsatisfied symbol "Perl_sv_2mortal" in file Expat.o
ld: (Warning) Unsatisfied symbol "Perl_save_int" in file Expat.o
ld: (Warning) Unsatisfied symbol "Perl_call_method" in file Expat.o
ld: (Warning) Unsatisfied symbol "Perl_safesysmalloc" in file Expat.o
ld: (Warning) Unsatisfied symbol "Perl_Tmarkstack_max_ptr" in file Expat.o
ld: (Warning) Unsatisfied symbol "Perl_Tstack_sp_ptr" in file Expat.o
ld: (Warning) Unsatisfied symbol "Perl_Isv_undef_ptr" in file Expat.o
ld: (Warning) Unsatisfied symbol "Perl_Tstack_max_ptr" in file Expat.o
ld: (Warning) Unsatisfied symbol "Perl_sv_catpv" in file Expat.o
ld: (Warning) Unsatisfied symbol "Perl_sv_setpv" in file Expat.o
ld: (Warning) Unsatisfied symbol "Perl_sv_setiv" in file Expat.o
ld: (Warning) Unsatisfied symbol "Perl_TSv_ptr" in file Expat.o
ld: (Warning) Unsatisfied symbol "Perl_free_tmps" in file Expat.o
ld: (Warning) Unsatisfied symbol "Perl_av_clear" in file Expat.o
ld: (Warning) Unsatisfied symbol "Perl_gv_stashpv" in file Expat.o
ld: (Warning) Unsatisfied symbol "Perl_sv_setref_pv" in file Expat.o
ld: (Warning) Unsatisfied symbol "PL_memory_wrap" in file Expat.o
ld: (Warning) Unsatisfied symbol "Perl_Isv_no_ptr" in file Expat.o
ld: (Warning) Unsatisfied symbol "strncmp" in file Expat.o
ld: (Warning) Unsatisfied symbol "Perl_sv_free" in file Expat.o
ld: (Warning) Unsatisfied symbol "Perl_Ttmps_floor_ptr" in file Expat.o
ld: (Warning) Unsatisfied symbol "Perl_sv_catsv_flags" in file Expat.o
ld: (Warning) Unsatisfied symbol "Perl_newSV" in file Expat.o
ld: (Warning) Unsatisfied symbol "Perl_newXS" in file Expat.o
Not sure what they mean, can i get a pointer where to start looking ?
My Environment is:
OS - HP-UX 11iv2 Arch - Itanium
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |