I am using Debian (kernel 2.4.27 and 2.6*) and gcc v3.3.5-13. I used source from dban-1.0.6_src.tar.bz2.
I had to make 2 changes in order to get it to successfully compile. In dwipe.h I had to change:
#define BLKGETSIZE64 _IOR(0x12,114,sizeof(u64))
to
#define BLKGETSIZE64 _IOR(0x12,114,u64)
In the busybox makefile I had to add
LIBRARIES = -lncurses
I am then able to get it to compile by running ./go.sh in the dwipe folder. However, this fails to build the disk images because the disk is full. In the official compile, the busybox executable weighs in at only 250KB, in my compile it is 749KB. What am I missing? Are the makefiles and/or build scripts not up to date? I must admit I don't much about linux or gcc, I usually know just enough to get by. I assumed that the default settings from the sourcecode would have set the build options correctly.
Any help would be appreciated.
Thanks,
Josh
I had to make 2 changes in order to get it to successfully compile. In dwipe.h I had to change:
#define BLKGETSIZE64 _IOR(0x12,114,sizeof(u64))
to
#define BLKGETSIZE64 _IOR(0x12,114,u64)
In the busybox makefile I had to add
LIBRARIES = -lncurses
I am then able to get it to compile by running ./go.sh in the dwipe folder. However, this fails to build the disk images because the disk is full. In the official compile, the busybox executable weighs in at only 250KB, in my compile it is 749KB. What am I missing? Are the makefiles and/or build scripts not up to date? I must admit I don't much about linux or gcc, I usually know just enough to get by. I assumed that the default settings from the sourcecode would have set the build options correctly.
Any help would be appreciated.
Thanks,
Josh