News:

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

Main Menu

compiler error compiling c::b in c::b

Started by frithjofh, February 28, 2009, 09:51:38 PM

Previous topic - Next topic

frithjofh

hello everybody,

compiling c::b from a clean and "bootstrapped" svn directory using the provided c::b project file gives me the following error message:

I'll quit the first part because of the 20000 character limit of postings


-------------- Build: wxFlatNotebook in Code::Blocks - Unix ---------------

Compiling: sdk/wxFlatNotebook/src/wxFlatNotebook/fnb_customize_dlg.cpp
Compiling: sdk/wxFlatNotebook/src/wxFlatNotebook/fnb_resources.cpp
Compiling: sdk/wxFlatNotebook/src/wxFlatNotebook/popup_dlg.cpp
Compiling: sdk/wxFlatNotebook/src/wxFlatNotebook/renderer.cpp
Compiling: sdk/wxFlatNotebook/src/wxFlatNotebook/wxFlatNotebook.cpp
Compiling: sdk/wxFlatNotebook/src/wxFlatNotebook/xh_fnb.cpp
Linking static library: sdk/wxFlatNotebook/libwxflatnotebook.a
ar: creating sdk/wxFlatNotebook/libwxflatnotebook.a
Output size is 3,27 MB
Running target pre-build steps
build_tools/autorevision/auto_revision +wx +int +t . include/autorevision.h

-------------- Build: sdk in Code::Blocks - Unix ---------------

Precompiling header: include/sdk_precomp.h
Compiling: base/tinyxml/tinywxuni.cpp
Compiling: sdk/annoyingdialog.cpp
Compiling: sdk/autodetectcompilers.cpp
Compiling: sdk/base64.cpp
Compiling: sdk/blockallocated.cpp
Compiling: sdk/cbeditor.cpp
Compiling: sdk/cbeditorprintout.cpp
/home/fri/programmieren/cb_svn/trunk/src/sdk/cbeditor.cpp: In static member function 'static void cbEditor::InternalSetEditorStyleBeforeFileOpen(cbStyledTextCtrl*)':
/home/fri/programmieren/cb_svn/trunk/src/sdk/cbeditor.cpp:1141: warning: suggest parentheses around arithmetic in operand of |
Compiling: sdk/cbexception.cpp
Compiling: sdk/cbplugin.cpp
Compiling: sdk/cbproject.cpp
Compiling: sdk/cbstyledtextctrl.cpp
Compiling: sdk/cbthreadpool.cpp
Compiling: sdk/cbworkspace.cpp
Compiling: sdk/compileoptionsbase.cpp
Compiling: sdk/compiler.cpp
Compiling: sdk/compilercommandgenerator.cpp
Compiling: sdk/compilerfactory.cpp
Compiling: sdk/compileroptions.cpp
Compiling: sdk/compiletargetbase.cpp
Compiling: sdk/configmanager-revision.cpp
Compiling: sdk/configmanager.cpp
Compiling: sdk/configurationpanel.cpp
Compiling: sdk/configuretoolsdlg.cpp
Compiling: sdk/confirmreplacedlg.cpp
Compiling: sdk/crc32.cpp
Compiling: sdk/editarrayfiledlg.cpp
Compiling: sdk/editarrayorderdlg.cpp
Compiling: sdk/editarraystringdlg.cpp
Compiling: sdk/editkeywordsdlg.cpp
Compiling: sdk/editor_hooks.cpp
Compiling: sdk/editorbase.cpp
Compiling: sdk/editorcolourset.cpp
Compiling: sdk/editorconfigurationdlg.cpp
Compiling: sdk/editorlexerloader.cpp
Compiling: sdk/editormanager.cpp
Compiling: sdk/editpairdlg.cpp
Compiling: sdk/editpathdlg.cpp
Compiling: sdk/edittooldlg.cpp
Compiling: sdk/encodingdetector.cpp
Compiling: sdk/externaldepsdlg.cpp
Compiling: sdk/filefilters.cpp
Compiling: sdk/filegroupsandmasks.cpp
Compiling: sdk/filemanager.cpp
Compiling: sdk/finddlg.cpp
Compiling: sdk/genericmultilinenotesdlg.cpp
Compiling: sdk/globals.cpp
Compiling: sdk/importers_globals.cpp
Compiling: sdk/incrementalselectlistdlg.cpp
Compiling: sdk/infowindow.cpp
Compiling: sdk/loggers.cpp
Compiling: sdk/logmanager.cpp
Compiling: sdk/macrosmanager.cpp
Compiling: sdk/managedthread.cpp
Compiling: sdk/manager.cpp
Compiling: sdk/menuitemsmanager.cpp
Compiling: sdk/multiselectdlg.cpp
Compiling: sdk/newfromtemplatedlg.cpp
Compiling: sdk/nullptr.cpp
Compiling: sdk/personalitymanager.cpp
Compiling: sdk/pipedprocess.cpp
Compiling: sdk/pluginmanager.cpp
Compiling: sdk/pluginsconfigurationdlg.cpp
Compiling: sdk/printing_types.cpp
Compiling: sdk/projectbuildtarget.cpp
Compiling: sdk/projectdepsdlg.cpp
Compiling: sdk/projectfile.cpp
Compiling: sdk/projectfileoptionsdlg.cpp
Compiling: sdk/projectlayoutloader.cpp
Compiling: sdk/projectloader.cpp
Compiling: sdk/projectloader_hooks.cpp
Compiling: sdk/projectmanager.cpp
Compiling: sdk/projectoptionsdlg.cpp
Compiling: sdk/projectsfilemasksdlg.cpp
Compiling: sdk/projecttemplateloader.cpp
Compiling: sdk/replacedlg.cpp
Compiling: sdk/scripting/bindings/sc_consts.cpp
Compiling: sdk/scripting/bindings/sc_dialog.cpp
Compiling: sdk/scripting/bindings/sc_globals.cpp
Compiling: sdk/scripting/bindings/sc_io.cpp
Compiling: sdk/scripting/bindings/sc_plugin.cpp
Compiling: sdk/scripting/bindings/sc_progress.cpp
Compiling: sdk/scripting/bindings/sc_util_dialogs.cpp
Compiling: sdk/scripting/bindings/sc_wxtypes.cpp
Compiling: sdk/scripting/bindings/scriptbindings.cpp
Compiling: sdk/scriptingmanager.cpp
Compiling: sdk/scriptsecuritywarningdlg.cpp
Compiling: sdk/sdk_events.cpp
Compiling: sdk/searchresultslog.cpp
Compiling: sdk/selecttargetdlg.cpp
Compiling: sdk/templatemanager.cpp
Compiling: sdk/toolsmanager.cpp
Compiling: sdk/uservarmanager.cpp
Compiling: sdk/virtualbuildtargetsdlg.cpp
Compiling: sdk/workspaceloader.cpp
Compiling: sdk/xtra_res.cpp
Linking dynamic library: devel/libcodeblocks.so
Output size is 24,85 MB

