Author Topic: linux compile error  (Read 4281 times)

Offline Jayden

  • Single posting newcomer
  • *
  • Posts: 3
linux compile error
« on: September 25, 2005, 04:39:11 pm »
When i try to compile I get the following error:

make -f Makefile.unix
Calculating dependencies for sdk/tinyxml/tinystr.cpp...
Calculating dependencies for sdk/tinyxml/tinyxml.cpp...
Calculating dependencies for sdk/tinyxml/tinyxmlerror.cpp...
Calculating dependencies for sdk/tinyxml/tinyxmlparser.cpp...
Compiling sdk/tinyxml/tinystr.cpp...
Compiling sdk/tinyxml/tinyxml.cpp...
Compiling sdk/tinyxml/tinyxmlerror.cpp...
Compiling sdk/tinyxml/tinyxmlparser.cpp...
Linking static library sdk/tinyxml/libtxml.a...
ar: creating sdk/tinyxml/libtxml.a
ranlib sdk/tinyxml/libtxml.a
Calculating dependencies for sdk/Managers/Managers.cpp...
Calculating dependencies for sdk/Managers/StdAfx.cpp...
Calculating dependencies for sdk/autodetectcompilers.cpp...
Calculating dependencies for sdk/cbeditor.cpp...
Calculating dependencies for sdk/cbeditorprintout.cpp...
Calculating dependencies for sdk/cbplugin.cpp...
Calculating dependencies for sdk/cbproject.cpp...
Calculating dependencies for sdk/cbworkspace.cpp...
Calculating dependencies for sdk/compileoptionsbase.cpp...
Calculating dependencies for sdk/compiler.cpp...
Calculating dependencies for sdk/compilerfactory.cpp...
Calculating dependencies for sdk/compileroptions.cpp...
Calculating dependencies for sdk/compiletargetbase.cpp...
Calculating dependencies for sdk/configmanager.cpp...
Calculating dependencies for sdk/configuretoolsdlg.cpp...
Calculating dependencies for sdk/confirmreplacedlg.cpp...
Calculating dependencies for sdk/customvars.cpp...
Calculating dependencies for sdk/devcpploader.cpp...
Calculating dependencies for sdk/editarrayfiledlg.cpp...
Calculating dependencies for sdk/editarrayorderdlg.cpp...
Calculating dependencies for sdk/editarraystringdlg.cpp...
Calculating dependencies for sdk/editorbase.cpp...
Calculating dependencies for sdk/editorcolorset.cpp...
Calculating dependencies for sdk/editorconfigurationdlg.cpp...
Calculating dependencies for sdk/editorlexerloader.cpp...
Calculating dependencies for sdk/editormanager.cpp...
Calculating dependencies for sdk/editpathdlg.cpp...
Calculating dependencies for sdk/edittooldlg.cpp...
Calculating dependencies for sdk/externaldepsdlg.cpp...
Calculating dependencies for sdk/filegroupsandmasks.cpp...
Calculating dependencies for sdk/finddlg.cpp...
Calculating dependencies for sdk/globals.cpp...
Calculating dependencies for sdk/importers_globals.cpp...
Calculating dependencies for sdk/incrementalselectlistdlg.cpp...
Calculating dependencies for sdk/macrosmanager.cpp...
Calculating dependencies for sdk/managedthread.cpp...
Calculating dependencies for sdk/manager.cpp...
Calculating dependencies for sdk/menuitemsmanager.cpp...
Calculating dependencies for sdk/messagelog.cpp...
Calculating dependencies for sdk/messagemanager.cpp...
Calculating dependencies for sdk/msvc7loader.cpp...
Calculating dependencies for sdk/msvc7workspaceloader.cpp...
Calculating dependencies for sdk/msvcloader.cpp...
Calculating dependencies for sdk/msvcworkspaceloader.cpp...
Calculating dependencies for sdk/multiselectdlg.cpp...
Calculating dependencies for sdk/newfromtemplatedlg.cpp...
Calculating dependencies for sdk/personalitymanager.cpp...
Calculating dependencies for sdk/pipedprocess.cpp...
Calculating dependencies for sdk/pluginmanager.cpp...
Calculating dependencies for sdk/pluginsconfigurationdlg.cpp...
Calculating dependencies for sdk/printing_types.cpp...
Calculating dependencies for sdk/projectbuildtarget.cpp...
Calculating dependencies for sdk/projectfileoptionsdlg.cpp...
Calculating dependencies for sdk/projectlayoutloader.cpp...
Calculating dependencies for sdk/projectloader.cpp...
Calculating dependencies for sdk/projectmanager.cpp...
Calculating dependencies for sdk/projectoptionsdlg.cpp...
Calculating dependencies for sdk/projectsfilemasksdlg.cpp...
Calculating dependencies for sdk/projecttemplateloader.cpp...
Calculating dependencies for sdk/replacedlg.cpp...
Calculating dependencies for sdk/sdk_events.cpp...
Calculating dependencies for sdk/searchresultslog.cpp...
Calculating dependencies for sdk/selecttargetdlg.cpp...
Calculating dependencies for sdk/simplelistlog.cpp...
Calculating dependencies for sdk/simpletextlog.cpp...
Calculating dependencies for sdk/templatemanager.cpp...
Calculating dependencies for sdk/toolsmanager.cpp...
Calculating dependencies for sdk/workspaceloader.cpp...
Calculating dependencies for sdk/xtra_classes.cpp...
Calculating dependencies for sdk/xtra_res.cpp...
Compiling sdk/Managers/Managers.cpp...
sdk/Managers/../globals.h:63: error: default argument for 'const wxString& separator' has type 'const char [2]'
sdk/Managers/../globals.h:64: error: default argument for 'const wxString& separator' has type 'const char [2]'
make: *** [.objs/sdk/Managers/Managers.o] Fout 1

