News:

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

Main Menu

rev 4649 doesn't build on linux

Started by killerbot, November 20, 2007, 11:29:01 PM

Previous topic - Next topic

pauliusz

rev 4673 introduced linker errors when compiling under windows:
Linking dynamic library: devel\codeblocks.dll
Creating library file: devel\libcodeblocks.a
.objs\base\tinyxml\tinywxuni.o: In function `ZN10NullLogger5ClearEv':
D:/Projektai/CodeBlocks/src/include/logger.h:(.text$_ZN11TiXmlString4quitEv[TiXmlString::quit()]+0xb): undefined reference to `TiXmlString::nullrep_'
D:/Projektai/CodeBlocks/src/include/logger.h:(.text$_ZN11TiXmlStringaSEPKc[TiXmlString::operator=(char const*)]+0x23): undefined reference to `TiXmlString::assign(char const*, unsigned int)'
D:/Projektai/CodeBlocks/src/include/logger.h:(.text$_ZN11TiXmlString4initEjj[TiXmlString::init(unsigned int, unsigned int)]+0x5b): undefined reference to `TiXmlString::nullrep_'
D:/Projektai/CodeBlocks/src/include/logger.h:(.text$_ZN11TiXmlStringC1Ev[TiXmlString::TiXmlString()]+0x8): undefined reference to `TiXmlString::nullrep_'
collect2: ld returned 1 exit status
Process terminated with status 1 (4 minutes, 28 seconds)
4 errors, 0 warnings

MortenMacFly

Quote from: pauliusz on November 26, 2007, 10:15:29 AM
rev 4673 introduced linker errors when compiling under windows:
Can't reproduce. Are you sure you are using up-to-date project files and tried to re-build the tinyxml target? Because there were some modifications recently that could cause the error.
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]

pauliusz

Quote from: MortenMacFly on November 26, 2007, 10:45:21 AM
Quote from: pauliusz on November 26, 2007, 10:15:29 AM
rev 4673 introduced linker errors when compiling under windows:
Can't reproduce. Are you sure you are using up-to-date project files and tried to re-build the tinyxml target? Because there were some modifications recently that could cause the error.

Project Rebuild fixed this problem... Looks like some changes were not noticed by C::B..?

MortenMacFly

Quote from: pauliusz on November 26, 2007, 12:42:18 PM
Project Rebuild fixed this problem... Looks like some changes were not noticed by C::B..?
Yes and no. We have removed the TIXML #define from the builds. This is not recognised on purpose by C::B. You need to do a re-build therefore.
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]