News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Build error in SVN 4953

Started by MP2E, March 14, 2008, 04:46:03 AM

Previous topic - Next topic

MP2E

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:
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....

stahta01

Patch to fix your errors above. For only windows build.

Tim S


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++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

MortenMacFly

Quote from: stahta01 on March 14, 2008, 06:57:23 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: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]