Closed xambroz closed 8 years ago
Hi Michal, Which distro are trying to build it on? It build fine on Debian Unstable 32/64 bit.
Kind regards, Martijn
Hello, I did some tests and it seems that the build actually fails o x86 as well. The key is probably version of gcc or something like that. Build fails on everything prior to Fedora24.
https://copr.fedorainfracloud.org/coprs/rebus/infosec-rebus/build/437644/
Best regards Michal Ambroz
Hi Michal,
Please check if this patch will fix your problem.
--- nwipe-0.18.orig/src/nwipe.h +++ nwipe-0.18/src/nwipe.h @@ -27,6 +27,11 @@
+/* workaround for Fedora */ +#ifndef off64_t +# define off64_t off_t +#endif +
Patch works for Fedora <= 23
It would be nice if it can get to the head of upstream nwipe. Thank you
Fixed
Thank you
Hello, nwipe pre-release fails to build on 64bit architecture because the off64_t macro is defined only on the 32bit architecture. On 64bit architecture the native size of off_t is already 64bit.
This is the transcript of the build errors:
Best regards Michal Ambroz