Hello Yunfen,

> basctl error:
>  ...
> basctl.lib(dlged.obj) : error LNK2019: unresolved external symbol 
> "__declspec(dl
> limport) public: class SdrPaintWindow * __thiscall 
> SdrPaintView::BeginDrawLayers
> (class OutputDevice *,class Region const &)" ([EMAIL PROTECTED]
> w@@QAEPAVSdrPaintWindow@@PAVOutputDevice@@ABVRegion@@@Z) referenced in 
> function
> "private: long __thiscall DlgEditor::PaintTimeout(class Timer *)" 
> (?PaintTimeout
> @DlgEditor@@AAEJPAVTimer@@@Z)
> ../wntmsci10.pro/bin/basctl680mi.dll : fatal error LNK1120: 1 unresolved 
> externa

Okay, this means that in the method DlgEditor::PaintTimeout there is a
call to the method "SdrPaintView::BeginDrawLayers(OutputDevice*, Region
Const&)". At compile time, this method was found (else the file
containing DlgEditor would not have compiled), at link time, this method
wasn't found anymore.

SdrPaintWindow is declared in svx/inc/svx/svdpntv.hxx, as for instance
http://lxr.go-oo.org/ident?i=SdrPaintView could tell you. Looking into
this file shows there is a method "BeginDrawLayers(OutputDevice*, Region
const&, bool)", where the last parameter is defaulted, e.g. needs not to
be specified by the caller. Hmm. Interestingly, doing a "cvs diff -r
SRC680_m223 -r SRC680_m226 svdpntv.hxx" reveals that the last parameter
has been introduced somewhere between m223 and m226.

This means you still have an inconsistency in your source tree. You
either did not update the basctl module to m226, or (more likely to me)
you did update it, but did not remove the old output trees.

Please ensure that you really do a clean build:

- ensure *all* modules are updated to SRC680_m226, not only the ones
  you're interested in.

- ensure that the output trees in *all* modules (wntmsci10.pro or
  wntmsci10, depending on whether or not you specified the
  --enable-dbgutil switch when calling "configure") are completely
  removed before you start building.
  You can do so by doing
    find . -maxdepth 2 -name wntmsci10.pro | xargs rm -rf
  in your source root. This will find all output trees, and immediately
  remove them. (You might first want to do a
    find . -maxdepth 2 -name wntmsci10.pro
  only, to ensure the correct directories are found and removed)


I won't go into detail with the other errors, since there is no gain in
analyzing them until you have a clean source tree and a clean build.

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