[OpenIndiana-discuss] Building Filezilla 3.41.2 - second attempt

russell stream at willows7.myzen.co.uk
Mon Jun 17 21:11:14 UTC 2019


Hi,

Thanks for the feedback on the previous error, it appears that the 
wx-widgets-3.0.4 was compiled 32bits when it should have been 64 bits

wx-widgets-3.0.4 was rebuilt using (again using Motif)

         CC=gcc CFLAGS=-m64 CXX=g++ CXXFLAGS=-m64 LDFLAGS=-m64 
QT5_CUSTOM_DIR=/usr/lib/qt/5.8 ./configure --prefix=/opt/gnu --with-qt


After rebuilding this library and attempting the build of Filezilla 
3.41.2 the compilation gets much further again using

CXX=g++ CXXFLAGS="-m64 -I/opt/gnu/include -I/opt/gnu/include/wx-3.0 
-I/usr/include/idn -I/usr/gnu/include" LDFLAGS="-L/opt/gnu/lib 
-L/opt/gnu/lib/64" CC=gcc CFLAGS="-m64  -I/opt/gnu/include 
-I/opt/gnu/include/wx-3.0 -I/usr/include/idn -I/usr/gnu/include" 
NETTLE_CFLAGS=-I/opt/gnu/include NETTLE_LIBS="-L/opt/gnu/lib/64" 
HOGWEED_CFLAGS=-I/opt/gnu/include HOGWEED_LIBS=-L/opt/gnu/lib/64 
LIBFILEZILLA_CFLAGS=-I/opt/gnu/include LIBFILEZILLA_LIBS=-L/opt/gnu/lib 
PKG_CONFIG_PATH="/opt/gnu/lib;/opt/gnu/lib/64" 
LIBGNUTLS_CFLAGS="-I/usr/gnu/include/gnutls" 
LIBGNUTLS_LIBS="-L/usr/gnu/lib" ./configure --prefix=/opt/gnu 
--enable-static --disable-shared --with-pugixml=builtin

The compilation fails now at

gmake[4]: Entering directory '/tmp/filezilla-3.41.2/src/interface'
g++ -DHAVE_CONFIG_H -I. -I../../src/include  -I./../include 
-I/opt/gnu/include -I/opt/gnu/include 
-I/opt/gnu/lib/wx/include/motif-unicode-3.0 -I/opt/gnu/include/wx-3.0 
-D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMOTIF__   -fpch-preprocess  
-m64 -I/opt/gnu/include -I/opt/gnu/include/wx-3.0 -I/usr/include/idn 
-I/usr/gnu/include -Wall -g -MT filezilla-aboutdialog.o -MD -MP -MF 
.deps/filezilla-aboutdialog.Tpo -c -o filezilla-aboutdialog.o `test -f 
'aboutdialog.cpp' || echo './'`aboutdialog.cpp
mv -f .deps/filezilla-aboutdialog.Tpo .deps/filezilla-aboutdialog.Po
g++ -DHAVE_CONFIG_H -I. -I../../src/include  -I./../include 
-I/opt/gnu/include -I/opt/gnu/include 
-I/opt/gnu/lib/wx/include/motif-unicode-3.0 -I/opt/gnu/include/wx-3.0 
-D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMOTIF__   -fpch-preprocess  
-m64 -I/opt/gnu/include -I/opt/gnu/include/wx-3.0 -I/usr/include/idn 
-I/usr/gnu/include -Wall -g -MT filezilla-asksavepassworddialog.o -MD 
-MP -MF .deps/filezilla-asksavepassworddialog.Tpo -c -o 
filezilla-asksavepassworddialog.o `test -f 'asksavepassworddialog.cpp' 
|| echo './'`asksavepassworddialog.cpp
mv -f .deps/filezilla-asksavepassworddialog.Tpo 
.deps/filezilla-asksavepassworddialog.Po
g++ -DHAVE_CONFIG_H -I. -I../../src/include  -I./../include 
-I/opt/gnu/include -I/opt/gnu/include 
-I/opt/gnu/lib/wx/include/motif-unicode-3.0 -I/opt/gnu/include/wx-3.0 
-D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMOTIF__   -fpch-preprocess  
-m64 -I/opt/gnu/include -I/opt/gnu/include/wx-3.0 -I/usr/include/idn 
-I/usr/gnu/include -Wall -g -MT filezilla-asyncrequestqueue.o -MD -MP 
-MF .deps/filezilla-asyncrequestqueue.Tpo -c -o 
filezilla-asyncrequestqueue.o `test -f 'asyncrequestqueue.cpp' || echo 
'./'`asyncrequestqueue.cpp
In file included from statusbar.h:6:0,
                  from Mainfrm.h:4,
                  from asyncrequestqueue.cpp:7:
