On 07/11/2017 17:21, Jan Ehrhardt wrote:
Steffen in gmane.comp.apache.devel (Thu, 19 Oct 2017 23:15:32 +0200):
I said before: In Apache.dsw is now  project xml  removed, it is not
building out of the box with current released apr-util. With coming
apr-util 1.6.1 it should be possible to build.

With the expat/xml changes in apr-util and httpd, it is now a hard job
for most win users to build.
Grmbl. I did not expect it to be that hard, even with apr-util 1.6.1.
Include directories like ./xml/expat/lib, env var XML_PARSER (which I
can guess what it has to be), XML_OPTIONS (no idea what to put there),
unresolved external symbol __imp__XML_ParserFree even if I link expat or
the old xml ...

Formal it is hard to say to go or not, so a +0.
Mosterd na de maaltijd: -1.

I have been trying to build 2.4.29 on AIX. There are some hard-coded assumptions that are not working.

+++

This explains why I am getting a warning "all the time"

root@x064:[/data/prj/apache/src/httpd-2.4.29]grep XML_Parse * */*
configure:    test "x$silent" != "xyes" && echo "  setting HTTPD_LDFLAGS to \"-Wl,-uXML_Parse -Wl,-bE:$abs_builddir/server/httpd.exp\"" configure:    HTTPD_LDFLAGS="-Wl,-uXML_Parse -Wl,-bE:$abs_builddir/server/httpd.exp" configure:    apr_addto_bugger="-Wl,-uXML_Parse -Wl,-bE:$abs_builddir/server/httpd.exp" configure:    test "x$silent" != "xyes" && echo "  setting UTIL_LDFLAGS to \"-Wl,-uXML_Parse\""
configure:    UTIL_LDFLAGS="-Wl,-uXML_Parse"
configure:    apr_addto_bugger="-Wl,-uXML_Parse"
configure.in:      APR_ADDTO(HTTPD_LDFLAGS, [-Wl,-uXML_Parse -Wl,-bE:$abs_builddir/server/httpd.exp])
configure.in:      APR_ADDTO(UTIL_LDFLAGS, [-Wl,-uXML_Parse])

ld: 0711-301 WARNING: Symbol specified with the -u flag not defined: XML_Parse ld: 0711-301 WARNING: Symbol specified with the -u flag not defined: XML_Parse ld: 0711-301 WARNING: Symbol specified with the -u flag not defined: XML_Parse ld: 0711-301 WARNING: Symbol specified with the -u flag not defined: XML_Parse ld: 0711-301 WARNING: Symbol specified with the -u flag not defined: XML_Parse ld: 0711-301 WARNING: Symbol specified with the -u flag not defined: XML_Parse ld: 0711-301 WARNING: Symbol specified with the -u flag not defined: XML_Parse ld: 0711-301 WARNING: Symbol specified with the -u flag not defined: XML_Parse ld: 0711-301 WARNING: Symbol specified with the -u flag not defined: XML_Parse ld: 0711-301 WARNING: Symbol specified with the -u flag not defined: XML_Parse ld: 0711-301 WARNING: Symbol specified with the -u flag not defined: XML_Parse

++++++

But I am still stuck re: finding where these are called from.

ld: 0711-317 ERROR: Undefined symbol: .XML_Parse
ld: 0711-317 ERROR: Undefined symbol: .XML_GetErrorCode
ld: 0711-317 ERROR: Undefined symbol: .XML_StopParser
ld: 0711-317 ERROR: Undefined symbol: .XML_ParserFree
ld: 0711-317 ERROR: Undefined symbol: .XML_ErrorString
ld: 0711-317 ERROR: Undefined symbol: .XML_ParserCreate
ld: 0711-317 ERROR: Undefined symbol: .XML_SetUserData
ld: 0711-317 ERROR: Undefined symbol: .XML_SetElementHandler
ld: 0711-317 ERROR: Undefined symbol: .XML_SetCharacterDataHandler
ld: 0711-317 ERROR: Undefined symbol: .XML_SetEntityDeclHandler

Was there a 2.4.28 (if so, never got around to it - as 2.4.27 is the last one I worked on (and may have nearly finished). FYI: 2.4.25 was the last one I actually finished packaging.
Really kind of sad - as httpd was an easy package. emphasis on was.

p.s. - sent from the wrong from address, so "repeating" as the first mail might bounce off dev@httpd...

Below is an addition to the first message: It appears (from the -bloadmap output) that XML_Parse is suppossed to be coming from apr-util. Or is it APR-UTIL is the caller?

:g/XML_Parse/p
(ld): keep XML_Parse
ld: 0711-301 WARNING: Symbol specified with the -u flag not defined: XML_Parse .XML_Parse [142] ER PR ../src/apr-util-1.6.1/xml/apr_xml.c(/opt/lib/libaprutil-1.a[apr_xml.o]) .XML_ParserFree [148] ER PR ../src/apr-util-1.6.1/xml/apr_xml.c(/opt/lib/libaprutil-1.a[apr_xml.o]) .XML_ParserCreate [176] ER PR ../src/apr-util-1.6.1/xml/apr_xml.c(/opt/lib/libaprutil-1.a[apr_xml.o])
 [Press return to continue]

+++
Puzzled.


Reply via email to