Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: EricBurnett on April 25, 2005, 07:38:16 am

Title: Debian compile errors
Post by: EricBurnett on April 25, 2005, 07:38:16 am
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?
Title: Debian compile errors
Post by: mandrav on April 25, 2005, 10:28:42 am
Yes, the Makefile.unix was out of sync.
I fixed it. Run a 'cvs update' and you can go on building ;)

Yiannis.
Title: Debian compile errors
Post by: EricBurnett on April 26, 2005, 03:13:28 am
Sweet, thanks.