Author Topic: Build error in SVN 4953  (Read 4943 times)

Offline MP2E

  • Multiple posting newcomer
  • *
  • Posts: 10
Build error in SVN 4953
« on: March 14, 2008, 04:46:03 am »
Well First of all, I have been building Code::Blocks SVN every night without any issues, however this one obviously doesn't like me... At first I thought my SVN repository got patched wrong somewhere and so I rechecked out everything... However that does not fix this error:
Code
Linking dynamic library: devel\wxscintilla.dll
.objs\sdk\wxscintilla\src\scintilla\src\Document.o:C:/codeblocks-src/src/sdk/wxscintilla/src/scintilla/src/Document.cxx:1273: undefined reference to `CharClassify::SetCharClasses(unsigned char const*, CharClassify::cc)'
Creating library file: devel\libwxscintilla.a
.objs\sdk\wxscintilla\src\scintilla\src\Document.o:C:/codeblocks-src/src/sdk/wxscintilla/src/scintilla/src/Document.cxx:1269: undefined reference to `CharClassify::SetDefaultCharClasses(bool)'
.objs\sdk\wxscintilla\src\scintilla\src\Document.o: In function `Document':
C:/codeblocks-src/src/sdk/wxscintilla/src/scintilla/src/Document.cxx:43: undefined reference to `CharClassify::CharClassify()'
C:/codeblocks-src/src/sdk/wxscintilla/src/scintilla/src/Document.cxx:43: undefined reference to `CharClassify::CharClassify()'
.objs\sdk\wxscintilla\src\scintilla\src\KeyWords.o: In function `Z20Scintilla_LinkLexersv':
C:/codeblocks-src/src/sdk/wxscintilla/src/scintilla/src/KeyWords.cxx:174: undefined reference to `lmInno'
C:/codeblocks-src/src/sdk/wxscintilla/src/scintilla/src/KeyWords.cxx:190: undefined reference to `lmOpal'
C:/codeblocks-src/src/sdk/wxscintilla/src/scintilla/src/KeyWords.cxx:206: undefined reference to `lmSpice'
C:/codeblocks-src/src/sdk/wxscintilla/src/scintilla/src/KeyWords.cxx:209: undefined reference to `lmTCL'
collect2: ld returned 1 exit status
Process terminated with status 1 (2 minutes, 42 seconds)
8 errors, 7 warnings
I'm using GCC 4.2.1-dw2 with MinGW and the latest version of pretty much everything. I haven't had any errors before, And I'm compiling WxWidgets in Unicode and exactly as said in the wiki. WxWidgets isn't the problem anyway... I'm thinking this is a source code error....

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7786
    • My Best Post
Re: Build error in SVN 4953
« Reply #1 on: March 14, 2008, 06:57:23 am »
Patch to fix your errors above. For only windows build.

Tim S

Code
Index: src/CodeBlocks.cbp
===================================================================
--- src/CodeBlocks.cbp (revision 4953)
+++ src/CodeBlocks.cbp (working copy)
@@ -3667,6 +3667,12 @@
  <Unit filename="sdk\wxscintilla\src\scintilla\src\CellBuffer.h">
  <Option target="scintilla" />
  </Unit>
+ <Unit filename="sdk\wxscintilla\src\scintilla\src\CharClassify.cxx">
+ <Option target="scintilla" />
+ </Unit>
+ <Unit filename="sdk\wxscintilla\src\scintilla\src\CharClassify.h">
+ <Option target="scintilla" />
+ </Unit>
  <Unit filename="sdk\wxscintilla\src\scintilla\src\ContractionState.cxx">
  <Option target="scintilla" />
  </Unit>
@@ -3790,6 +3796,9 @@
  <Unit filename="sdk\wxscintilla\src\scintilla\src\LexHaskell.cxx">
  <Option target="scintilla" />
  </Unit>
+ <Unit filename="sdk\wxscintilla\src\scintilla\src\LexInno.cxx">
+ <Option target="scintilla" />
+ </Unit>
  <Unit filename="sdk\wxscintilla\src\scintilla\src\LexKix.cxx">
  <Option target="scintilla" />
  </Unit>
@@ -3820,6 +3829,9 @@
  <Unit filename="sdk\wxscintilla\src\scintilla\src\LexNsis.cxx">
  <Option target="scintilla" />
  </Unit>
+ <Unit filename="sdk\wxscintilla\src\scintilla\src\LexOpal.cxx">
+ <Option target="scintilla" />
+ </Unit>
  <Unit filename="sdk\wxscintilla\src\scintilla\src\LexOthers.cxx">
  <Option target="scintilla" />
  </Unit>
@@ -3859,9 +3871,15 @@
  <Unit filename="sdk\wxscintilla\src\scintilla\src\LexSpecman.cxx">
  <Option target="scintilla" />
  </Unit>
+ <Unit filename="sdk\wxscintilla\src\scintilla\src\LexSpice.cxx">
+ <Option target="scintilla" />
+ </Unit>
  <Unit filename="sdk\wxscintilla\src\scintilla\src\LexTADS3.cxx">
  <Option target="scintilla" />
  </Unit>
+ <Unit filename="sdk\wxscintilla\src\scintilla\src\LexTCL.cxx">
+ <Option target="scintilla" />
+ </Unit>
  <Unit filename="sdk\wxscintilla\src\scintilla\src\LexTeX.cxx">
  <Option target="scintilla" />
  </Unit>
C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: Build error in SVN 4953
« Reply #2 on: March 14, 2008, 09:04:55 am »
Patch to fix your errors above. For only windows build.
Yepp... this one I had forgotten... Ooops. ;-)
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