Following on from the posts on sourceforge I am still experiences the 2 same errors 1 of which I can fix as explained.
POST1:
Building codelite on AMD64 Ubuntu Gutsy and have a build error I cannot easily resolve.
Code: Select all
app.cpp:(.text+0x362d): undefined reference to `SvnRevision'
POST2:
OK I solved this problem.
When you call make the object list is generated from the cpp files in LiteEditor. However the svninfo.cpp file does not yet exist as it is created during the build process. this can be fixed by calling 'make pre_build' before make. A better solution would be to include an empty svninfo.cpp file.
Next problem....
Code: Select all
g++ -O3 -DREGEXP_UNICODE -shared -o ../lib/Debugger.so Release_gcc_unicode/dbgcmd.o Release_gcc_unicode/debuggergdb.o Release_gcc_unicode/gdbinfolexer.o Release_gcc_unicode/gdb_lexer.o -pthread -lwx_gtk2u_richtext-2.8 -lwx_gtk2u_aui-2.8 -lwx_gtk2u_xrc-2.8 -lwx_gtk2u_qa-2.8 -lwx_gtk2u_html-2.8 -lwx_gtk2u_adv-2.8 -lwx_gtk2u_core-2.8 -lwx_baseu_xml-2.8 -lwx_baseu_net-2.8 -lwx_baseu-2.8 -L../lib -lpluginu -lcodeliteu
/usr/bin/ld: Release_gcc_unicode/dbgcmd.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
Release_gcc_unicode/dbgcmd.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [Plugin] Error 1
make[1]: Leaving directory `/home/fffd/projects/codelite/Debugger'
make: *** [Debugger] Error 2