Hi,
I'm new to Bacula and at first I want to say that this software is a
nice piece of work. I just tried to build the wx-console (bacula-1.36.3)
under SuSE 9.3 and received the following error messages. I'm using
wxGTK 2.5.2 and gcc version 3.3.4 (pre 3.3.5 20040809). Can anybody help me?
Thanks in advance.
Tobias
[...]
make[1]: Leaving directory
`/usr/src/packages/SOURCES/bacula-1.36.3/src/tray-monitor'
==>Entering directory /usr/src/packages/SOURCES/bacula-1.36.3/src/wx-console
make[1]: Entering directory
`/usr/src/packages/SOURCES/bacula-1.36.3/src/wx-console'
g++ -c -DHAVE_WXCONSOLE -I/usr/lib/wx/include/gtk2-2.5
-I/usr/include/wx-2.5 -DGTK_NO_CHECK_CASTS -D__WXGTK__
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I. \
-I.. -g -O2 -Wall main.cpp
g++ -c -DHAVE_WXCONSOLE -I/usr/lib/wx/include/gtk2-2.5
-I/usr/include/wx-2.5 -DGTK_NO_CHECK_CASTS -D__WXGTK__
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I. \
-I.. -g -O2 -Wall console_thread.cpp
In file included from console_thread.cpp:29:
console_thread.h:53: error: ISO C++ forbids declaration of `wxString'
with no
type
console_thread.h:53: error: syntax error before `(' token
console_thread.h:54: error: `wxString' was not declared in this scope
console_thread.h:54: error: syntax error before `)' token
console_thread.h:61: error: ISO C++ forbids declaration of `wxString'
with no
type
console_thread.h:61: error: declaration of `int console_thread::wxString'
console_thread.h:53: error: conflicts with previous declaration `int
console_thread::wxString'
console_thread.h:61: error: syntax error before `;' token
In file included from /usr/include/wx-2.5/wx/string.h:55,
from /usr/include/wx-2.5/wx/file.h:20,
from console_thread.cpp:34:
/usr/include/wx-2.5/wx/buffer.h: In constructor `
wxCharBuffer::wxCharBuffer(const char*)':
/usr/include/wx-2.5/wx/buffer.h:96: error: `bad_call_on_strdup_use_bstrdup'
undeclared (first use this function)
/usr/include/wx-2.5/wx/buffer.h:96: error: (Each undeclared identifier is
reported only once for each function it appears in.)
/usr/include/wx-2.5/wx/buffer.h: In member function `wxCharBuffer&
wxCharBuffer::operator=(const char*)':
/usr/include/wx-2.5/wx/buffer.h:96: error: `bad_call_on_strdup_use_bstrdup'
undeclared (first use this function)
In file included from /usr/include/g++/clocale:49,
from /usr/include/g++/i586-suse-linux/bits/c++locale.h:41,
from /usr/include/g++/iosfwd:46,
from /usr/include/wx-2.5/wx/iosfwrap.h:18,
from /usr/include/wx-2.5/wx/string.h:1535,
from /usr/include/wx-2.5/wx/file.h:20,
from console_thread.cpp:34:
/usr/include/locale.h: At global scope:
/usr/include/locale.h:125: error: syntax error before string constant
In file included from /usr/include/g++/i586-suse-linux/bits/c++locale.h:41,
from /usr/include/g++/iosfwd:46,
from /usr/include/wx-2.5/wx/iosfwrap.h:18,
from /usr/include/wx-2.5/wx/string.h:1535,
from /usr/include/wx-2.5/wx/file.h:20,
from console_thread.cpp:34:
/usr/include/g++/clocale:58: error: `setlocale' not declared
In file included from /usr/include/g++/i586-suse-linux/bits/c++locale.h:44,
from /usr/include/g++/iosfwd:46,
from /usr/include/wx-2.5/wx/iosfwrap.h:18,
from /usr/include/wx-2.5/wx/string.h:1535,
from /usr/include/wx-2.5/wx/file.h:20,
from console_thread.cpp:34:
/usr/include/libintl.h:81: error: syntax error before `throw'
In file included from /usr/include/wx-2.5/wx/filefn.h:19,
from /usr/include/wx-2.5/wx/file.h:21,
from console_thread.cpp:34:
/usr/include/wx-2.5/wx/list.h: In constructor `wxListKey::wxListKey(const
wxChar*)':
/usr/include/wx-2.5/wx/list.h:278: error: `bad_call_on_strdup_use_bstrdup'
undeclared (first use this function)
/usr/include/wx-2.5/wx/list.h: In constructor `wxListKey::wxListKey(const
wxString&)':
/usr/include/wx-2.5/wx/list.h:280: error: `bad_call_on_strdup_use_bstrdup'
undeclared (first use this function)
console_thread.cpp: At global scope:
console_thread.cpp:54: error: `wxString console_thread::working_dir' is
not a
static member of `class console_thread'
console_thread.cpp:56: error: `wxString' was not declared in this scope
console_thread.cpp:56: error: syntax error before `)' token
console_thread.cpp: In static member function `static void
console_thread::SetWorkingDirectory(...)':
console_thread.cpp:57: error: `w_dir' undeclared (first use this function)
console_thread.cpp:58: error: `working_dir' is not a member of type `
console_thread'
console_thread.cpp:61: error: `working_dir' is not a member of type `
console_thread'
console_thread.cpp: In static member function `static void
console_thread::InitLib()':
console_thread.cpp:75: error: `working_dir' is not a member of type `
console_thread'
console_thread.cpp: At global scope:
console_thread.cpp:88: error: `wxString' was not declared in this scope
console_thread.cpp:88: error: syntax error before `)' token
console_thread.cpp:88: error: no `wxString console_thread::LoadConfig(...)'
member function declared in class `console_thread'
console_thread.cpp: In member function `wxString
console_thread::LoadConfig(...)':
console_thread.cpp:108: error: `working_dir' is not a member of type `
console_thread'
console_thread.cpp:110: error: `configfile' undeclared (first use this
function)
console_thread.cpp:112: error: `working_dir' is not a member of type `
console_thread'
console_thread.cpp:115: error: `wxString' undeclared (first use this
function)
console_thread.cpp:115: error: syntax error before `=' token
console_thread.cpp:120: error: `err' undeclared (first use this function)
console_thread.cpp:126: error: `working_dir' is not a member of type `
console_thread'
console_thread.cpp:131: error: `working_dir' is not a member of type `
console_thread'
console_thread.cpp: In member function `virtual void*
console_thread::Entry()':
console_thread.cpp:214: error: `console_thread::wxString' cannot be used
as a
function
console_thread.cpp:217: error: `console_thread::wxString' cannot be used
as a
function
console_thread.cpp:220: error: `console_thread::wxString' cannot be used
as a
function
console_thread.cpp: In member function `void console_thread::Write(const
char*)
':
console_thread.cpp:333: error: `wxString' undeclared (first use this
function)
console_thread.cpp:333: error: syntax error before `=' token
console_thread.cpp:334: error: `number' undeclared (first use this function)
make[1]: *** [console_thread.o] Error 1
make[1]: Leaving directory
`/usr/src/packages/SOURCES/bacula-1.36.3/src/wx-console'
====== Error in
/usr/src/packages/SOURCES/bacula-1.36.3/src/wx-console ======
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users