Author Topic: Cannot compile R2706 under SuSE Linux 9.3 (AMD64)  (Read 13865 times)

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9617
Re: Cannot compile R2706 under SuSE Linux 9.3 (AMD64)
« Reply #15 on: July 07, 2006, 04:59:35 pm »
...oh dear oh dear... I'm still here... this is annoying. but I'm getting closer and closer... be prepared... ;-)

Edit: mandrav: If you read this: Could you wait with further commits until I finished this? I won't do it all again... :lol:
« Last Edit: July 07, 2006, 05:02:49 pm by MortenMacFly »
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Cannot compile R2706 under SuSE Linux 9.3 (AMD64)
« Reply #16 on: July 07, 2006, 05:04:54 pm »
You might want to update first. I commited a huge patch (cleaning up #includes in SDK). :)
Your change in src/sdk/compilerfactory.h broke src/plugins/projectwizard/wiz.cpp as it now doesn't have a declaration of the type 'Compiler' any more. This patch solves this problem:

I know some things broke. Morten is working on this right now.
Be patient!
This bug will be fixed soon...

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Cannot compile R2706 under SuSE Linux 9.3 (AMD64)
« Reply #17 on: July 07, 2006, 05:05:50 pm »
Edit: mandrav: If you read this: Could you wait with further commits until I finished this? I won't do it all again... :lol:

Oh no!
* mandrav pretends he didn't read this  :lol:
Be patient!
This bug will be fixed soon...

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9617
Re: Cannot compile R2706 under SuSE Linux 9.3 (AMD64)
« Reply #18 on: July 07, 2006, 05:15:17 pm »
Oh no!
* mandrav pretends he didn't read this  :lol:
Well, this time it was no conflicts *phew!*. Anyway, I've decided to split this commit into sub-parts... the first one is already over, on Linux the libcodeblocks.a compiles again... more to come...
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9617
Re: Cannot compile R2706 under SuSE Linux 9.3 (AMD64)
« Reply #19 on: July 07, 2006, 05:23:36 pm »
Well, here I need a little help:
I receive the following error:
Code
scriptconsole.cpp: In function `void ScriptConsolePrintFunc(SQVM*, const 
   SQChar*, ...)':
scriptconsole.cpp:26: error: `InjectScriptOutput' undeclared (first use this
   function)
scriptconsole.cpp:26: error: (Each undeclared identifier is reported only once
   for each function it appears in.)
scriptconsole.cpp: In member function `void
   ScriptConsole::OnbtnExecuteClick(wxCommandEvent&)':
scriptconsole.cpp:113: error: `LoadBuffer' undeclared (first use this function)
scriptconsole.cpp:116: error: `GetErrorString' undeclared (first use this
   function)
scriptconsole.cpp: In member function `void
   ScriptConsole::OnbtnLoadClick(wxCommandEvent&)':
scriptconsole.cpp:132: error: `LoadScript' undeclared (first use this function)
scriptconsole.cpp:139: error: `GetErrorString' undeclared (first use this
   function)
make[3]: *** [scriptconsole.o] Error 1
make[3]: Leaving directory `/home/ftmh/projects/codeblocks/src/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/ftmh/projects/codeblocks/src/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ftmh/projects/codeblocks/src'
make: *** [all-recursive] Error 1
...allthouh I have defined:
Code
#ifndef CB_PRECOMP
    #include <globals.h>
    #include <manager.h>
    #include <configmanager.h>
    #include <scriptingmanager.h>
#endif
...any hints?!
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9617
Re: Cannot compile R2706 under SuSE Linux 9.3 (AMD64)
« Reply #20 on: July 07, 2006, 05:31:53 pm »
...any hints?!
...forget about this one. I was editing the wrong file. :?
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9617
Re: Cannot compile R2706 under SuSE Linux 9.3 (AMD64)
« Reply #21 on: July 07, 2006, 06:21:48 pm »
OK, I'm done - all is in SVN. C::B compiles again fully with a compiler without PCH support. I cannot do intensive testing, however - normally these changes shouldn't do any harm.
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline TheTuxKeeper

  • Regular
  • ***
  • Posts: 293
  • daniel2000
Re: Cannot compile R2706 under SuSE Linux 9.3 (AMD64)
« Reply #22 on: July 07, 2006, 07:48:55 pm »
I've still an error. But it only appears if I don't use pch and as it compiles on suse 9.3 it seems to be a gcc4 related error (the error message also say something is deprecated). I'll start a new thread for this when I have a complete error log.

@MortenMacFly: Thanks for fixing the other errors :D
Nightly builds for openSUSE