Author Topic: [svn r4733] compilation error  (Read 4100 times)

koxta

  • Guest
[svn r4733] compilation error
« on: December 15, 2007, 05:21:20 am »
Greetings,

it seems I'm unable to build latest revision on my machine. That's what I'm getting:

Quote
...

Making all in squirrel

...

if /bin/sh ../../../../libtool --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src/include -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA   -I../../../../src/include -I../../../../src/include/wxscintilla/include -I../../../../src/include/scripting/include -I../../../../src/include/scripting/bindings -I../../../../src/include/scripting/sqplus  -Ulinux -Uunix  -O2 -ffast-math -O2 -march=prescott -pipe -fomit-frame-pointer -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT sc_wxtypes.lo -MD -MP -MF ".deps/sc_wxtypes.Tpo" -c -o sc_wxtypes.lo sc_wxtypes.cpp; \
        then mv -f ".deps/sc_wxtypes.Tpo" ".deps/sc_wxtypes.Plo"; else rm -f ".deps/sc_wxtypes.Tpo"; exit 1; fi
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src/include -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -I../../../../src/include -I../../../../src/include/wxscintilla/include -I../../../../src/include/scripting/include -I../../../../src/include/scripting/bindings -I../../../../src/include/scripting/sqplus -Ulinux -Uunix -O2 -ffast-math -O2 -march=prescott -pipe -fomit-frame-pointer -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT sc_util_dialogs.lo -MD -MP -MF .deps/sc_util_dialogs.Tpo -c sc_util_dialogs.cpp  -fPIC -DPIC -o .libs/sc_util_dialogs.o
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src/include -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -I../../../../src/include -I../../../../src/include/wxscintilla/include -I../../../../src/include/scripting/include -I../../../../src/include/scripting/bindings -I../../../../src/include/scripting/sqplus -Ulinux -Uunix -O2 -ffast-math -O2 -march=prescott -pipe -fomit-frame-pointer -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT sc_wxtypes.lo -MD -MP -MF .deps/sc_wxtypes.Tpo -c sc_wxtypes.cpp  -fPIC -DPIC -o .libs/sc_wxtypes.o
sc_wxtypes.cpp: In function 'void ScriptBindings::Register_wxTypes()':
sc_wxtypes.cpp:270: error: no matching function for call to 'SqPlus::SQClassDef<wxColour>::func(<unresolved overloaded function type>, const char [4])'
make[4]: *** [sc_wxtypes.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/dev-util/codeblocks-1.0_pre20071215/work/codeblocks-1.0_pre20071215/src/sdk/scripting/bindings'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-util/codeblocks-1.0_pre20071215/work/codeblocks-1.0_pre20071215/src/sdk/scripting'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-util/codeblocks-1.0_pre20071215/work/codeblocks-1.0_pre20071215/src/sdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-util/codeblocks-1.0_pre20071215/work/codeblocks-1.0_pre20071215/src'
make: *** [all-recursive] Error 1

Any help would be appreciated!

Best regards,
Jurek Bartuszek

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: [svn r4733] compilation error
« Reply #1 on: December 15, 2007, 08:12:32 am »
The actual nightlies are build against wxWidgets 2.8.7, you use 2.6.x .
I'm not sure if that can break the build, but I don't have any errors on my debian machine.
Is it just a build or a (clean) rebuild ?

koxta

  • Guest
Re: [svn r4733] compilation error
« Reply #2 on: December 15, 2007, 01:21:08 pm »
Yeah, that was it, thanks! Nevertheless, this should have come out much earlier than during compilation. How about adding a version check in configure?

Best regards,
Jurek Bartuszek

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: [svn r4733] compilation error
« Reply #3 on: December 15, 2007, 03:43:50 pm »
Yeah, that was it, thanks! Nevertheless, this should have come out much earlier than during compilation. How about adding a version check in configure?

Best regards,
Jurek Bartuszek

There is a version check in configure, but it only checks if version is 2.6.0 or greater.
Should be changed by a dev if build is broken with 2.6 .