Hi,
as I did not find a precompiled package for my 32 bit OpenSuse 13.2 system, I tried to compile FreeFileSync 6.13 from the source. I downloaded the source archive FreeFileSync_6.13_Source.zip from SourceForge, unpacked it, installed the gtk+-2.0, the zenXml, and the boost packages and tried to compile. I got the following error message:
peter@Siemlaptop:~/Archiv/FreeFileSync/FreeFileSync_6.13_Source/FreeFileSync/Source> make clean
rm -rf ../Obj/FFS_GCC_Make_Release
rm -f ../Build/FreeFileSync
rm -f ../../wx+/pch.h.gch
peter@Siemlaptop:~/Archiv/FreeFileSync/FreeFileSync_6.13_Source/FreeFileSync/Source> make all
mkdir -p ../Obj/FFS_GCC_Make_Release/ffs/src/
g++ -std=c++11 -pipe -DWXINTL_NO_GETTEXT_MACRO -I../.. -I../../zenXml -include "zen/i18n.h" -include "zen/warn_static.h" -Wall -O3 -DNDEBUG `wx-config --cxxflags --debug=no` -DZEN_LINUX -pthread `pkg-config --cflags gtk+-2.0` -c algorithm.cpp -o ../Obj/FFS_GCC_Make_Release/ffs/src/algorithm.o
mkdir -p ../Obj/FFS_GCC_Make_Release/ffs/src/
g++ -std=c++11 -pipe -DWXINTL_NO_GETTEXT_MACRO -I../.. -I../../zenXml -include "zen/i18n.h" -include "zen/warn_static.h" -Wall -O3 -DNDEBUG `wx-config --cxxflags --debug=no` -DZEN_LINUX -pthread `pkg-config --cflags gtk+-2.0` -c application.cpp -o ../Obj/FFS_GCC_Make_Release/ffs/src/application.o
In file included from <command-line>:0:0:
../../zen/warn_static.h:30:78: warning: ‘zen::STATIC_WARNING_87903124’ is deprecated (declared at lib/../ui/column_attr.h:36) [-Wdeprecated-declarations]
enum { STATIC_WARNING_CONCAT(warn_static_dummy_value, __LINE__) = sizeof(STATIC_WARNING_87903124) };
^
lib/../ui/column_attr.h:36:1: note: in expansion of macro ‘warn_static’
warn_static("two stretched oclumsn: hide vergr��ert range!")
^
../../zen/warn_static.h:30:78: warning: ‘zen::STATIC_WARNING_87903124’ is deprecated (declared at ../../zen/file_io.h:65) [-Wdeprecated-declarations]
enum { STATIC_WARNING_CONCAT(warn_static_dummy_value, __LINE__) = sizeof(STATIC_WARNING_87903124) };
^
../../zen/file_io.h:65:1: note: in expansion of macro ‘warn_static’
warn_static("get rid of FileInputUnbuffered/FileOutputUnbuffered, use fdopen instead")
^
In file included from /usr/include/gtk-2.0/gdk/gdkscreen.h:32:0,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from application.cpp:31:
/usr/include/gtk-2.0/gdk/gdktypes.h:114:39: error: conflicting declaration ‘typedef struct _GdkDrawable GdkWindow’
typedef struct _GdkDrawable GdkWindow;
^
In file included from /usr/include/wx-3.0/wx/event.h:14:0,
from /usr/include/wx-3.0/wx/app.h:19,
from application.h:12,
from application.cpp:7:
/usr/include/wx-3.0/wx/defs.h:3412:31: error: ‘GdkWindow’ has a previous declaration as ‘typedef struct _GdkWindow GdkWindow’
typedef struct _GdkWindow GdkWindow;
^
In file included from ../../boost/system/system_error.hpp:14:0,
from ../../boost/thread/exceptions.hpp:22,
from ../../boost/thread/pthread/thread_data.hpp:10,
from ../../boost/thread/thread_only.hpp:17,
from ../../boost/thread/thread.hpp:12,
from ../../boost/thread.hpp:13,
from ../../zen/thread.h:29,
from ../../zen/async_task.h:12,
from ui/main_dlg.h:14,
from ui/switch_to_gui.h:11,
from ui/batch_status_handler.h:16,
from application.cpp:19:
../../boost/system/error_code.hpp:221:36: warning: ‘boost::system::posix_category’ defined but not used [-Wunused-variable]
static const error_category & posix_category = generic_category();
^
../../boost/system/error_code.hpp:222:36: warning: ‘boost::system::errno_ecat’ defined but not used [-Wunused-variable]
static const error_category & errno_ecat = generic_category();
^
../../boost/system/error_code.hpp:223:36: warning: ‘boost::system::native_ecat’ defined but not used [-Wunused-variable]
static const error_category & native_ecat = system_category();
^
Makefile:94: recipe for target '../Obj/FFS_GCC_Make_Release/ffs/src/application.o' failed
make: *** [../Obj/FFS_GCC_Make_Release/ffs/src/application.o] Error 1
peter@Siemlaptop:~/Archiv/FreeFileSync/FreeFileSync_6.13_Source/FreeFileSync/Source>
The following package versions are used/installed:
gcc 4.8-7.1.2
gtk3-devel 3.1.4.4-4.1
gtk2-devel 2.24.25-4.4.1
zenXml 2.1
boost 1.57.0
Any idea what I can do to avoid the error?
Best Regards,
Peter
FreeFileSync 6.13 does not compile on 32 bit OpenSuse 13.2 system
- Posts: 3
- Joined: 11 Jan 2015