build failure, undefined symbols XML_...

classic Classic list List threaded Threaded
5 messages Options
dk122 dk122
Reply | Threaded
Open this post in threaded view
|

build failure, undefined symbols XML_...

I am trying to build from the git tarball of 2012-11-03, commit id
445e66f, and the build fails in `[build LNK]
Library/libhelplinkerlo.so` because of undefined symbols referenced
from helpcompiler/source/HelpLinker.cxx:
     XML_ParserCreate_UTF8
     XML_Parse_UTF8
     XML_GetErrorCode_UTF8
     XML_ErrorString_UTF8
     XML_ParserFree_UTF8

workdir/unxlngi6/GenCObject/UnpackedTarball/expat/lib/xmlparse.o
appears to define these symbols, but I do not know how to get it into
the link command.


I shall try again when I can can get the next git tarball, but
meanwhile any advice is appreciated.


My build environment is ubuntu-natty 32-bit  ...

     $ uname -a
     Linux cougar-natty 2.6.38-16-generic #67-Ubuntu SMP Thu Sep 6  
18:00:43 UTC 2012 i686 athlon i386 GNU/Linux
     $ gcc --version
     gcc (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2

and the configuration options are

     --enable-symbols
     --enable-dbgutil
     --enable-crashdump
     --disable-build-mozilla
     --without-system-postgresql
     --enable-debug
     --enable-werror
     --without-myspell-dicts
     --without-help
     --with-system-expat


Thank you, all, for your attention,
Terry.
_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice
Tor Lillqvist-2 Tor Lillqvist-2
Reply | Threaded
Open this post in threaded view
|

Re: build failure, undefined symbols XML_...

> I am trying to build from the git tarball of 2012-11-03, commit id
> 445e66f,

If that is just a tarball taken at some random point in time, i.e. not
a tarball corresponding to some released version, there is no
guarantee that it is buildable (on all supported platforms, in all
possible/supported configurations). Sorry. Try another one. Or try
tweaking your configure options.

And if that is a tarball of master, it surely makes much more sense to
track master as it evolves in git, not some random tarball from a week
ago. Is there some particular reason why you don't work from a fresh
git clone, but from a tarball?

There were changes recently (well, several weeks or month(s) ago if I
recall correctly) in the exported function names of the bundled expat
libraries and you might have run into some fallout of that. Hopefully
a current master should work for your configuration by now.

--tml
_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice
Terrence Enger Terrence Enger
Reply | Threaded
Open this post in threaded view
|

Re: build failure, undefined symbols XML_...

Tor Lillqvist-2 asked
> Is there some particular reason why you don't work from a fresh
> git clone, but from a tarball?

Sigh.  My Linux machine is without internet access.  I have not succeeded in building git on the Windows machine at my local library.  Just trying to "make do".

(BTW, I do not know whether this response will make it to the list.  Nabble has drastically truncated my messages in the past, and not it warns me that I am not subscribed to the list, even though I think I am.  Double sigh.)

Terry.
Michael Meeks-2 Michael Meeks-2
Reply | Threaded
Open this post in threaded view
|

Re: build failure, undefined symbols XML_...

Hi Terry,

On Wed, 2012-11-14 at 11:25 -0800, Terrence Enger wrote:
> Sigh.  My Linux machine is without internet access.  I have not succeeded in
> building git on the Windows machine at my local library.  Just trying to
> "make do".

        Ah - that is annoying; if you could get git working on windows (under
cygwin it should be easy to install I'd hope), then it should make your
incremental updates significantly quicker [ if you can get the git
protocol port open I suppose ].

> (BTW, I do not know whether this response will make it to the list.  Nabble
> has drastically truncated my messages in the past, and not it warns me that
> I am not subscribed to the list, even though I think I am.  Double sigh.)

        You shouldn't need to be subscribed to post to this list: which should
be a feature ! :-)

        So sorry for the pain building; due to the 4.0 feature-freeze being
only ~2 weeks away, people are currently pushing quite a lot of features
they had stored up - and trying to finish other pieces and ...
unfortunately the effect is a tad de-stabilising for the build :-) That
is expected to improve markedly post branch.

        Thanks for persevering :-)

        HTH,

                Michael.

--
[hidden email]  <><, Pseudo Engineer, itinerant idiot

_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice
Terrence Enger Terrence Enger
Reply | Threaded
Open this post in threaded view
|

Re: build failure, undefined symbols XML_...

On Thu, 2012-11-15 at 10:09 +0000, Michael Meeks wrote:

> Hi Terry,
>
> On Wed, 2012-11-14 at 11:25 -0800, Terrence Enger wrote:
> > Sigh.  My Linux machine is without internet access.  I have not succeeded in
> > building git on the Windows machine at my local library.  Just trying to
> > "make do".
>
> Ah - that is annoying; if you could get git working on windows (under
> cygwin it should be easy to install I'd hope), then it should make your
> incremental updates significantly quicker [ if you can get the git
> protocol port open I suppose ].

I have net access again.  Have pulled updates and the build has been
running for about ten hours and has prceded past the step "expat
deliver", so I have high hopes.

The build of git on Windows proceeded for about three hours before
failing for missing `propmt`.  Until my next connectivity problem, I
no longer care.

I am not sure why the ftp port is a security exposure, but that
restriction cut me off from documents I have stored "out there".
Oh-oh, that reminds me of more stuff that I want to catch up on.

>
> > (BTW, I do not know whether this response will make it to the list.  Nabble
> > has drastically truncated my messages in the past, and not it warns me that
> > I am not subscribed to the list, even though I think I am.  Double sigh.)
>
> You shouldn't need to be subscribed to post to this list: which should
> be a feature ! :-)

Indeed.  But even messages mailed from my subscribed address are
sometimes held for moderation.  Oh, well ...

>
> So sorry for the pain building; due to the 4.0 feature-freeze being
> only ~2 weeks away, people are currently pushing quite a lot of features
> they had stored up - and trying to finish other pieces and ...
> unfortunately the effect is a tad de-stabilising for the build :-) That
> is expected to improve markedly post branch.

Sorry for the noise, but restoration of connectivity had been promised
"soon" for most of the time I was disconnected.

Maybe I will be able to get a bug report filed to make life even a bit
busier <grin />.

Thanks,
Terry.


_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice