incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Armin Le Grand <>
Subject Re: ParagraphData copy constructor not found
Date Thu, 05 Apr 2012 10:06:32 GMT
On 05.04.2012 11:29, Jean-Louis 'Hans' Fuchs wrote:
> Hello
> I get an undefined symbol error for "ParagraphData::ParagraphData(const ParagraphData&)".
I checked that the library is included, that the symbol is there and that it
really demangles to the signature. See below.
> Has anybody an idea what I could try next?
> Is it possible to disable that module? Since this is a debug build that I need soon and
in the release build this doesn't happen.

ParagraphData is not used in dlgedfunc.cxx (in reportdesigner), it is 
also not exported from libediteng (see paragraphdata.hxx). Seems to be a 
solaris compiler thingy; somehow (maybe includes and inlines) he wants 
that constructor.

ParagraphData is not used outside editengine module, thus it is okay not 
to export it (each single export makes the startup slower, thus this was 
optimized once). If you find no solution, you may add EDITENG_DLLPUBLIC 
to the ParagraphData definition in paragraphdata.hxx, rebuild and 
deliver editeng module and try again.

Should look like this:

class EDITENG_DLLPUBLIC ParagraphData

Please do not check this in, it's only a workarund.



> Best,
> 	Jean
> oobuild@sundev: ~/aoo-build-debug/ooo/main/reportdesign/unxsols4 $ /opt/solarisstudio12.3//bin/CC
-w -mt -z combreloc -PIC -temp=/tmp -norunpath -library=no%Cstd -R'$ORIGIN:$ORIGIN/../ure-link/lib'
-z text -G -Bdirect -z defs -M ../unxsols4/misc/ -L../unxsols4/lib -L../lib
-L/build/aoo-build-debug/ooo/main/solenv/unxsols4/lib -L/build/aoo-build-debug/ooo/main/solver/340/unxsols4/lib
-L/build/aoo-build-debug/ooo/main/solenv/unxsols4/lib -L/build/aoo-build-debug/ooo/main/solenv/unxsols4/libsolaris.2.6
-L/lib -L/usr/lib -L/usr/local/lib -L/usr/dt/lib -L/usr/openwin/lib -L/usr/jdk/instances/jdk1.6.0/lib
-L/usr/jdk/instances/jdk1.6.0/jre/lib/sparc -L/usr/jdk/instances/jdk1.6.0/jre/lib/sparc/xawt
-L/usr/jdk/instances/jdk1.6.0/jre/lib/sparc/native_threads -L/usr/X11/lib ../unxsols4/slo/rptui_version.o
-o ../unxsols4/lib/ ../unxsols4/slo/RptUndo.o ../unxsols4/slo/ColorListener.o ../unxsols4/slo/UITools.o
../unxsols4/slo/rptuiservices.o ../unxsols4/slo/toolbox
controller.o ../unxsols4/slo/statusbarcontroller.o ../unxsols4/slo/FunctionHelper.o ../unxsols4/slo/dlgpage.o
../unxsols4/slo/Condition.o ../unxsols4/slo/CondFormat.o ../unxsols4/slo/GroupExchange.o ../unxsols4/slo/PageNumber.o
../unxsols4/slo/DateTime.o ../unxsols4/slo/AddField.o ../unxsols4/slo/Navigator.o ../unxsols4/slo/GroupsSorting.o
../unxsols4/slo/Formula.o ../unxsols4/slo/uistrings.o ../unxsols4/slo/DefaultInspection.o
../unxsols4/slo/ReportComponentHandler.o ../unxsols4/slo/GeometryHandler.o ../unxsols4/slo/DataProviderHandler.o
../unxsols4/slo/metadata.o ../unxsols4/slo/SectionWindow.o ../unxsols4/slo/ReportController.o
../unxsols4/slo/ReportControllerObserver.o ../unxsols4/slo/FormattedFieldBeautifier.o ../unxsols4/slo/FixedTextColor.o
../unxsols4/slo/ReportSection.o ../unxsols4/slo/SectionView.o ../unxsols4/slo/ViewsWindow.o
../unxsols4/slo/ScrollHelper.o ../unxsols4/slo/StartMarker.o ../unxsols4/slo/EndMarker.o ../unxsols4/slo/dlgedfunc.o
../unxsols4/slo/dlgedfac.o ../u
nxsols4/slo/dlgedclip.o ../unxsols4/slo/ReportWindow.o ../unxsols4/slo/DesignView.o ../unxsols4/slo/propbrw.o
-lediteng -lsvxcore -lsvx -lsfx -lsvt -ltk -lvcl -lsvl -lsot -lutl -ltl -ldbtools -lcomphelpC52
-luno_cppuhelperC52 -luno_cppu -lfwe -li18nisolang1C52 -luno_sal -ldbu -lrpt -lfor -lforui
-Bdynamic -lpthread -lCrun -lm -lc -Bdynamic -lstlport_sunpro_debug
> Undefined                       first referenced
>   symbol                             in file
> ParagraphData::ParagraphData(const ParagraphData&)        ../unxsols4/slo/dlgedfunc.o
> ld: fatal: symbol referencing errors. No output written to ../unxsols4/lib/
> oobuild@sundev: ~/aoo-build-debug/ooo/main/reportdesign/unxsols4 $
> oobuild@sundev: ~/aoo-build-debug/ooo/main/reportdesign/unxsols4 $ nm ../unxsols4/slo/dlgedfunc.o
| grep ParagraphData | grep UNDEF
> [772]   |         0|         0|FUNC |GLOB |0    |UNDEF  |__1cNParagraphData2t6Mrk0_v_
> oobuild@sundev: ~/aoo-build-debug/ooo/main/reportdesign/unxsols4 $ nm /build/aoo-build-debug/ooo/main/solver/340/unxsols4/lib/
| grep __1cNParagraphData2t6Mrk0_v_
> [1584]  |   1875448|        28|FUNC |LOCL |2    |11     |__1cNParagraphData2t6Mrk0_v_
> oobuild@sundev: ~/aoo-build-debug/ooo/main/reportdesign/unxsols4 $ echo __1cNParagraphData2t6Mrk0_v_
| /build/aoo-build-debug/demangle/demangle
> ParagraphData::ParagraphData(const ParagraphData&)

View raw message