Hello Yunfen,

> First of all, Than you very much for the advice.
> In this past week , I had re-build m226 all, but the same error is
> sill there, so I re-download the modules occured errors at compile
> time, svx,dbaccess and reportdesign of m226, But, the thing was sill
> not smooth. There has been a new link error in reportdesign.
> 
> rptui.lib(ReportSection.obj) : error LNK2019: unresolved external symbol 
> "__dec
> spec(dllimport) public: class SdrPaintWindow * __thiscall 
> SdrPaintView::BeginDr
> wLayers(class OutputDevice *,class Region const &)" ([EMAIL PROTECTED]
> aintView@@QAEPAVSdrPaintWindow@@PAVOutputDevice@@ABVRegion@@@Z) referenced in 
> f
> nction "protected: virtual void __thiscall rptui::OReportSection::Paint(class 
> R
> ctangle const &)" ([EMAIL PROTECTED]@rptui@@MAEXABVRectangle@@@Z)
> ../wntmsci10.pro/bin/rptui680mi.dll : fatal error LNK1120: 1 unresolved 
> externa
> s
> dmake:  Error code 2, while making '../wntmsci10.pro/bin/rptui680mi.dll'
> ---* tg_merge.mk *---
> 
> ERROR: Error 65280 occurred while making 
> /cygdrive/j/src680_m226/reportdesign/u
> il

Did you remove the output trees from the previous builds (wntmsci10.pro
in all modules) after you updated the source? If not, you should
definitely do this. Also, I assume you did a "build --all" in
instsetoo_native? In case you just did a "build" in all involved
modules, you need to make sure to *not* forget to do an additional
"deliver" in each built module before you go on to the next one.


Other than that - an often-used, well, trick on windows when you
encounter unresolved externals: delete the .def files (in fact I use
this so often I even have a small tool for this :).

In your case, this means you should
- delete svx/wntmsci10.pro/misc/*.def
- re-build svx
- deliver svx
- delete reportdesign/wntmsci10.pro/misc/*.def
- re-build reportdesign

.def files contain symbol definitions, and sometimes, when a signature
of a method in one module changed, the auto-generated .def file from
before that change is used to link the library (SVX, in your case).
Other modules using this library (reportdesign, in your case) then might
report unresolved external symbols.
Or, well, something like this - I would lie if I said I ever
*completely* understood the mystery of .def files ...

Anyway, please try whether this helps - does it?

Ciao
Frank

-- 
- Frank Schönheit, Software Engineer         [EMAIL PROTECTED] -
- Sun Microsystems                      http://www.sun.com/staroffice -
- OpenOffice.org Base                       http://dba.openoffice.org -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to