./src/gui/wxBrowseButton.cpp ---------------------------- Compile Errors: /wxGTK-2.3.3/inst/include/wx/iconbndl.h:26: previous definition here gui/wxBrowseButton.cpp: In method `void wxIconBrowseButton::DoBrowse()': gui/wxBrowseButton.cpp:413: no matching function for call to `wxIconArray::Alloc (size_t &)' gui/wxBrowseButton.cpp: In method `wxIconView::wxIconView(wxDialog *, const wxIconArray &, int)': gui/wxBrowseButton.cpp:490: no matching function for call to `wxIconArray::GetCount () const' Fix: I also had to change every occurance of wxIconArray to the new definition wxBitmapArray. Original Code: WX_DEFINE_ARRAY(wxBitmap *, wxIconArray); New Code: WX_DEFINE_ARRAY(wxBitmap *, wxBitmapArray); ./include/gui/wxOptionsPage.h ----------------------------- Compile Errors: In file included from gui/wxDialogLayout.cpp:58: mahogany-0.64/include/gui/wxOptionsPage.h: In method `int ArrayBool::Index(bool, bool = false) const': mahogany-0.64/include/gui/wxOptionsPage.h:21: no matching function for call to `wxBaseArrayPtrVoid::Index (_wxArrayArrayBool &, bool &) const' wxGTK-2.3.3/inst/include/wx/dynarray.h:468: candidates are: int wxBaseArrayPtrVoid::Index(const void *, bool = false) const wxGTK-2.3.3/inst/include/wx/dynarray.h:468: int wxBaseArrayPtrVoid::Index(const void *, int (*)(const void *, const void *)) const mahogany-0.64/include/gui/wxOptionsPage.h:21: warning: control reaches end of non-void function `ArrayBool::Index(bool, bool) const' mahogany-0.64/include/gui/wxOptionsPage.h: In method `void ArrayBool::Add(bool, unsigned int = 1)': mahogany-0.64/include/gui/wxOptionsPage.h:21: no matching function for call to `wxBaseArrayPtrVoid::Add (_wxArrayArrayBool &, size_t &)' wxGTK-2.3.3/inst/include/wx/dynarray.h:468: candidates are: void wxBaseArrayPtrVoid::Add(const void *, unsigned int = 1) wxGTK-2.3.3/inst/include/wx/dynarray.h:468: void wxBaseArrayPtrVoid::Add(const void *, int (*)(const void *, const void *)) mahogany-0.64/include/gui/wxOptionsPage.h: In method `void ArrayBool::Insert(bool, unsigned int, unsigned int = 1)': mahogany-0.64/include/gui/wxOptionsPage.h:21: no matching function for call to `wxBaseArrayPtrVoid::Insert (_wxArrayArrayBool &, size_t &, size_t &)' wxGTK-2.3.3/inst/include/wx/dynarray.h:468: candidates are: void wxBaseArrayPtrVoid::Insert(const void *, unsigned int, unsigned int = 1) Fix: Original Code: WX_DEFINE_ARRAY(bool, ArrayBool); New Code: WX_DEFINE_ARRAY_SHORT(short, ArrayBool); ./include/MailFolder.h ---------------------- Compile Errors: In file included from mahogany-0.64/include/ASMailFolder.h:30, from mahogany-0.64/include/MEvent.h:94, from mahogany-0.64/include/MApplication.h:32, from adb/AdbDialogs.cpp:25: mahogany-0.64/include/MailFolder.h: In method `int UIdArray::Index(long unsigned int, bool = false) const': mahogany-0.64/include/MailFolder.h:72: no matching function for call to `wxBaseArrayPtrVoid::Index (_wxArrayUIdArray &, bool &) const' wxGTK-2.3.3/inst/include/wx/dynarray.h:468: candidates are: int wxBaseArrayPtrVoid::Index(const void *, bool = false) const wxGTK-2.3.3/inst/include/wx/dynarray.h:468: int wxBaseArrayPtrVoid::Index(const void *, int (*)(const void *, const void *)) const mahogany-0.64/include/MailFolder.h:72: warning: control reaches end of non-void function `UIdArray::Index(long unsigned int, bool) const' mahogany-0.64/include/MailFolder.h: In method `void UIdArray::Add(long unsigned int, unsigned int = 1)': mahogany-0.64/include/MailFolder.h:72: no matching function for call to `wxBaseArrayPtrVoid::Add (_wxArrayUIdArray &, size_t &)' wxGTK-2.3.3/inst/include/wx/dynarray.h:468: candidates are: void wxBaseArrayPtrVoid::Add(const void *, unsigned int = 1) wxGTK-2.3.3/inst/include/wx/dynarray.h:468: void wxBaseArrayPtrVoid::Add(const void *, int (*)(const void *, const void *)) mahogany-0.64/include/MailFolder.h: In method `void UIdArray::Insert(long unsigned int, unsigned int, unsigned int = 1)': mahogany-0.64/include/MailFolder.h:72: no matching function for call to `wxBaseArrayPtrVoid::Insert (_wxArrayUIdArray &, size_t &, size_t &)' wxGTK-2.3.3/inst/include/wx/dynarray.h:468: candidates are: void wxBaseArrayPtrVoid::Insert(const void *, unsigned int, unsigned int = 1) Fix: Original Code: WX_DEFINE_ARRAY(UIdType, UIdArray); New Code: WX_DEFINE_ARRAY_LONG(UIdType, UIdArray); ./src/gui/wxComposeView.cpp --------------------------- Compile Errors: gui/wxComposeView.cpp: In method `void wxComposeView::Print()': gui/wxComposeView.cpp:3194: implicit declaration of function `int wxSetAFMPath(...)' gui/wxComposeView.cpp:3194: warning: cannot pass objects of type `String' through `...' Fix: I also had to add the include #include // CDJ Original Code: wxSetAFMPath (afmpath); // orig New Code: wxPrintSetupData ().SetAFMPath (afmpath); // try # 2 -- CDJ ./src/util/upgrade.cpp ---------------------- Compile Errors: util/upgrade.cpp: In function `bool RetrieveRemoteConfigSettings(bool = true)': util/upgrade.cpp:3299: `safe_write' is not a member of type `wxFile' Fix: My guess is that somewhere a #define of write was being redefined to safe_write and safe_write is not a member of wxFile. Not sure though. I did verify that write was the correct answer, so I hacked it admittedly to cast an int to an enum. Original Code: wxFile tmpfile(filename, wxFile::write); // orig New Code: wxFile tmpfile(filename, static_cast (1)); // cdj ./makeopts ---------- Link Errors: socket mahogany-0.64/extra/src/c-client/c-client.a(osdep.o) (symbol belongs to implicit dependency /usr/lib/libsocket.so.1) getpeername mahogany-0.64/extra/src/c-client/c-client.a(osdep.o) (symbol belongs to implicit dependency /usr/lib/libsocket.so.1) getprotobyname mahogany-0.64/extra/src/c-client/c-client.a(osdep.o) (symbol belongs to implicit dependency /usr/lib/libsocket.so.1) gethostbyname mahogany-0.64/extra/src/c-client/c-client.a(osdep.o) (symbol belongs to implicit dependency /usr/lib/libnsl.so.1) getservbyname mahogany-0.64/extra/src/c-client/c-client.a(osdep.o) (symbol belongs to implicit dependency /usr/lib/libsocket.so.1) gethostbyaddr mahogany-0.64/extra/src/c-client/c-client.a(osdep.o) (symbol belongs to implicit dependency /usr/lib/libnsl.so.1) inet_addr mahogany-0.64/extra/src/c-client/c-client.a(osdep.o) (symbol belongs to implicit dependency /usr/lib/libnsl.so.1) inet_ntoa mahogany-0.64/extra/src/c-client/c-client.a(osdep.o) (symbol belongs to implicit dependency /usr/lib/libnsl.so.1) getsockname mahogany-0.64/extra/src/c-client/c-client.a(osdep.o) (symbol belongs to implicit dependency /usr/lib/libsocket.so.1) connect mahogany-0.64/extra/src/c-client/c-client.a(osdep.o) (symbol belongs to implicit dependency /usr/lib/libsocket.so.1) Fix: I added the libraries: -lsocket -lnsl to LIBS