jithin-renji / nuke Goto Github PK
View Code? Open in Web Editor NEWA program to 'nuke' storage devices.
License: GNU General Public License v3.0
A program to 'nuke' storage devices.
License: GNU General Public License v3.0
Nuke is not working in my arch system
make command fails with older versions of the compiler where the default C standard is less c99 since the source uses some features of c99 standards. For example, compiling on a fresh Oracle Linux 7.9 system with:
gcc --version
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44.0.3)
make fails with the following errors:
> make
gcc -Wall -g -c -o src/nuke.o src/nuke.c -Wall -g
src/nuke.c: In function ‘nuke’:
src/nuke.c:75:9: error: ‘for’ loop initial declarations are only allowed in C99 mode
for (int i = 0; i < nreps; i++) {
^
src/nuke.c:75:9: note: use option -std=c99 or -std=gnu99 to compile your code
src/nuke.c: In function ‘rand_drv’:
src/nuke.c:160:9: error: ‘for’ loop initial declarations are only allowed in C99 mode
for (int i = 0; i < bs; i++) {
^
make: *** [src/nuke.o] Error 1
make install does not work since there is no recipe for 'install' in the Makefile. Running make install produces the following output:
make install
make: *** No rule to make target `install'. Stop.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.