Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Hi,

I did 'make' again, and got undefined reference error as something
different as I got previously. This time it is:

elixir@ubuntu:~/lo$ make
cd /home/elixir/lo/postprocess && unset MAKEFLAGS && \
        /home/elixir/lo/solenv/bin/build.pl -P4 --all -- -P4


=============
(1/1) Building module tail_build
=============
Entering /home/elixir/lo/tail_build/prj

gbuild module /home/elixir/lo/tail_build: make -f Makefile -j4 -rs all
slowcheck
[build LNK] Library/libvcllo.so
[build MOD] animations
/home/elixir/lo/workdir/unxlngx6.pro/CxxObject/vcl/source/gdi/outdev3.o: In
function `ImplDevFontList::ImplFindByAliasName(rtl::OUString const&,
rtl::OUString const&) const':
outdev3.cxx:(.text+0x1f8b): undefined reference to
`GetNextFontToken(rtl::OUString const&, int&)'
/home/elixir/lo/workdir/unxlngx6.pro/CxxObject/vcl/source/gdi/outdev3.o: In
function `ImplDevFontList::ImplFindByTokenNames(rtl::OUString const&)
const':
outdev3.cxx:(.text+0x21e6): undefined reference to
`GetNextFontToken(rtl::OUString const&, int&)'
/home/elixir/lo/workdir/unxlngx6.pro/CxxObject/vcl/source/gdi/outdev3.o: In
function `ImplDevFontList::ImplFindByFont(FontSelectPattern&, bool,
ImplDirectFontSubstitution*) const':
outdev3.cxx:(.text+0x3d5c): undefined reference to
`GetNextFontToken(rtl::OUString const&, int&)'
outdev3.cxx:(.text+0x44f8): undefined reference to
`GetNextFontToken(rtl::OUString const&, int&)'
outdev3.cxx:(.text+0x46bc): undefined reference to
`GetNextFontToken(rtl::OUString const&, int&)'
/home/elixir/lo/workdir/
unxlngx6.pro/CxxObject/vcl/source/gdi/outdev3.o:outdev3.cxx:(.text+0x47fa):
more undefined references to `GetNextFontToken(rtl::OUString const&, int&)'
follow
/home/elixir/lo/workdir/unxlngx6.pro/CxxObject/vcl/source/gdi/outdev3.o: In
function `OutputDevice::GetDefaultFont(unsigned short, unsigned short,
unsigned long, OutputDevice const*)':
outdev3.cxx:(.text+0x17316): undefined reference to
`AddTokenFontName(rtl::OUString&, String const&)'
outdev3.cxx:(.text+0x1767c): undefined reference to
`String::GetToken(unsigned short, unsigned short, int&) const'
/home/elixir/lo/workdir/unxlngx6.pro/CxxObject/vcl/source/window/window.o:
In function `Window::ImplUpdateGlobalSettings(AllSettings&, unsigned char)':
window.cxx:(.text+0x748a): undefined reference to
`String::GetToken(unsigned short, unsigned short, int&) const'
/home/elixir/lo/workdir/
unxlngx6.pro/CxxObject/vcl/unx/generic/printer/ppdparser.o: In function
`psp::PPDParser::getResolutionFromString(String const&, int&, int&) const':
ppdparser.cxx:(.text+0x1156): undefined reference to
`String::GetToken(unsigned short, unsigned short, int&) const'
/home/elixir/lo/workdir/
unxlngx6.pro/CxxObject/vcl/unx/generic/printer/ppdparser.o: In function
`psp::PPDParser::getPPDPrinterName(String const&)':
ppdparser.cxx:(.text+0x4adf): undefined reference to
`String::GetToken(unsigned short, unsigned short, int&) const'
ppdparser.cxx:(.text+0x4b30): undefined reference to
`String::GetToken(unsigned short, unsigned short, int&) const'
/home/elixir/lo/workdir/
unxlngx6.pro/CxxObject/vcl/source/control/combobox.o:combobox.cxx:(.text+0x35bf):
more undefined references to `String::GetToken(unsigned short, unsigned
short, int&) const' follow
collect2: ld returned 1 exit status
make[1]: *** [/home/elixir/lo/workdir/
unxlngx6.pro/LinkTarget/Library/libvcllo.so] Error 1
make[1]: *** Waiting for unfinished jobs....

-----------------------------------------------------------------------
        Oh dear - something failed during the build - sorry !
  For more help with debugging build errors, please see the section in:
            http://wiki.documentfoundation.org/Development

  internal build errors:

ERROR: error 512 occurred while making /home/elixir/lo/tail_build/prj

I'm scratching my head hard to debug it, but don't have much clue about it!

Hope to get a solution to this from here at the earliest possibility.

Once again thanks

Regards
Prashant

Hello everyone,

I am having a hard time debugging the undefined reference to
<some_function> error. I made following changes:
http://pastebin.com/DqqTsP7A. Errors are: http://pastebin.com/PW0yzzgA.
I am porting String and its corresponding functions to OUString
respectively.

Any help shall be highly appreciable!
Thanks

Regards
Prashant Pandey

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.