Hello all,
I get a nasty compile error when trying to compile Mahogany 0.64 with
wxGTK 2.4.0 on a Red Hat 7.2 machine.
The error goes as follows:
make[1]: Entering directory
`/nobackup/users/neutvd/download/mahogany-0.64/src'c++ -o
adb/AdbDialogs.o -c -fPIC
-I/nobackup/users/neutvd/download/mahogany-0.64/include
-I/nobackup/users/neutvd/usr/lib/wx/include/gtk-2.4
-I/nobackup/users/neutvd/usr/include -DGTK_NO_CHECK_CASTS -D__WXGTK__
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I/nobackup/users/neutvd/download/mahogany-0.64/extra/include
-I/nobackup/users/neutvd/download/mahogany-0.64/extra/src/c-client
-I/nobackup/users/neutvd/download/mahogany-0.64/extra/src/compface
-I/nobackup/users/neutvd/download/mahogany-0.64/src/wx/vcard -O2 -MD
-Wall adb/AdbDialogs.cpp
In file included from
/nobackup/users/neutvd/download/mahogany-0.64/include/ASMailFolder.h:30,
from
/nobackup/users/neutvd/download/mahogany-0.64/include/MEvent.h:94,
from
/nobackup/users/neutvd/download/mahogany-0.64/include/MApplication.h:32,
from adb/AdbDialogs.cpp:25:
/nobackup/users/neutvd/download/mahogany-0.64/include/MailFolder.h: In
method `int UIdArray::Index
(long unsigned int, bool) const':
/nobackup/users/neutvd/download/mahogany-0.64/include/MailFolder.h:71:
no matching function for call to
`wxBaseArrayPtrVoid::Index (_wxArrayUIdArray &, bool &) const'
/nobackup/users/neutvd/usr/include/wx/dynarray.h:468: candidates are:
int wxBaseArrayPtrVoid::Index
(const void *, bool = false) const
/nobackup/users/neutvd/usr/include/wx/dynarray.h:468:
int wxBaseArrayPtrVoid::Index
(const void *, int (*) (const void *, const void *)) const
/nobackup/users/neutvd/download/mahogany-0.64/include/MailFolder.h: In
method `void UIdArray::Add (long
unsigned int, unsigned int)':
/nobackup/users/neutvd/download/mahogany-0.64/include/MailFolder.h:71:
no matching function for call to
`wxBaseArrayPtrVoid::Add (_wxArrayUIdArray &, size_t &)'
/nobackup/users/neutvd/usr/include/wx/dynarray.h:468: candidates are:
void wxBaseArrayPtrVoid::Add
(const void *, unsigned int = 1)
/nobackup/users/neutvd/usr/include/wx/dynarray.h:468:
void wxBaseArrayPtrVoid::Add
(const void *, int (*) (const void *, const void *))
/nobackup/users/neutvd/download/mahogany-0.64/include/MailFolder.h: In
method `void UIdArray::Insert
(long unsigned int, unsigned int, unsigned int)':
/nobackup/users/neutvd/download/mahogany-0.64/include/MailFolder.h:71:
no matching function for call to
`wxBaseArrayPtrVoid::Insert (_wxArrayUIdArray &, size_t &, size_t &)'
/nobackup/users/neutvd/usr/include/wx/dynarray.h:468: candidates are:
void wxBaseArrayPtrVoid::Insert
(const void *, unsigned int, unsigned int = 1)
make[1]: *** [adb/AdbDialogs.o] Error 1
make[1]: Leaving directory
`/nobackup/users/neutvd/download/mahogany-0.64/src' make: *** [all]
Error 2
[neutvd@bsgi39 mahogany-0.64]$
I have *not* set the --disable-compat22 when compiling wxGTK 2.4.0.
However, I do have wxGTK installed as a non-root user as I don't have
root on this workstation. So it is in a non-standard dir, but the
error does not have anything to do with that as far as I can see.
Any help appreciated.
Ian.
--
Occam's Razor: All other things being equal, the simplest solution is
usually the correct one. (William of Occam, 14th century)
Darwin's Blade: All other things being equal, the simplest solution is
usually stupidity. (Darwin Minor in "Darwin's Blade" by Dan Simmons)
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Mahogany-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-users