Hi,<br><br>Thanks for pointing out an error. After correction as pointed out, I did 'make unotools.clean' followed by 'make'. Now,the error is similar to the one as attached in the pastebin of initial mail. It is:<br>
<br>[build LNK] Library/libflatlo.so<br>/home/elixir/lo/workdir/<a href="http://unxlngx6.pro/CxxObject/connectivity/source/drivers/flat/ETable.o">unxlngx6.pro/CxxObject/connectivity/source/drivers/flat/ETable.o</a>: In function `connectivity::flat::OFlatTable::impl_fillColumnInfo_nothrow(connectivity::QuotedTokenizedString&, unsigned short&, unsigned short&, int&, int&, int&, String&, unsigned short, unsigned short, CharClass const&)':<br>
ETable.cxx:(.text+0xdbd): undefined reference to `String::GetToken(unsigned short, unsigned short, int&) const'<br>collect2: ld returned 1 exit status<br>make[1]: *** [/home/elixir/lo/workdir/<a href="http://unxlngx6.pro/LinkTarget/Library/libflatlo.so">unxlngx6.pro/LinkTarget/Library/libflatlo.so</a>] Error 1<br>
make[1]: *** Waiting for unfinished jobs....<br>/home/elixir/lo/workdir/<a href="http://unxlngx6.pro/CxxObject/vcl/source/gdi/outdev3.o">unxlngx6.pro/CxxObject/vcl/source/gdi/outdev3.o</a>: In function `ImplDevFontList::ImplFindByAliasName(rtl::OUString const&, rtl::OUString const&) const':<br>
outdev3.cxx:(.text+0x1f8b): undefined reference to `GetNextFontToken(rtl::OUString const&, int&)'<br>/home/elixir/lo/workdir/<a href="http://unxlngx6.pro/CxxObject/vcl/source/gdi/outdev3.o">unxlngx6.pro/CxxObject/vcl/source/gdi/outdev3.o</a>: In function `ImplDevFontList::ImplFindByTokenNames(rtl::OUString const&) const':<br>
outdev3.cxx:(.text+0x21e6): undefined reference to `GetNextFontToken(rtl::OUString const&, int&)'<br>/home/elixir/lo/workdir/<a href="http://unxlngx6.pro/CxxObject/vcl/source/gdi/outdev3.o">unxlngx6.pro/CxxObject/vcl/source/gdi/outdev3.o</a>: In function `ImplDevFontList::ImplFindByFont(FontSelectPattern&, bool, ImplDirectFontSubstitution*) const':<br>
outdev3.cxx:(.text+0x3d5c): undefined reference to `GetNextFontToken(rtl::OUString const&, int&)'<br>outdev3.cxx:(.text+0x44f8): undefined reference to `GetNextFontToken(rtl::OUString const&, int&)'<br>
outdev3.cxx:(.text+0x46bc): undefined reference to `GetNextFontToken(rtl::OUString const&, int&)'<br>/home/elixir/lo/workdir/<a href="http://unxlngx6.pro/CxxObject/vcl/source/gdi/outdev3.o:outdev3.cxx:(.text+0x47fa)">unxlngx6.pro/CxxObject/vcl/source/gdi/outdev3.o:outdev3.cxx:(.text+0x47fa)</a>: more undefined references to `GetNextFontToken(rtl::OUString const&, int&)' follow<br>
/home/elixir/lo/workdir/<a href="http://unxlngx6.pro/CxxObject/vcl/source/gdi/outdev3.o">unxlngx6.pro/CxxObject/vcl/source/gdi/outdev3.o</a>: In function `OutputDevice::GetDefaultFont(unsigned short, unsigned short, unsigned long, OutputDevice const*)':<br>
outdev3.cxx:(.text+0x17316): undefined reference to `AddTokenFontName(rtl::OUString&, String const&)'<br>outdev3.cxx:(.text+0x1767c): undefined reference to `String::GetToken(unsigned short, unsigned short, int&) const'<br>
/home/elixir/lo/workdir/<a href="http://unxlngx6.pro/CxxObject/vcl/source/window/window.o">unxlngx6.pro/CxxObject/vcl/source/window/window.o</a>: In function `Window::ImplUpdateGlobalSettings(AllSettings&, unsigned char)':<br>
window.cxx:(.text+0x748a): undefined reference to `String::GetToken(unsigned short, unsigned short, int&) const'<br>/home/elixir/lo/workdir/<a href="http://unxlngx6.pro/CxxObject/vcl/unx/generic/printer/ppdparser.o">unxlngx6.pro/CxxObject/vcl/unx/generic/printer/ppdparser.o</a>: In function `psp::PPDParser::getResolutionFromString(String const&, int&, int&) const':<br>
ppdparser.cxx:(.text+0x1156): undefined reference to `String::GetToken(unsigned short, unsigned short, int&) const'<br>/home/elixir/lo/workdir/<a href="http://unxlngx6.pro/CxxObject/vcl/unx/generic/printer/ppdparser.o">unxlngx6.pro/CxxObject/vcl/unx/generic/printer/ppdparser.o</a>: In function `psp::PPDParser::getPPDPrinterName(String const&)':<br>
ppdparser.cxx:(.text+0x4adf): undefined reference to `String::GetToken(unsigned short, unsigned short, int&) const'<br>ppdparser.cxx:(.text+0x4b30): undefined reference to `String::GetToken(unsigned short, unsigned short, int&) const'<br>
/home/elixir/lo/workdir/<a href="http://unxlngx6.pro/CxxObject/vcl/source/control/combobox.o:combobox.cxx:(.text+0x35bf)">unxlngx6.pro/CxxObject/vcl/source/control/combobox.o:combobox.cxx:(.text+0x35bf)</a>: more undefined references to `String::GetToken(unsigned short, unsigned short, int&) const' follow<br>
collect2: ld returned 1 exit status<br>make[1]: *** [/home/elixir/lo/workdir/<a href="http://unxlngx6.pro/LinkTarget/Library/libvcllo.so">unxlngx6.pro/LinkTarget/Library/libvcllo.so</a>] Error 1<br><br>-----------------------------------------------------------------------<br>
Oh dear - something failed during the build - sorry !<br> For more help with debugging build errors, please see the section in:<br> <a href="http://wiki.documentfoundation.org/Development">http://wiki.documentfoundation.org/Development</a><br>
<br> internal build errors:<br><br>ERROR: error 512 occurred while making /home/elixir/lo/tail_build/prj<br><br> it seems that the error is inside 'tail_build', please re-run build<br> inside this module to isolate the error and/or test your fix.<br>
<br>-----------------------------------------------------------------------<br>To rebuild a specific module:<br><br>make tail_build.clean # not recommended, this will re-build almost everything<br>make tail_build<br><br>Thanks<br>
<br>Prashant<br><br><div class="gmail_quote">On Thu, Feb 28, 2013 at 1:53 AM, Christina Roßmanith <span dir="ltr"><<a href="mailto:ChrRossmanith@gmx.de" target="_blank">ChrRossmanith@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>Hi,<br>
<br>
e.g. in your pastebin showing the modifications you still have
GetNextFontToken declare using String<br>
<br>
UNOTOOLS_DLLPUBLIC String GetNextFontToken( const String&
rTokenStr, xub_StrLen& rIndex );<br>
<br>
(line 250). This is in conflict with<br>
<br>
<div>-String GetNextFontToken( const String&
rTokenStr, xub_StrLen& rIndex )</div>
<div>+OUString GetNextFontToken( const OUString&
rTokenStr, sal_Int32& rIndex )</div>
<br>
(line 466/467)<br>
<br>
Maybe "make unotools.clean" prior to "make" helps.<br>
<br>
Christina<br>
<br>
<br>
Am 27.02.2013 21:18, schrieb Prashant Pandey:<br>
</div>
<blockquote type="cite"><div><div class="h5">Hi,<br>
<br>
I did 'make' again, and got undefined reference error as something
different as I got previously. This time it is:<br>
<br>
elixir@ubuntu:~/lo$ make<br>
cd /home/elixir/lo/postprocess && unset MAKEFLAGS
&& \<br>
/home/elixir/lo/solenv/bin/<a href="http://build.pl" target="_blank">build.pl</a> -P4 --all -- -P4<br>
<br>
<br>
=============<br>
(1/1) Building module tail_build<br>
=============<br>
Entering /home/elixir/lo/tail_build/prj<br>
<br>
gbuild module /home/elixir/lo/tail_build: make -f Makefile -j4 -rs
all slowcheck<br>
[build LNK] Library/libvcllo.so<br>
[build MOD] animations<br>
/home/elixir/lo/workdir/<a href="http://unxlngx6.pro/CxxObject/vcl/source/gdi/outdev3.o" target="_blank">unxlngx6.pro/CxxObject/vcl/source/gdi/outdev3.o</a>:
In function `ImplDevFontList::ImplFindByAliasName(rtl::OUString
const&, rtl::OUString const&) const':<br>
outdev3.cxx:(.text+0x1f8b): undefined reference to
`GetNextFontToken(rtl::OUString const&, int&)'<br>
/home/elixir/lo/workdir/<a href="http://unxlngx6.pro/CxxObject/vcl/source/gdi/outdev3.o" target="_blank">unxlngx6.pro/CxxObject/vcl/source/gdi/outdev3.o</a>:
In function `ImplDevFontList::ImplFindByTokenNames(rtl::OUString
const&) const':<br>
outdev3.cxx:(.text+0x21e6): undefined reference to
`GetNextFontToken(rtl::OUString const&, int&)'<br>
/home/elixir/lo/workdir/<a href="http://unxlngx6.pro/CxxObject/vcl/source/gdi/outdev3.o" target="_blank">unxlngx6.pro/CxxObject/vcl/source/gdi/outdev3.o</a>:
In function
`ImplDevFontList::ImplFindByFont(FontSelectPattern&, bool,
ImplDirectFontSubstitution*) const':<br>
outdev3.cxx:(.text+0x3d5c): undefined reference to
`GetNextFontToken(rtl::OUString const&, int&)'<br>
outdev3.cxx:(.text+0x44f8): undefined reference to
`GetNextFontToken(rtl::OUString const&, int&)'<br>
outdev3.cxx:(.text+0x46bc): undefined reference to
`GetNextFontToken(rtl::OUString const&, int&)'<br>
/home/elixir/lo/workdir/<a href="http://unxlngx6.pro/CxxObject/vcl/source/gdi/outdev3.o:outdev3.cxx:%28.text+0x47fa%29" target="_blank">unxlngx6.pro/CxxObject/vcl/source/gdi/outdev3.o:outdev3.cxx:(.text+0x47fa)</a>:
more undefined references to `GetNextFontToken(rtl::OUString
const&, int&)' follow<br>
/home/elixir/lo/workdir/<a href="http://unxlngx6.pro/CxxObject/vcl/source/gdi/outdev3.o" target="_blank">unxlngx6.pro/CxxObject/vcl/source/gdi/outdev3.o</a>:
In function `OutputDevice::GetDefaultFont(unsigned short, unsigned
short, unsigned long, OutputDevice const*)':<br>
outdev3.cxx:(.text+0x17316): undefined reference to
`AddTokenFontName(rtl::OUString&, String const&)'<br>
outdev3.cxx:(.text+0x1767c): undefined reference to
`String::GetToken(unsigned short, unsigned short, int&) const'<br>
/home/elixir/lo/workdir/<a href="http://unxlngx6.pro/CxxObject/vcl/source/window/window.o" target="_blank">unxlngx6.pro/CxxObject/vcl/source/window/window.o</a>:
In function `Window::ImplUpdateGlobalSettings(AllSettings&,
unsigned char)':<br>
window.cxx:(.text+0x748a): undefined reference to
`String::GetToken(unsigned short, unsigned short, int&) const'<br>
/home/elixir/lo/workdir/<a href="http://unxlngx6.pro/CxxObject/vcl/unx/generic/printer/ppdparser.o" target="_blank">unxlngx6.pro/CxxObject/vcl/unx/generic/printer/ppdparser.o</a>:
In function `psp::PPDParser::getResolutionFromString(String
const&, int&, int&) const':<br>
ppdparser.cxx:(.text+0x1156): undefined reference to
`String::GetToken(unsigned short, unsigned short, int&) const'<br>
/home/elixir/lo/workdir/<a href="http://unxlngx6.pro/CxxObject/vcl/unx/generic/printer/ppdparser.o" target="_blank">unxlngx6.pro/CxxObject/vcl/unx/generic/printer/ppdparser.o</a>:
In function `psp::PPDParser::getPPDPrinterName(String
const&)':<br>
ppdparser.cxx:(.text+0x4adf): undefined reference to
`String::GetToken(unsigned short, unsigned short, int&) const'<br>
ppdparser.cxx:(.text+0x4b30): undefined reference to
`String::GetToken(unsigned short, unsigned short, int&) const'<br>
/home/elixir/lo/workdir/<a href="http://unxlngx6.pro/CxxObject/vcl/source/control/combobox.o:combobox.cxx:%28.text+0x35bf%29" target="_blank">unxlngx6.pro/CxxObject/vcl/source/control/combobox.o:combobox.cxx:(.text+0x35bf)</a>:
more undefined references to `String::GetToken(unsigned short,
unsigned short, int&) const' follow<br>
collect2: ld returned 1 exit status<br>
make[1]: *** [/home/elixir/lo/workdir/<a href="http://unxlngx6.pro/LinkTarget/Library/libvcllo.so" target="_blank">unxlngx6.pro/LinkTarget/Library/libvcllo.so</a>]
Error 1<br>
make[1]: *** Waiting for unfinished jobs....<br>
<br>
-----------------------------------------------------------------------<br>
Oh dear - something failed during the build - sorry !<br>
For more help with debugging build errors, please see the
section in:<br>
<a href="http://wiki.documentfoundation.org/Development" target="_blank">http://wiki.documentfoundation.org/Development</a><br>
<br>
internal build errors:<br>
<br>
ERROR: error 512 occurred while making
/home/elixir/lo/tail_build/prj<br>
<br>
<div class="gmail_quote">I'm scratching my head hard to debug it,
but don't have much clue about it! <br>
<br>
Hope to get a solution to this from here at the earliest
possibility.<br>
<br>
Once again thanks<br>
<br>
Regards<br>
Prashant<br>
<br>
Hello everyone,<br>
<br>
I am having a hard time debugging the undefined reference to
<some_function> error. I made following changes: <a href="http://pastebin.com/DqqTsP7A" target="_blank">http://pastebin.com/DqqTsP7A</a>. Errors are:
<a href="http://pastebin.com/PW0yzzgA" target="_blank">http://pastebin.com/PW0yzzgA</a>. <br>
I am porting String and its corresponding functions to OUString
respectively.<br>
<br>
Any help shall be highly appreciable!<br>
Thanks<br>
<br>
Regards<span><font color="#888888"><br>
Prashant Pandey<br>
</font></span></div>
<br>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
LibreOffice mailing list
<a href="mailto:LibreOffice@lists.freedesktop.org" target="_blank">LibreOffice@lists.freedesktop.org</a>
<a href="http://lists.freedesktop.org/mailman/listinfo/libreoffice" target="_blank">http://lists.freedesktop.org/mailman/listinfo/libreoffice</a>
</pre>
</blockquote>
<br>
</div>
</blockquote></div><br>