I hope I will not annoy you with a resolved problem, but I also have this error, on Debian (testing with some sid and experimental)
Here the full log:
$ make -j 5
Making all in src
make[1]: entrant dans le répertoire « /home/berenger/prj/codeblocks/src »
Making all in include
make[2]: entrant dans le répertoire « /home/berenger/prj/codeblocks/src/include »
rm -f ../../src/include/sdk_precomp.h.gch
g++ -DHAVE_CONFIG_H -I/usr/local/lib/wx/include/gtk2-unicode-2.9 -I/usr/local/include/wx-2.9 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I../../src/include -I../../src/sdk/wxscintilla/include -I../../src/include/tinyxml -I../../src/include/scripting/include -I../../src/include/scripting/sqplus -I../../src/include/mozilla_chardet -Ulinux -Uunix -O2 -ffast-math -DCB_AUTOCONF -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -o ../../src/include/sdk_precomp.h.gch -xc++-header ./sdk_precomp.h
In file included from ./sdk_common.h:43:0,
from ./sdk_precomp.h:13:
./prep.h: In member function ‘ID::operator void*() const’:
./prep.h:333:45: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
In file included from ./sdk_common.h:136:0,
from ./sdk_precomp.h:13:
./toolsmanager.h: At global scope:
./toolsmanager.h:46:32: error: ‘ToolsList::Node’ has not been declared
make[2]: *** [../../src/include/sdk_precomp.h.gch] Erreur 1
make[2]: quittant le répertoire « /home/berenger/prj/codeblocks/src/include »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/berenger/prj/codeblocks/src »
make: *** [all-recursive] Erreur 1
I followed the instructions in BUILD file, and
http://wiki.codeblocks.org/index.php?title=Category:Installing_Code::Blocks_from_source (which are basically the same) for compilation.
To install dependencies, I simply have jens' repo in my sources.list, and used "aptitude build-dep codeblocks".
On debian, there is only one wxWidgets package for dev, and I do not know which compilation options were used. And I do not really want to play again with all the flags they use for compiling (had enough problems with a personal project, before trying to use jens' version of 1.9.4. Thanks a lot for your work jens.)
I also have to admit I did not investigate more than that, I only wanted to compile myself to confirm the closure of the crash issue on wxSmith as Danselmi asked me to do.
If there is a known solution, I suggest to update the BUILD instructions.