Re: Automaciké rozpojení SSH při ne činnosti (delsi)

Miroslav BENES mbenes na tenez.cz
Pátek Říjen 31 12:24:39 CET 2003


> Pouzivam na to program
> "killerd" pd Martina Marese.

Diky za tip - vypada to hezky.

Kde se to da sehnat (novejsi verze) / resp. jak se to da
prelozit ?

Nasel jsem to na strance
http://atrey.karlin.mff.cuni.cz/~mj/linux.shtml ve verzi 0.2,
ale nedari se mi to prelozit :

$ make
cc -O2 -fomit-frame-pointer -Wall -Wno-parentheses -Wstrict-
prototypes  -s  killerd.c   -o killerd
killerd.c: In function `syserr':
killerd.c:69: `errno' undeclared (first use in this function)
killerd.c:69: (Each undeclared identifier is reported only once
killerd.c:69: for each function it appears in.)
killerd.c: In function `get_process_info':
killerd.c:307: warning: `k' might be used uninitialized in this
function
killerd.c: In function `warn_user':
killerd.c:476: `errno' undeclared (first use in this function)
killerd.c:476: `EWOULDBLOCK' undeclared (first use in this
function)
make: *** [killerd] Error 1


$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-110)

$ uname -a
Linux progress 2.4.20-2.25--4 #2 Pá říj 24 17:17:59 CEST 2003
i686 unknown


Nevite nekdo kde uze byt chyba ?


--------------------------
Miroslav BENES
E-mail   : mbenes na tenez.cz
TENEZ Chotebor, a.s
--------------------------



Další informace o konferenci Linux