Author Topic: new cbkeybinder.cpp breaks build with automake ...  (Read 3242 times)

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
new cbkeybinder.cpp breaks build with automake ...
« on: December 29, 2007, 12:39:04 am »
dpkg-shlibdeps (debian build-tool) gives the following warnings:
dpkg-shlibdeps: warning: symbol _ZTV8MyDialog used by debian/codeblocks-contrib/usr/share/codeblocks/plugins/libkeybinder.so found in none of the libraries.
dpkg-shlibdeps: warning: symbol _ZTV11cbKeyBinder used by debian/codeblocks-contrib/usr/share/codeblocks/plugins/libkeybinder.so found in none of the libraries.


C::B can not load the plugin, message in Code::Blocks tab:
/usr/share/codeblocks/plugins/libkeybinder.so: not loaded (missing symbols?)

here's a patch, that fixes this issue:
Code
--- codeblocks-1.0svn.orig/src/plugins/contrib/keybinder/cbkeybinder.cpp        2007-12-28 14:58:46.000000000 +0100
+++ codeblocks-1.0svn.work/src/plugins/contrib/keybinder/cbkeybinder.cpp        2007-12-28 23:24:45.000000000 +0100
@@ -26,11 +26,11 @@
 #include "cbstyledtextctrl.h"

 #include "menuutils.h"
-#include "cbkeybinder.h"

 #if defined(__GNUG__) && !defined(__APPLE__)
        #pragma implementation "cbkeybinder.h"
 #endif
+#include "cbkeybinder.h"

 // ----------------------------------------------------------------------------
 wxString* pKeyFilename = 0;     // used by keybinder key definition dialog

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: new cbkeybinder.cpp breaks build with automake ...
« Reply #1 on: December 29, 2007, 12:48:59 am »
I just saw it got fixed in svn4762.

Post and fix have crossed each other.