Could someone help me?

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
Re: linux compile error
« Reply #1 on: September 25, 2005, 04:55:38 pm »
Be patient!
This bug will be fixed soon...

Offline Jayden

  • Single posting newcomer
  • *
  • Posts: 3
Re: linux compile error
« Reply #2 on: September 25, 2005, 06:37:00 pm »
Thank you for your fast reply.
Now ./bootstrap can't find a file:
configure.in:148: required file `src/plugins/contrib/Makefile.in' not found

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
Re: linux compile error
« Reply #3 on: September 25, 2005, 08:21:43 pm »
It was a missing file which is now added in CVS. Sorry...
Be patient!
This bug will be fixed soon...

Offline Jayden

  • Single posting newcomer
  • *
  • Posts: 3
Re: linux compile error
« Reply #4 on: September 25, 2005, 10:20:36 pm »
I'm really sorry but it still can't find the file, it's on line 150 now instead of 148
(configure.in:150: required file `src/plugins/contrib/Makefile.in' not found)

Offline st3vie

  • Multiple posting newcomer
  • *
  • Posts: 41
Re: linux compile error
« Reply #5 on: September 25, 2005, 10:45:08 pm »
i have the same problem. The anonymous cvs is a few hours behind, so it should be available soon (i hope) when you do an cvs update. So a bit more patience and things should be okay. :)

-st3vie

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
Re: linux compile error
« Reply #6 on: September 25, 2005, 10:49:47 pm »
If you 're in a hurry, create src/plugins/contrib/Makefile.am and put the following lines in it:

Code: [Select]
SUBDIRS = codestat profiler

Just delete it before running cvs update later (or it 'll complain)...
Be patient!
This bug will be fixed soon...

Offline st3vie

  • Multiple posting newcomer
  • *
  • Posts: 41
Re: linux compile error
« Reply #7 on: September 25, 2005, 11:08:55 pm »
ok, it's compiling here with this dirty fix. However it needed some extra tweaks.

After adding the Makefile with SUBDIRS, like you said, it complains about two other files,
but i made these with touch
Code: [Select]
touch src/plugins/contrib/profiler/Makefile.in
touch src/plugins/contrib/profiler/resources/Makefile.in

now configure went alright, and i'm running make as we... uhh.. write. :)

-st3vie

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
Re: linux compile error
« Reply #8 on: September 26, 2005, 12:26:33 am »
ok, it's compiling here with this dirty fix. However it needed some extra tweaks.

It's not a dirty fix, it's the missing file...

After adding the Makefile with SUBDIRS, like you said, it complains about two other files,
but i made these with touch
Code: [Select]
touch src/plugins/contrib/profiler/Makefile.in
touch src/plugins/contrib/profiler/resources/Makefile.in

now configure went alright, and i'm running make as we... uhh.. write. :)

-st3vie

Well, these files are generated by automake. You should run bootstrap and they 'll be created automatically...
Be patient!
This bug will be fixed soon...

Offline st3vie

  • Multiple posting newcomer
  • *
  • Posts: 41
Re: linux compile error
« Reply #9 on: September 26, 2005, 10:04:26 am »
it seems that i was still missing the profiler dir, even after a cvs update. And that was what bootstrap was complaining about to me, which is pretty normal then, of course.

But now things are okay. thanks.

-st3vie