incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pedro Giffuni <...@apache.org>
Subject Re: Module VCL doesn't link external ICU
Date Mon, 07 Nov 2011 14:08:36 GMT
OK
hmm.. you asked for it ;)

=============
Building module vcl
=============

Entering /usr/ports/editors/openoffice.org-3-devel/work/ooo/main/vcl/prj

cd .. && gmake  -r -j1 
[ build LNK ] Library/libvcl.so
R=/usr/ports/editors/openoffice.org-3-devel/work/ooo && S=$R/main && O=$S/solver/340/unxfbsdx.pro
&& W=$O/workdir &&  mkdir -p $W/LinkTarget/Library/ && c++ -shared
-Wl,-z,noexecstack '-Wl,-rpath,$ORIGIN:$ORIGIN/../ure-link/lib' '-Wl,-rpath-link,$O/lib' -Wl,-rpath-link,/lib:/usr/lib
-Wl,-z,combreloc -Wl,-z,defs   -L$S/solenv/unxfbsdx/lib -L$O/lib -L$S/solenv/unxfbsdx/lib
-L/usr/local/openjdk6/lib -L/usr/local/openjdk6/jre/lib/amd64 -L/usr/local/openjdk6/jre/lib/amd64/server
-L/usr/local/openjdk6/jre/lib/amd64/native_threads -L/usr/local/lib  -Wl,--hash-style=both
 -Wl,--dynamic-list-cpp-new -Wl,--dynamic-list-cpp-typeinfo -Wl,-Bsymbolic-functions  -ltl
-lutl -lsot -lucbhelper4gcc3 -lbasegfx -lcomphelpgcc3 -luno_cppuhelpergcc3 -licuuc -licule
-li18nisolang1gcc3 -li18npaper -li18nutilgcc3 -ljvmaccessgcc3 -lstlport_gcc -luno_cppu -luno_sal
-lvos3gcc3 -lfreetype  $W/CxxObject/vcl/source/glyphs/gcach_ftyp.o $W/CxxObject/vcl/source/glyphs/gcach_layout.o
 $W/CxxObject/vcl/source/glyphs/gcach_rbmp.o $W/CxxObject/vcl/source/glyphs/glyphcache.o $W/CxxObject/vcl/unx/generic/fontmanager/fontcache.o
$W/CxxObject/vcl/unx/generic/fontmanager/fontconfig.o $W/CxxObject/vcl/unx/generic/fontmanager/fontmanager.o
$W/CxxObject/vcl/unx/generic/fontmanager/helper.o $W/CxxObject/vcl/unx/generic/fontmanager/parseAFM.o
$W/CxxObject/vcl/unx/generic/plugadapt/salplug.o $W/CxxObject/vcl/unx/generic/printer/cupsmgr.o
$W/CxxObject/vcl/unx/generic/printer/jobdata.o $W/CxxObject/vcl/unx/generic/printer/ppdparser.o
$W/CxxObject/vcl/unx/generic/printer/printerinfomanager.o $W/CxxObject/vcl/source/app/dbggui.o
$W/CxxObject/vcl/source/app/dndhelp.o $W/CxxObject/vcl/source/app/help.o $W/CxxObject/vcl/source/app/i18nhelp.o
$W/CxxObject/vcl/source/app/idlemgr.o $W/CxxObject/vcl/source/app/salvtables.o $W/CxxObject/vcl/source/app/session.o
$W/CxxObject/vcl/source/app/settings.o $W/CxxObject/vcl/source/app/sound.o
 $W/CxxObject/vcl/source/app/stdtext.o $W/CxxObject/vcl/source/app/svapp.o $W/CxxObject/vcl/source/app/svdata.o
$W/CxxObject/vcl/source/app/svmain.o $W/CxxObject/vcl/source/app/svmainhook.o $W/CxxObject/vcl/source/app/timer.o
$W/CxxObject/vcl/source/app/unohelp2.o $W/CxxObject/vcl/source/app/unohelp.o $W/CxxObject/vcl/source/app/vclevent.o
$W/CxxObject/vcl/source/components/display.o $W/CxxObject/vcl/source/components/dtranscomp.o
$W/CxxObject/vcl/source/components/factory.o $W/CxxObject/vcl/source/components/fontident.o
$W/CxxObject/vcl/source/components/rasterizer_rsvg.o $W/CxxObject/vcl/source/components/stringmirror.o
$W/CxxObject/vcl/source/control/button.o $W/CxxObject/vcl/source/control/combobox.o $W/CxxObject/vcl/source/control/ctrl.o
$W/CxxObject/vcl/source/control/edit.o $W/CxxObject/vcl/source/control/field2.o $W/CxxObject/vcl/source/control/field.o
$W/CxxObject/vcl/source/control/fixbrd.o $W/CxxObject/vcl/source/control/fixed.o
 $W/CxxObject/vcl/source/control/group.o $W/CxxObject/vcl/source/control/ilstbox.o $W/CxxObject/vcl/source/control/imgctrl.o
$W/CxxObject/vcl/source/control/longcurr.o $W/CxxObject/vcl/source/control/lstbox.o $W/CxxObject/vcl/source/control/menubtn.o
$W/CxxObject/vcl/source/control/morebtn.o $W/CxxObject/vcl/source/control/quickselectionengine.o
$W/CxxObject/vcl/source/control/scrbar.o $W/CxxObject/vcl/source/control/slider.o $W/CxxObject/vcl/source/control/spinbtn.o
$W/CxxObject/vcl/source/control/spinfld.o $W/CxxObject/vcl/source/control/tabctrl.o $W/CxxObject/vcl/source/control/throbber.o
$W/CxxObject/vcl/source/fontsubset/cff.o $W/CxxObject/vcl/source/fontsubset/fontsubset.o $W/CxxObject/vcl/source/fontsubset/gsub.o
$W/CxxObject/vcl/source/fontsubset/list.o $W/CxxObject/vcl/source/fontsubset/sft.o $W/CxxObject/vcl/source/fontsubset/ttcr.o
$W/CxxObject/vcl/source/fontsubset/xlat.o $W/CxxObject/vcl/source/gdi/alpha.o
 $W/CxxObject/vcl/source/gdi/animate.o $W/CxxObject/vcl/source/gdi/base14.o $W/CxxObject/vcl/source/gdi/bitmap2.o
$W/CxxObject/vcl/source/gdi/bitmap3.o $W/CxxObject/vcl/source/gdi/bitmap4.o $W/CxxObject/vcl/source/gdi/bitmap.o
$W/CxxObject/vcl/source/gdi/bitmapex.o $W/CxxObject/vcl/source/gdi/bmpacc2.o $W/CxxObject/vcl/source/gdi/bmpacc3.o
$W/CxxObject/vcl/source/gdi/bmpacc.o $W/CxxObject/vcl/source/gdi/bmpconv.o $W/CxxObject/vcl/source/gdi/bmpfast.o
$W/CxxObject/vcl/source/gdi/configsettings.o $W/CxxObject/vcl/source/gdi/cvtgrf.o $W/CxxObject/vcl/source/gdi/cvtsvm.o
$W/CxxObject/vcl/source/gdi/extoutdevdata.o $W/CxxObject/vcl/source/gdi/font.o $W/CxxObject/vcl/source/gdi/gdimtf.o
$W/CxxObject/vcl/source/gdi/gfxlink.o $W/CxxObject/vcl/source/gdi/gradient.o $W/CxxObject/vcl/source/gdi/graph.o
$W/CxxObject/vcl/source/gdi/graphictools.o $W/CxxObject/vcl/source/gdi/hatch.o $W/CxxObject/vcl/source/gdi/image.o
$W/CxxObject/vcl/source/gdi/imagerepository.o
 $W/CxxObject/vcl/source/gdi/impanmvw.o $W/CxxObject/vcl/source/gdi/impbmp.o $W/CxxObject/vcl/source/gdi/impgraph.o
$W/CxxObject/vcl/source/gdi/impimage.o $W/CxxObject/vcl/source/gdi/impimagetree.o $W/CxxObject/vcl/source/gdi/impvect.o
$W/CxxObject/vcl/source/gdi/jobset.o $W/CxxObject/vcl/source/gdi/lineinfo.o $W/CxxObject/vcl/source/gdi/mapmod.o
$W/CxxObject/vcl/source/gdi/metaact.o $W/CxxObject/vcl/source/gdi/metric.o $W/CxxObject/vcl/source/gdi/octree.o
$W/CxxObject/vcl/source/gdi/oldprintadaptor.o $W/CxxObject/vcl/source/gdi/outdev2.o $W/CxxObject/vcl/source/gdi/outdev3.o
$W/CxxObject/vcl/source/gdi/outdev4.o $W/CxxObject/vcl/source/gdi/outdev5.o $W/CxxObject/vcl/source/gdi/outdev6.o
$W/CxxObject/vcl/source/gdi/outdev.o $W/CxxObject/vcl/source/gdi/outdevnative.o $W/CxxObject/vcl/source/gdi/outmap.o
$W/CxxObject/vcl/source/gdi/pdfextoutdevdata.o $W/CxxObject/vcl/source/gdi/pdffontcache.o
$W/CxxObject/vcl/source/gdi/pdfwriter.o
 $W/CxxObject/vcl/source/gdi/pdfwriter_impl2.o $W/CxxObject/vcl/source/gdi/pdfwriter_impl.o
$W/CxxObject/vcl/source/gdi/pngread.o $W/CxxObject/vcl/source/gdi/pngwrite.o $W/CxxObject/vcl/source/gdi/print2.o
$W/CxxObject/vcl/source/gdi/print3.o $W/CxxObject/vcl/source/gdi/print.o $W/CxxObject/vcl/source/gdi/regband.o
$W/CxxObject/vcl/source/gdi/region.o $W/CxxObject/vcl/source/gdi/rendergraphic.o $W/CxxObject/vcl/source/gdi/rendergraphicrasterizer.o
$W/CxxObject/vcl/source/gdi/salgdilayout.o $W/CxxObject/vcl/source/gdi/sallayout.o $W/CxxObject/vcl/source/gdi/salmisc.o
$W/CxxObject/vcl/source/gdi/salnativewidgets-none.o $W/CxxObject/vcl/source/gdi/svgread.o
$W/CxxObject/vcl/source/gdi/textlayout.o $W/CxxObject/vcl/source/gdi/virdev.o $W/CxxObject/vcl/source/gdi/wall.o
$W/CxxObject/vcl/source/helper/canvasbitmap.o $W/CxxObject/vcl/source/helper/canvastools.o
$W/CxxObject/vcl/source/helper/evntpost.o $W/CxxObject/vcl/source/helper/lazydelete.o
 $W/CxxObject/vcl/source/helper/strhelper.o $W/CxxObject/vcl/source/helper/threadex.o $W/CxxObject/vcl/source/helper/xconnection.o
$W/CxxObject/vcl/source/salmain/salmain.o $W/CxxObject/vcl/source/window/abstdlg.o $W/CxxObject/vcl/source/window/accel.o
$W/CxxObject/vcl/source/window/accmgr.o $W/CxxObject/vcl/source/window/arrange.o $W/CxxObject/vcl/source/window/brdwin.o
$W/CxxObject/vcl/source/window/btndlg.o $W/CxxObject/vcl/source/window/cmdevt.o $W/CxxObject/vcl/source/window/cursor.o
$W/CxxObject/vcl/source/window/decoview.o $W/CxxObject/vcl/source/window/dialog.o $W/CxxObject/vcl/source/window/dlgctrl.o
$W/CxxObject/vcl/source/window/dndevdis.o $W/CxxObject/vcl/source/window/dndlcon.o $W/CxxObject/vcl/source/window/dockingarea.o
$W/CxxObject/vcl/source/window/dockmgr.o $W/CxxObject/vcl/source/window/dockwin.o $W/CxxObject/vcl/source/window/floatwin.o
$W/CxxObject/vcl/source/window/introwin.o $W/CxxObject/vcl/source/window/javachild.o
 $W/CxxObject/vcl/source/window/keycod.o $W/CxxObject/vcl/source/window/keyevent.o $W/CxxObject/vcl/source/window/menu.o
$W/CxxObject/vcl/source/window/mnemonic.o $W/CxxObject/vcl/source/window/mnemonicengine.o
$W/CxxObject/vcl/source/window/mouseevent.o $W/CxxObject/vcl/source/window/msgbox.o $W/CxxObject/vcl/source/window/popupmenuwindow.o
$W/CxxObject/vcl/source/window/printdlg.o $W/CxxObject/vcl/source/window/scrwnd.o $W/CxxObject/vcl/source/window/seleng.o
$W/CxxObject/vcl/source/window/split.o $W/CxxObject/vcl/source/window/splitwin.o $W/CxxObject/vcl/source/window/status.o
$W/CxxObject/vcl/source/window/syschild.o $W/CxxObject/vcl/source/window/syswin.o $W/CxxObject/vcl/source/window/tabdlg.o
$W/CxxObject/vcl/source/window/tabpage.o $W/CxxObject/vcl/source/window/taskpanelist.o $W/CxxObject/vcl/source/window/toolbox2.o
$W/CxxObject/vcl/source/window/toolbox.o $W/CxxObject/vcl/source/window/window2.o $W/CxxObject/vcl/source/window/window3.o
 $W/CxxObject/vcl/source/window/window4.o $W/CxxObject/vcl/source/window/window.o $W/CxxObject/vcl/source/window/winproc.o
$W/CxxObject/vcl/source/window/wpropset.o $W/CxxObject/vcl/source/window/wrkwin.o  -Wl,--start-group
 -Wl,--end-group -o $W/LinkTarget/Library/libvcl.so
/usr/ports/editors/openoffice.org-3-devel/work/ooo/main/solver/340/unxfbsdx.pro/workdir/CxxObject/vcl/source/glyphs/gcach_layout.o:
In function `IcuLayoutEngine::operator()(ServerFontLayout&, ImplLayoutArgs&)':
gcach_layout.cxx:(.text+0x7f4): undefined reference to `uscript_getScript_48'
gcach_layout.cxx:(.text+0x853): undefined reference to `icu_48::LayoutEngine::layoutEngineFactory(icu_48::LEFontInstance
const*, int, int, LEErrorCode&)'
gcach_layout.cxx:(.text+0x8f4): undefined reference to `icu_48::LayoutEngine::getGlyphs(unsigned
int*, LEErrorCode&) const'
gcach_layout.cxx:(.text+0x90e): undefined reference to `icu_48::LayoutEngine::getCharIndices(int*,
LEErrorCode&) const'
gcach_layout.cxx:(.text+0x92c): undefined reference to `icu_48::LayoutEngine::getGlyphPositions(float*,
LEErrorCode&) const'
/usr/ports/editors/openoffice.org-3-devel/work/ooo/main/solver/340/unxfbsdx.pro/workdir/CxxObject/vcl/source/glyphs/gcach_layout.o:
In function `IcuFontFromServerFont::~IcuFontFromServerFont()':
gcach_layout.cxx:(.text._ZN21IcuFontFromServerFontD0Ev[_ZN21IcuFontFromServerFontD0Ev]+0xf):
undefined reference to `icu_48::LEFontInstance::~LEFontInstance()'
gcach_layout.cxx:(.text._ZN21IcuFontFromServerFontD0Ev[_ZN21IcuFontFromServerFontD0Ev]+0x18):
undefined reference to `icu_48::UMemory::operator delete(void*)'
/usr/ports/editors/openoffice.org-3-devel/work/ooo/main/solver/340/unxfbsdx.pro/workdir/CxxObject/vcl/source/glyphs/gcach_layout.o:
In function `IcuFontFromServerFont::~IcuFontFromServerFont()':
gcach_layout.cxx:(.text._ZN21IcuFontFromServerFontD1Ev[_ZN21IcuFontFromServerFontD1Ev]+0xb):
undefined reference to `icu_48::LEFontInstance::~LEFontInstance()'
/usr/ports/editors/openoffice.org-3-devel/work/ooo/main/solver/340/unxfbsdx.pro/
...
_____

Also:

ls /usr/local/lib/libicu*
/usr/local/lib/libicudata.so      /usr/local/lib/libiculx.so
/usr/local/lib/libicudata.so.48   /usr/local/lib/libiculx.so.48
/usr/local/lib/libicudata.so.48.1 /usr/local/lib/libiculx.so.48.1
/usr/local/lib/libicui18n.so      /usr/local/lib/libicutest.so
/usr/local/lib/libicui18n.so.48   /usr/local/lib/libicutest.so.48
/usr/local/lib/libicui18n.so.48.1 /usr/local/lib/libicutest.so.48.1
/usr/local/lib/libicuio.so        /usr/local/lib/libicutu.so
/usr/local/lib/libicuio.so.48     /usr/local/lib/libicutu.so.48
/usr/local/lib/libicuio.so.48.1   /usr/local/lib/libicutu.so.48.1
/usr/local/lib/libicule.so        /usr/local/lib/libicuuc.so
/usr/local/lib/libicule.so.48     /usr/local/lib/libicuuc.so.48
/usr/local/lib/libicule.so.48.1   /usr/local/lib/libicuuc.so.48.1

I see the path is right, however it's not clear where the iculibs
are added in the SYSTEM_ICU case, and it's a mess to find
where it should be inserted.

cheers,

Pedro.

Mime
View raw message