state.h:168:26: error: 'wxFileDataObject' has not been declared
   void UploadDroppedFiles(wxFileDataObject const* pFileDataObject, 
std::wstring const& subdir, bool queueOnly);
                           ^~~~~~~~~~~~~~~~
state.h:170:26: error: 'wxFileDataObject' has not been declared
   void UploadDroppedFiles(wxFileDataObject const* pFileDataObject, 
CServerPath const& path, bool queueOnly);
                           ^~~~~~~~~~~~~~~~
state.h:172:26: error: 'wxFileDataObject' has not been declared
   void HandleDroppedFiles(wxFileDataObject const* pFileDataObject, 
CLocalPath const& path, bool copy);
                           ^~~~~~~~~~~~~~~~
In file included from dndobjects.h:10:0,
                  from QueueView.h:4,
                  from queue.h:423,
                  from asyncrequestqueue.cpp:9:
drop_target_ex.h:8:59: error: invalid use of incomplete type 'class 
wxDropTarget'
  class CScrollableDropTarget : public wxEvtHandler, public wxDropTarget
^~~~~~~~~~~~
In file included from /opt/gnu/include/wx-3.0/wx/nonownedwnd.h:14:0,
                  from /opt/gnu/include/wx-3.0/wx/toplevel.h:20,
                  from /opt/gnu/include/wx-3.0/wx/dialog.h:14,
                  from /opt/gnu/include/wx-3.0/wx/msgdlg.h:18,
                  from msgbox.h:4,
                  from filezilla.h:6:
/opt/gnu/include/wx-3.0/wx/window.h:79:28: note: forward declaration of 
'class wxDropTarget'
  class WXDLLIMPEXP_FWD_CORE wxDropTarget;
                             ^~~~~~~~~~~~
In file included from dndobjects.h:10:0,
                  from QueueView.h:4,
                  from queue.h:423,
                  from asyncrequestqueue.cpp:9:
drop_target_ex.h:15:10: error: 'wxDragResult' does not name a type
   virtual wxDragResult OnDragOver(wxCoord x, wxCoord y, wxDragResult def);
           ^~~~~~~~~~~~
drop_target_ex.h:19:10: error: 'wxDragResult' does not name a type
   virtual wxDragResult OnEnter(wxCoord x, wxCoord y, wxDragResult def);
           ^~~~~~~~~~~~
drop_target_ex.h:24:2: error: 'wxDragResult' does not name a type
   wxDragResult FixupDragResult(wxDragResult res);
   ^~~~~~~~~~~~
In file included from QueueView.h:4:0,
                  from queue.h:423,
                  from asyncrequestqueue.cpp:9:
dndobjects.h:124:2: error: 'wxFileDataObject' does not name a type
   wxFileDataObject* m_pFileDataObject{};
   ^~~~~~~~~~~~~~~~
In file included from QueueView.h:14:0,
                  from queue.h:423,
                  from asyncrequestqueue.cpp:9:
local_recursive_operation.h:33:7: error: cannot derive from 'final' base 
'fz::thread' in derived type 'CLocalRecursiveOperation'
  class CLocalRecursiveOperation final : public CRecursiveOperation, 
private fz::thread, public wxEvtHandler
        ^~~~~~~~~~~~~~~~~~~~~~~~
gmake[4]: *** [Makefile:1149: filezilla-asyncrequestqueue.o] Error 1
gmake[4]: Leaving directory '/tmp/filezilla-3.41.2/src/interface'
gmake[3]: *** [Makefile:2907: all-recursive] Error 1
gmake[3]: Leaving directory '/tmp/filezilla-3.41.2/src/interface'
gmake[2]: *** [Makefile:822: all] Error 2
gmake[2]: Leaving directory '/tmp/filezilla-3.41.2/src/interface'
gmake[1]: *** [Makefile:436: all-recursive] Error 1
gmake[1]: Leaving directory '/tmp/filezilla-3.41.2/src'
gmake: *** [Makefile:618: all-recursive] Error 1

The definition of wxFileDataObject appears to be included in 
/opt/gnu/include/wx-3.0/wx/dataobj.h, however it is not being found.

Any suggestions?

TIA

Russell




More information about the openindiana-discuss mailing list