News:

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

Main Menu

Cannot compile R2706 under SuSE Linux 9.3 (AMD64)

Started by MortenMacFly, July 07, 2006, 01:15:27 PM

Previous topic - Next topic

MortenMacFly

#15
...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:
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]

mandrav

Quote from: Der Meister on July 07, 2006, 04:52:26 PM
Quote from: mandrav on July 07, 2006, 03:32:36 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...

mandrav

Quote from: MortenMacFly on July 07, 2006, 04:59:35 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...

MortenMacFly

Quote from: mandrav on July 07, 2006, 05:05:50 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: [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]

MortenMacFly

Well, here I need a little help:
I receive the following error:

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:

#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: [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]

MortenMacFly

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]

MortenMacFly

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: [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]

TheTuxKeeper

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