Author Topic: Several plugins broken after merging of wxScintilla branch into trunk  (Read 6174 times)

Offline ironhead

  • Almost regular
  • **
  • Posts: 210
I'm trying to compile SVN 5350 but I'm hitting a snag with several plugins:

Code
||=== BrowseTracker, default ===|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseTracker.o:BrowseTracker.cpp:(.text+0x38b3)||undefined reference to `_imp___ZNK11wxScintilla13GetMarginMaskEi'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseTracker.o:BrowseTracker.cpp:(.text+0x3926)||undefined reference to `_imp___ZN11wxScintilla12MarkerDefineEiiRK8wxColourS2_'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseTracker.o:BrowseTracker.cpp:(.text+0x4db1)||undefined reference to `_imp___ZNK11wxScintilla13GetCurrentPosEv'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseTracker.o:BrowseTracker.cpp:(.text+0x4dc8)||undefined reference to `_imp___ZNK11wxScintilla16LineFromPositionEi'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseTracker.o:BrowseTracker.cpp:(.text+0x4de4)||undefined reference to `_imp___ZNK11wxScintilla19GetFirstVisibleLineEv'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseTracker.o:BrowseTracker.cpp:(.text+0x4e00)||undefined reference to `_imp___ZNK11wxScintilla13LinesOnScreenEv'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseTracker.o:BrowseTracker.cpp:(.text+0x4e43)||undefined reference to `_imp___ZNK11wxScintilla16PositionFromLineEi'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseTracker.o:BrowseTracker.cpp:(.text+0x4e69)||undefined reference to `_imp___ZNK11wxScintilla16PositionFromLineEi'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseTracker.o:BrowseTracker.cpp:(.text+0x4e93)||undefined reference to `_imp___ZNK11wxScintilla12GetLineCountEv'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseTracker.o:BrowseTracker.cpp:(.text+0x4ea5)||undefined reference to `_imp___ZNK11wxScintilla16PositionFromLineEi'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseTracker.o:BrowseTracker.cpp:(.text+0x4ecb)||undefined reference to `_imp___ZNK11wxScintilla16PositionFromLineEi'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseTracker.o:BrowseTracker.cpp:(.text+0x4ef1)||undefined reference to `_imp___ZNK11wxScintilla10LineLengthEi'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseTracker.o:BrowseTracker.cpp:(.text+0x50f9)||undefined reference to `_imp___ZNK11wxScintilla13GetCurrentPosEv'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseTracker.o:BrowseTracker.cpp:(.text+0x51c3)||undefined reference to `_imp___ZNK11wxScintilla13GetCurrentPosEv'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseTracker.o:BrowseTracker.cpp:(.text+0x54d3)||undefined reference to `_imp___ZNK11wxScintilla16LineFromPositionEi'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseTracker.o:BrowseTracker.cpp:(.text+0x5664)||undefined reference to `_imp___ZNK11wxScintilla13GetCurrentPosEv'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseTracker.o:BrowseTracker.cpp:(.text+0x5763)||undefined reference to `_imp___ZNK11wxScintilla13GetCurrentPosEv'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseTracker.o:BrowseTracker.cpp:(.text+0x58d7)||undefined reference to `_imp___ZNK11wxScintilla13GetCurrentPosEv'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseTracker.o:BrowseTracker.cpp:(.text+0x5eff)||undefined reference to `_imp___ZNK11wxScintilla13GetCurrentPosEv'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseTracker.o:BrowseTracker.cpp:(.text+0x5ff8)||undefined reference to `_imp___ZNK11wxScintilla13GetCurrentPosEv'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseTracker.o:BrowseTracker.cpp:(.text+0x65a3)||undefined reference to `_imp___ZNK11wxScintilla16LineFromPositionEi'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseTracker.o:BrowseTracker.cpp:(.text+0x67b9)||undefined reference to `_imp___ZNK11wxScintilla16LineFromPositionEi'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseMarks.o:BrowseMarks.cpp:(.text+0x7fd)||undefined reference to `_imp___ZNK11wxScintilla16PositionFromLineEi'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseMarks.o:BrowseMarks.cpp:(.text+0x900)||undefined reference to `_imp___ZNK11wxScintilla16PositionFromLineEi'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseMarks.o:BrowseMarks.cpp:(.text+0xa2e)||undefined reference to `_imp___ZNK11wxScintilla16LineFromPositionEi'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseMarks.o:BrowseMarks.cpp:(.text+0xb06)||undefined reference to `_imp___ZNK11wxScintilla16LineFromPositionEi'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseMarks.o:BrowseMarks.cpp:(.text+0xbda)||undefined reference to `_imp___ZNK11wxScintilla16LineFromPositionEi'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseMarks.o:BrowseMarks.cpp:(.text+0xcc1)||undefined reference to `_imp___ZNK11wxScintilla16LineFromPositionEi'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseMarks.o:BrowseMarks.cpp:(.text+0xda5)||undefined reference to `_imp___ZNK11wxScintilla16PositionFromLineEi'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseMarks.o:BrowseMarks.cpp:(.text+0xeca)||undefined reference to `_imp___ZNK11wxScintilla16LineFromPositionEi'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseMarks.o:BrowseMarks.cpp:(.text+0x1038)||undefined reference to `_imp___ZNK11wxScintilla13GetMarginMaskEi'|
C:\source\codeblocks\src\.objs\plugins\contrib\BrowseTracker\BrowseMarks.o:BrowseMarks.cpp:(.text+0x10a6)||undefined reference to `_imp___ZN11wxScintilla12MarkerDefineEiiRK8wxColourS2_'|
||=== Build finished: 32 errors, 0 warnings ===|

