Author Topic: Problem compiling SVN revision 4498  (Read 4369 times)

Offline branleb

  • Multiple posting newcomer
  • *
  • Posts: 16
Problem compiling SVN revision 4498
« on: September 28, 2007, 04:30:42 pm »
Hi
I use Gentoo, so I fetched an ebuild for codeblocks, that uses the codeblcoks svn sources
Code
 *      repository: svn://svn.berlios.de/codeblocks/trunk
Revision 4498.
 *    working copy: /usr/portage/distfiles/svn-src/codeblocks-9999/trunk

But i get this error:
Code
 i486-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I../../../src/include/wxscintilla/include -I../../../src/include -I../../../src/include/tinyxml -Ulinux -Uunix -O2 -ffast-math -O2 -mtune=i686 -pipe -fno-strict-aliasing -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT tinywxuni.lo -MD -MP -MF .deps/tinywxuni.Tpo -c tinywxuni.cpp  -fPIC -DPIC -o .libs/tinywxuni.o
../../../src/include/toolsmanager.h:41: error: 'class ToolsList::Node' has not been declared
make[3]: *** [tinywxuni.lo] Fehler 1
make[3]: Leaving directory `/var/tmp/portage/dev-util/codeblocks-9999-r17/work/codeblocks-9999/src/base/tinyxml'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/dev-util/codeblocks-9999-r17/work/codeblocks-9999/src/base'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/dev-util/codeblocks-9999-r17/work/codeblocks-9999/src'
make: *** [all-recursive] Fehler 1
I got this error also with rev. 4491 witch worked for the Nightly ...

So can someone help me?

the configure command ....
Code
/configure --prefix=/usr --host=i486-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-wx-config=/usr/lib/wx/config/gtk2-unicode-release-2.8 --enable-dependency-tracking --enable-contrib --enable-unicode --disable-xrc --disable-monolithic --disable-debug --disable-static --with-contrib-plugins=all --build=i486-pc-linux-gnu


Don't hate the Hacker. Hate the Code!

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Problem compiling SVN revision 4498
« Reply #1 on: September 28, 2007, 04:39:52 pm »
"xtra_classes.h" is missing. look here

Offline branleb

  • Multiple posting newcomer
  • *
  • Posts: 16
Re: Problem compiling SVN revision 4498
« Reply #2 on: September 28, 2007, 05:17:46 pm »
No. that don't solves the problem.
The same error occurs with rev. 4499
Don't hate the Hacker. Hate the Code!

Offline branleb

  • Multiple posting newcomer
  • *
  • Posts: 16
Re: Problem compiling SVN revision 4498
« Reply #3 on: September 28, 2007, 05:39:02 pm »
I looked into the code and it seems to me taht something
with thisline in src/include/toolsmanaher.h is wrong
Code
WX_DECLARE_LIST(cdTool, ToolsList);
Additinally, I didn'T find a member "node" in class cbTool at src/include/cbtool.h

Whats wrong with that ?
Don't hate the Hacker. Hate the Code!