Hi,
thank you very much for this great piece of software.
Unfortunately, the client does not build under Fedora 24.
The error is
mv -f urbackupcommon/.deps/urbackupclientbackend-ExtentIterator.Tpo urbackupcommon/.deps/urbackupclientbackend-ExtentIterator.Po g++ -DHAVE_CONFIG_H -I. -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DNDEBUG -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/usr/var"' -DSYSCONFDIR='"/usr/etc"' -DDATADIR='"/usr/share"' -g -O2 -MT urbackupcommon/urbackupclientbackend-TreeHash.o -MD -MP -MF urbackupcommon/.deps/urbackupclientbackend-TreeHash.Tpo -c -o urbackupcommon/urbackupclientbackend-TreeHash.o
test -f âurbackupcommon/TreeHash.cppâ || echo './'urbackupcommon/TreeHash.cpp mv -f urbackupcommon/.deps/urbackupclientbackend-TreeHash.Tpo urbackupcommon/.deps/urbackupclientbackend-TreeHash.Po g++ -DHAVE_CONFIG_H -I. -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DNDEBUG -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/usr/var"' -DSYSCONFDIR='"/usr/etc"' -DDATADIR='"/usr/share"' -g -O2 -MT cryptoplugin/urbackupclientbackend-dllmain.o -MD -MP -MF cryptoplugin/.deps/urbackupclientbackend-dllmain.Tpo -c -o cryptoplugin/urbackupclientbackend-dllmain.o
test -f âcryptoplugin/dllmain.cppâ || echo â./âcryptoplugin/dllmain.cpp In file included from /usr/include/c++/6.1.1/cstdlib:75:0, from /usr/include/c++/6.1.1/ext/string_conversions.h:41, from /usr/include/c++/6.1.1/bits/basic_string.h:5402, from /usr/include/c++/6.1.1/string:52, from cryptoplugin/../Interface/Server.h:4, from cryptoplugin/dllmain.cpp:32: /usr/include/stdlib.h:543:13: Fehler: declaration of »void exit(int) throw ()« has a different exception specifier extern void exit (int __status) __THROW __attribute__ ((__noreturn__)); ^~~~ cryptoplugin/dllmain.cpp:24:15: Anmerkung: von vorheriger Deklaration »void exit(int)« #define _exit exit
I fixed the error with this patch
`
â /tmp/meld-tmpwMCBaZ
+++ /home/jonatan/Downloads/urbackup-client-2.0.29.0/cryptoplugin/dllmain.cpp
@@ -21,7 +21,7 @@
#define DLLEXPORT extern âCâ __declspec (dllexport)
#else
#define DLLEXPORT extern âCâ
-#define _exit exit
+//#define _exit exit
#include <unistd.h>
#endif
@@ -128,7 +128,7 @@
{
Server->Log(âUnknown crypto_actionâ);
}
-
_exit(0);
-
}exit(0);
#ifndef STATIC_PLUGIN
`
and then the client build fine but this error should solved in the source code.
regards Jonatan