||=== Koders Query, default ===|
..\..\..\.objs\plugins\contrib\cb_koders\cb_koders.o:C:\source\codeblocks\src\plugins\contrib\cb_koders\cb_koders.cpp|138|undefined reference to `_imp___ZNK11wxScintilla13GetCurrentPosEv'|
||=== Build finished: 1 errors, 0 warnings ===|

||=== Code Snippets, Plugin - Win32 ===|
ld.exe||cannot find -lwxflatnotebook|
||=== Build finished: 1 errors, 0 warnings ===|

etc....

Was something missed in the merge, or was there a fundemental change in some of the API calls?

Offline ironhead

  • Almost regular
  • **
  • Posts: 210
Re: Several plugins broken after merging of wxScintilla branch into trunk
« Reply #1 on: December 24, 2008, 09:51:09 pm »
On the second build attempt everything compiled cleanly...  dunno what happened the first time.

Sorry for the noise.


Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
Re: Several plugins broken after merging of wxScintilla branch into trunk
« Reply #2 on: December 24, 2008, 10:49:17 pm »
build on windows : OK (nightly build machine)
build on 64bit Linux : ok, only libIncrementalSearch didn't seem to rebuild correctly, because CB doesn't load it (different SDk version blablabla ...)

EDIT : for sure somethings wrong with the linux build.

I checked "/usr/local/share/codeblocks/plugins" : al*.la,*.so are from an older build (5th december), where as only the libIncrementalSearch.so/la is of today. 1 level higher all zip files are also from today. [Note : after svn update : make failed, so I did a make clean, make, make install].

Could this have something to do with the changes to makefile's and linux build strategy some revisions ago ???
« Last Edit: December 24, 2008, 10:55:38 pm by killerbot »

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Several plugins broken after merging of wxScintilla branch into trunk
« Reply #3 on: December 25, 2008, 01:18:11 am »
I checked "/usr/local/share/codeblocks/plugins" : al*.la,*.so are from an older build (5th december), where as only the libIncrementalSearch.so/la is of today. 1 level higher all zip files are also from today. [Note : after svn update : make failed, so I did a make clean, make, make install].

Although that's for Jens to check, I think he has made some changes in that branch and linux plugins are now being put where they belong (under usr/lib somewhere I believe).
Be patient!
This bug will be fixed soon...

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
Re: Several plugins broken after merging of wxScintilla branch into trunk
« Reply #4 on: December 25, 2008, 09:21:51 am »
ok, they are now in : /usr/local/lib/codeblocks/plugins

so that means, that "IncrementalSearch" plug-in does not obey the new rules !
It was also build in that new directory, but from 3 days ago (22 december).
It got broken in Rev 5348.
I fixed it's makefile.am : Rev 5352

EDIT : Rev 5353 :one further fix of another thing that got broken during the merge in the makefile.am.
« Last Edit: December 25, 2008, 09:27:12 am by killerbot »

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Several plugins broken after merging of wxScintilla branch into trunk
« Reply #5 on: December 25, 2008, 11:40:14 am »
It was all correct on my system (for all plugins) before the merge.

I will look over the new version and fix problems, if they are still there.