-------------- Build: wxAUI in Code::Blocks - Unix ---------------

Compiling: src/wxAUI/manager.cpp
Linking static library: src/wxAUI/libwxaui.a
ar: creating src/wxAUI/libwxaui.a
Output size is 222,90 KB

-------------- Build: src in Code::Blocks - Unix ---------------

Compiling: src/app.cpp
Compiling: src/appglobals.cpp
Compiling: src/compilersettingsdlg.cpp
Compiling: src/crashhandler.cpp
Compiling: src/dlgabout.cpp
Compiling: src/dlgaboutplugin.cpp
Compiling: src/environmentsettingsdlg.cpp
Compiling: src/infopane.cpp
Compiling: src/ipc.cpp
In file included from /home/fri/programmieren/cb_svn/trunk/src/include/sdk_common.h:7,
                from /home/fri/programmieren/cb_svn/trunk/src/include/sdk_precomp.h:10:
cc1plus: internal compiler error: Speicherzugriffsfehler
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.opensuse.org/> for instructions.
Process terminated with status 1 (1 minutes, 31 seconds)
0 errors, 26 warnings

Process terminated with status 0 (1 minutes, 33 seconds)
0 errors, 26 warnings



is this some error in the source or am I doing something wrong?

any help appreciated

regards

nausea
architect with some spare time  -  c::b compiled from last svn  -   openSuSE leap x86_64  -  AMD FX-4100

Jenna

It's most likely a compiler error.
I get the same error when compiling C::B from inside C::B with gcc 4.3.

Just remove "ipc.cpp" from sources, the file is not used at all.

frithjofh

Ok, now it worked, many thanks...

just a question be allowed: why is this file there in the first place?

regards

nausea
architect with some spare time  -  c::b compiled from last svn  -   openSuSE leap x86_64  -  AMD FX-4100

frithjofh

Hello,

ok, now it really seems to work, but if I start c::b in c::b it does start alright, but it only finds its lexers under the /devel/ directory. the plugins it keeps searching under my home directory and doesn't find anything, quite natural, because there are no plugins there.

now I tried giving the command line option --prefix= set to the /devel/ in the src target and see what will happen: same thing.

if I start c::b under /devel/ in console giving it the same --prefix option then c::b starts and finds its plugins under /devel/share/codeblocks

I am still missing something, right?

appreciating every help

regards

nausea
architect with some spare time  -  c::b compiled from last svn  -   openSuSE leap x86_64  -  AMD FX-4100

frithjofh

#4
OK, shame on me ...

and I bragged having read everything I could find about the problem and the one file I did NOT read was BUILD in the svn directory  :oops:

everything is nicely explained there and after reading it I launched c::b and really everything works as expected.

I was already wondering about the silence I harvested for my postings, but now it very obvious to me  :oops:

I want to apologize for my really big ignorance and anyway, thanks for the help. You not giving me any answers made me suspect, that the problem was very far on my side only and the solution quite simple ... so in fact, you got me on track without saying even anything  :wink:

I made an addition in the wiki under installing code::blocks from source, perhaps it helps someone who happens to have the head bricked in like I did.

thanks greatings from asturias

nausea
architect with some spare time  -  c::b compiled from last svn  -   openSuSE leap x86_64  -  AMD FX-4100