THC-SecureDelete ( installation output)

Peter Lieverdink ubuntu at cafuego.net
Fri Sep 2 23:16:08 UTC 2005


Hmm yes, I see the problem.

You're trying to compile english C with a german compiler. Bound to
throw errors ;-)

Seriosuly though, the compiler can't find an include (mach_mpspec.h)
which is required. Do you have "linux-kernel-headers" installed?

I also note "-I/lib/mo dules/`uname -r`/build/include". is that a paste
error or is there indeed a space in the Makefile that should not be
there?

- P.

On Sat, 2005-09-03 at 01:00 +0200, R.L. Reingard wrote:
> thank you for more details on 'dd', i already had a look at 'man',  
> therefore i had a slight idea of what type the expression was.
> ya, i would like to install, if Ubuntu would let me.
> 
> what i did:
> 
> ./configure
> make make install
> 
> the result is:
> 
> user at ubuntu:~/download/secure_delete-3.1$ make
> gcc -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__KERNEL__ -DMODULE  
> -fomit- frame-pointer -fno-strict-aliasing -pipe  
> -mpreferred-stack-boundary=2  -I/lib/mo dules/`uname -r`/build/include -c  
> sdel-mod.c
> In Datei, eingefügt von /usr/include/asm/smp.h:18,
>                      von /usr/include/linux/smp.h:17,
>                      von /usr/include/linux/sched.h:23,
>                      von /usr/include/linux/module.h:10,
>                      von sdel-mod.c:16:
> /usr/include/asm/mpspec.h:6:25: mach_mpspec.h: Datei oder Verzeichnis  
> nicht gefu nden
> In file included from /usr/include/asm/smp.h:18,
>                   from /usr/include/linux/smp.h:17,
>                   from /usr/include/linux/sched.h:23,
>                   from /usr/include/linux/module.h:10,
>                   from sdel-mod.c:16:
> /usr/include/asm/mpspec.h:8: error: `MAX_MP_BUSSES' undeclared here (not  
> in a fu nction)
> /usr/include/asm/mpspec.h:9: error: `MAX_MP_BUSSES' undeclared here (not  
> in a fu nction)
> /usr/include/asm/mpspec.h:10: error: `MAX_MP_BUSSES' undeclared here (not  
> in a f unction)
> /usr/include/asm/mpspec.h:12: error: `MAX_MP_BUSSES' undeclared here (not  
> in a f unction)
> /usr/include/asm/mpspec.h:19: error: `MAX_APICS' undeclared here (not in a  
> funct ion)
> /usr/include/asm/mpspec.h:20: error: `MAX_MP_BUSSES' undeclared here (not  
> in a f unction)
> /usr/include/asm/mpspec.h:20: error: conflicting types for  
> `mp_bus_id_to_type'
> /usr/include/asm/mpspec.h:8: error: previous declaration of  
> `mp_bus_id_to_type'
> /usr/include/asm/mpspec.h:22: error: `MAX_IRQ_SOURCES' undeclared here  
> (not in a  function)
> /usr/include/asm/mpspec.h:24: error: `MAX_MP_BUSSES' undeclared here (not  
> in a f unction)
> /usr/include/asm/mpspec.h:24: error: conflicting types for  
> `mp_bus_id_to_pci_bus '
> /usr/include/asm/mpspec.h:12: error: previous declaration of  
> `mp_bus_id_to_pci_b us'
> /usr/include/asm/mpspec.h:54: error: `MAX_APICS' undeclared here (not in a  
> funct ion)
> In file included from /usr/include/asm/smp.h:20,
>                   from /usr/include/linux/smp.h:17,
>                   from /usr/include/linux/sched.h:23,
>                   from /usr/include/linux/module.h:10,
>                   from sdel-mod.c:16:
> /usr/include/asm/io_apic.h:120: error: `MAX_IRQ_SOURCES' undeclared here  
> (not in  a function)
> /usr/include/asm/io_apic.h:120: error: conflicting types for `mp_irqs'
> /usr/include/asm/mpspec.h:22: error: previous declaration of `mp_irqs'
> In Datei, eingefügt von /usr/include/linux/smp.h:17,
>                      von /usr/include/linux/sched.h:23,
>                      von /usr/include/linux/module.h:10,
>                      von sdel-mod.c:16:
> /usr/include/asm/smp.h:73:26: mach_apicdef.h: Datei oder Verzeichnis nicht  
> gefun den
> sdel-mod.c:22:25: asm/smplock.h: Datei oder Verzeichnis nicht gefunden
> sdel-mod.c: In Funktion »smash_it«:
> sdel-mod.c:197: error: `O_RDWR' undeclared (first use in this function)
> sdel-mod.c:197: error: (Each undeclared identifier is reported only once
> sdel-mod.c:197: error: for each function it appears in.)
> sdel-mod.c:302: error: `O_WRONLY' undeclared (first use in this function)
> sdel-mod.c:302: error: `O_TRUNC' undeclared (first use in this function)
> sdel-mod.c: In Funktion »wipefile«:
> sdel-mod.c:322: Warnung: `MOD_INC_USE_COUNT' is deprecated (declared at  
> /usr/inc lude/linux/module.h:482)
> sdel-mod.c:324: Warnung: Zuweisung erzeugt Zeiger von Ganzzahl ohne  
> Typkonvertie rung
> sdel-mod.c:337: error: `PATH_MAX' undeclared (first use in this function)
> sdel-mod.c:380: Warnung: `MOD_DEC_USE_COUNT' is deprecated (declared at  
> /usr/inc lude/linux/module.h:494)
> make: *** [sdel-mod.o] Fehler 1
> user at ubuntu:~/download/secure_delete-3.1$ make install
> 
> 
> +++++++++++++++
> 
> > Lee Braiden wrote:
> 
> > You *could* install THC if you want, and use the wipe utility, though;  
> > no real reason not to :)
> 
> 
> 






More information about the ubuntu-users mailing list