Attempting to compile Qt5Base from scratch, with latest tools and autobuilder, I get a failure to link to the XML stuff in libexpat.
Presumably a patch needed to include libexpat, but I'm failing abysmally to find where.
this is an extract from the output@
arm-unknown-riscos-g++ -Wl,--no-undefined -Wl,-O1 -Wl,--enable-new-dtags -Wl,-rpath,/home/jb/GCCSDK474/env/lib -shared -o libqriscos.so .obj/main.o .obj/qriscosintegration.o .obj/qriscosbackingstore.o .obj/qriscoseventdispatcher.o .obj/qriscoswindow.o .obj/moc_qriscoseventdispatcher.o -L/home/jb/GCCSDK474/env/lib -Wl,-rpath-link,/home/jb/GCCSDK474/env/lib -L/home/jb/GCCSDK474/build/Qt5Base/qtbase-opensource-src-5.5.0/lib -lQt5PlatformSupport -Wl,-rpath-link,/home/jb/GCCSDK474/env/lib -lfontconfig -lfreetype -Wl,-rpath-link,/home/jb/GCCSDK474/env/lib -Wl,-rpath-link,/home/jb/GCCSDK474/env/lib -Wl,-rpath-link,/home/jb/GCCSDK474/env/lib -lQt5Gui -Wl,-rpath-link,/home/jb/GCCSDK474/env/lib -Wl,-rpath-link,/home/jb/GCCSDK474/env/lib -lQt5Core -ldl -lz -lpng12 -lOSLib32 -Wl,-rpath-link,/home/jb/GCCSDK474/env/lib
/home/jb/GCCSDK474/env/lib/libfontconfig.a(fcxml.o): In function `FcConfigMessage.constprop.11':
fcxml.c:(.text+0x2a4): undefined reference to `XML_GetCurrentLineNumber'
fcxml.c:(.text+0x2e4): undefined reference to `XML_GetCurrentLineNumber'
/home/jb/GCCSDK474/env/lib/libfontconfig.a(fcxml.o): In function `FcConfigMessage.constprop.12':
fcxml.c:(.text+0x394): undefined reference to `XML_GetCurrentLineNumber'
fcxml.c:(.text+0x3dc): undefined reference to `XML_GetCurrentLineNumber'
/home/jb/GCCSDK474/env/lib/libfontconfig.a(fcxml.o): In function `FcConfigParseAndLoad':
fcxml.c:(.text+0x1934): undefined reference to `XML_ParserCreate'
fcxml.c:(.text+0x197c): undefined reference to `XML_SetUserData'
fcxml.c:(.text+0x198c): undefined reference to `XML_SetDoctypeDeclHandler'
fcxml.c:(.text+0x199c): undefined reference to `XML_SetElementHandler'
fcxml.c:(.text+0x19a8): undefined reference to `XML_SetCharacterDataHandler'
fcxml.c:(.text+0x19b8): undefined reference to `XML_GetBuffer'
fcxml.c:(.text+0x19e8): undefined reference to `XML_ParseBuffer'
fcxml.c:(.text+0x1a24): undefined reference to `XML_ParserFree'
fcxml.c:(.text+0x1cd8): undefined reference to `XML_GetErrorCode'
fcxml.c:(.text+0x1cdc): undefined reference to `XML_ErrorString'
collect2: error: ld returned 1 exit status
I presume the bit in the command line :
-rpath-link,/home/jb/GCCSDK474/env/lib -lfontconfig -lfreetype -Wl, needs '-lexpat ' added, but I cannot locate what generates this string. Any thoughts appreciated Thanks John
--
Stop press! Just announced -
Most Trusted Broadband Provider in the 2014 Moneywise Customer Services Awards
Most Trusted Broadband Provider in the 2014 Moneywise Customer Services Awards
For full details of see https://www.utilitywarehouse.co.uk/reviews?exref=095761
Intrigued? Call me
John Ballance C.Eng MIET - jwb@macpcrepair.co.uk - 07976 295923
No comments:
Post a Comment