User forums > General (but related to Code::Blocks)
rev 3543 doesn't build on linux (autorevision problems)
killerbot:
--- Quote ---if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/lib64/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/sdk/wxscintilla/include -I../../src/sdk/tinyxml -I../../src/sdk/scripting/include -I../../src/sdk/scripting/sqplus -I../../src/sdk/wxFlatNotebook/include -I../../src/sdk/propgrid/include -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -MT configmanager-revision.lo -MD -MP -MF ".deps/configmanager-revision.Tpo" -c -o configmanager-revision.lo configmanager-revision.cpp; \
then mv -f ".deps/configmanager-revision.Tpo" ".deps/configmanager-revision.Plo"; else rm -f ".deps/configmanager-revision.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/lib64/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/sdk/wxscintilla/include -I../../src/sdk/tinyxml -I../../src/sdk/scripting/include -I../../src/sdk/scripting/sqplus -I../../src/sdk/wxFlatNotebook/include -I../../src/sdk/propgrid/include -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -MT configmanager-revision.lo -MD -MP -MF .deps/configmanager-revision.Tpo -c configmanager-revision.cpp -fPIC -DPIC -o .libs/configmanager-revision.o
autorevision.h:14: error: 'SVN_REV' was not declared in this scope
make[4]: *** [configmanager-revision.lo] Error 1
make[4]: Leaving directory `/home/killerbot/Documents/CodeBlocksDev/trunk/src/sdk'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/killerbot/Documents/CodeBlocksDev/trunk/src/sdk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/killerbot/Documents/CodeBlocksDev/trunk/src/sdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/killerbot/Documents/CodeBlocksDev/trunk/src'
make: *** [all-recursive] Error 1
--- End quote ---
solutions ??
[edit] : ./bootstrap && ./configure --enable-contrib && make clean && make : up and running again : probably the ./configure was the fixing part ;-)
Pecan:
On andLinux it also gets
devel/libcodeblocks.so: undefined reference to `ScriptBindings::Register_UtilDialogs()'
--- Code: ---g++-4.0 -Ldevel -Lsrc/wxAUI -Lsdk/tinyxml -o devel/codeblocks .objs/src/app.o .objs/src/appglobals.o .objs/src/compilersettingsdlg.o .objs/src/crashhandler.o .objs/src/dlgabout.o .objs/src/dlgaboutplugin.o .objs/src/environmentsettingsdlg.o .objs/src/main.o .objs/src/prefix.o .objs/src/printdlg.o .objs/src/scriptconsole.o .objs/src/scriptingsettingsdlg.o .objs/src/splashscreen.o .objs/src/startherepage.o `wx-config --libs` -lcodeblocks -lwxaui -lwxscintilla
devel/libcodeblocks.so: undefined reference to `ScriptBindings::Register_UtilDialogs()'
collect2: ld returned 1 exit status
Process terminated with status 1 (16 minutes, 43 seconds)
1 errors, 11 warnings
--- End code ---
killerbot:
@pecan, did you try a full rebuild ?
Pecan:
--- Quote from: killerbot on January 27, 2007, 07:30:20 pm ---@pecan, did you try a full rebuild ?
--- End quote ---
To make sure: I just did it again.
I did a "svn -R revert .", then svn update ." while in .../trunk
then I did a full build.
--- Code: ---g++-4.0 -Ldevel -Lsrc/wxAUI -Lsdk/tinyxml -o devel/codeblocks .objs/src/app.o .objs/src/appglobals.o .objs/src/compilersettingsdlg.o .objs/src/crashhandler.o .objs/src/dlgabout.o .objs/src/dlgaboutplugin.o .objs/src/environmentsettingsdlg.o .objs/src/main.o .objs/src/prefix.o .objs/src/printdlg.o .objs/src/scriptconsole.o .objs/src/scriptingsettingsdlg.o .objs/src/splashscreen.o .objs/src/startherepage.o `wx-config --libs` -lcodeblocks -lwxaui -lwxscintilla
devel/libcodeblocks.so: undefined reference to `ScriptBindings::Register_UtilDialogs()'
collect2: ld returned 1 exit status
Process terminated with status 1 (16 minutes, 43 seconds)
1 errors, 11 warnings
--- End code ---
attached buildlog.zip
[attachment deleted by admin]
killerbot:
it is defined in sc_util_dialogs.cpp, when searching your build log it seems that file has not been compiled. Check your project tree, it belongs to sdk\scripting\bindings.
I would say your are not using the latest cbp file !!!
Navigation
[0] Message Index
[#] Next page
Go to full version