User forums > Using Code::Blocks

Debian compile errors

(1/1)

EricBurnett:
I was trying to compile on Debian linux to test changes I make, but when I tried to compile, it failed on linking. The messages it outputs now are:

eburnett@eric:~/codeblocks/src$ make -f Makefile.unix
Linking executable devel/codeblocks.exe...
devel/libcodeblocks.so: undefined reference to `EditorBase::IsBuiltinEditor()'
devel/libcodeblocks.so: undefined reference to `EditorBase::SetTitle(wxString const&)'
/usr/local/lib/lib_xrc-.so: undefined reference to `wxButton::IsOwnGtkWindow(_GdkWindow*)'
devel/libcodeblocks.so: undefined reference to `EditorBase::GetTitle()'
devel/libcodeblocks.so: undefined reference to `EditorBase::Close()'
devel/libcodeblocks.so: undefined reference to `EditorBase::GetParent()'
devel/libcodeblocks.so: undefined reference to `EditorBase::EditorBase[not-in-charge](wxMDIParentFrame*, wxString const&)'
/usr/local/lib/lib_xrc-.so: undefined reference to `wxWindow::IsOwnGtkWindow(_GdkWindow*)'
devel/libcodeblocks.so: undefined reference to `typeinfo for EditorBase'
devel/libcodeblocks.so: undefined reference to `EditorBase::~EditorBase [not-in-charge]()'
collect2: ld returned 1 exit status
make: *** [devel/codeblocks.exe] Error 1
eburnett@eric:~/codeblocks/src$


Any idea what is going on?

mandrav:
Yes, the Makefile.unix was out of sync.
I fixed it. Run a 'cvs update' and you can go on building ;)

Yiannis.

EricBurnett:
Sweet, thanks.

Navigation

[0] Message Index

Go to full version