Author Topic: Nightly builds building problem on Debian etch  (Read 4899 times)

Offline DoMeN

  • Multiple posting newcomer
  • *
  • Posts: 66
Nightly builds building problem on Debian etch
« on: November 20, 2006, 12:34:33 pm »
Hi,

I'm trying to build code::blocks nightly builds svn rev. 3207 on Debian etch. I've been building it like it is writen in wiki so I first built and installed wxGTK an successfully run ./bootstrap code::blocks script. Then I set ./configure to point to the directory in my home dir and after that I ran make command. After about fiew minutes of building I got these errors:

Quote
cdb_commands.h: In member function 'virtual void CdbCmd_Backtrace::ParseOutput(const wxString&)':
cdb_commands.h:406: error: invalid conversion from 'long unsigned int*' to 'long int*'
cdb_commands.h:406: error:   initializing argument 1 of 'bool wxString::ToLong(long int*, int) const'
make[4]: *** [cdb_driver.lo] Error 1
make[4]: Leaving directory `/home/domenv/codeblocks_source/src/plugins/debuggergdb'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/domenv/codeblocks_source/src/plugins/debuggergdb'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/domenv/codeblocks_source/src/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/domenv/codeblocks_source/src'
make: *** [all-recursive] Error 1

Does annybody know why there is a problem in these section of code?

code on line 406:
Quote
reBT1.GetMatch(lines, 1).ToLong(&sf.number);

Offline afb

  • Developer
  • Lives here!
  • *****
  • Posts: 884
Re: Nightly builds building problem on Debian etch
« Reply #1 on: November 20, 2006, 01:36:42 pm »
Did you uninstall all old Code::Blocks versions before building ?
That field should have been declared OK in debugger_defs.h...

Offline DoMeN

  • Multiple posting newcomer
  • *
  • Posts: 66
Re: Nightly builds building problem on Debian etch
« Reply #2 on: November 20, 2006, 02:12:06 pm »
I didn't have code::blocks previously installed on this server and this is the first time that I'm trying to build them so I don't know if it is even possible build them on Debian etch or if there are problems and some code must be changed to prepair the c::b for building.

Could you please tell me which part of debugger_defs.h code is responsible for this.
« Last Edit: November 20, 2006, 02:14:10 pm by DoMeN »

Offline afb

  • Developer
  • Lives here!
  • *****
  • Posts: 884
Re: Nightly builds building problem on Debian etch
« Reply #3 on: November 20, 2006, 03:05:16 pm »
I think that is where the StackFrame struct is being declared ? (as in "sf.number")

Offline Game_Ender

  • Lives here!
  • ****
  • Posts: 551
Re: Nightly builds building problem on Debian etch
« Reply #4 on: November 20, 2006, 05:31:12 pm »
You should install wxGTK from the debian repositories not by hand (as long as the version is 2.6.x).  The wiki is quite bad in that regard, but if you read carefully it does tell you that.  I compile CB on Ubuntu 6.10 all the time so you shouldn't have much of a problem on Etch.