Automaciké rozpojení SSH při ne činnosti (delsi)
Zdenek Pizl
z.p na linux-cd.cz
Pátek Říjen 31 12:25:52 CET 2003
On Friday 31 of October 2003 12:24, you wrote:
> > Pouzivam na to program
> 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
v novejsich verzich libc (?) je errno definovano ve vlastnim hlavickovem
souboru sys/errno.h.
Takze zkuste pouzit direktivu preprocessoru #include <sys/errno.h>
z.p.
--
Zdenek Pizl
Internetovy obchod s aktualizovanymi distribucemi GNU/Linuxu
http://www.Linux-CD.cz
Další informace o konferenci Linux