[Previo por Fecha] [Siguiente por Fecha] [Previo por Hilo] [Siguiente por Hilo]

[Hilos de Discusión] [Fecha] [Tema] [Autor]

Re: [Sop.Tec.LinuxPPP] Error al compilar Clam AV...



El sáb, 21-09-2002 a las 21:50, OrvUx escribió:
> Hola que tal listeros........
> 
> 
>     Con la euforia que se vive por asegurar que los correos no traigan virus
> me dispuse a instalar AMaViS+ClamAV+Sendmail........... siguiendo los pasos
> de un como que alguien (No me acuerdo su nombre y tampoco en el como hace
> referencia a el, raro no??) publico por aqui...........
> 
>     Asi que me baje los fuentes del AMaVis y del Clam AV...............
> y....
> 
>     # groupadd clamav   (Ok)
>     # useradd -g clamav -s /bin/false -c "Clam Antivirus" clamav    (Ok)
>     # tar zxpvf clamav-x.yz.tar.gz     (Ok)
>     # cd clamav-x.yz     (Ok)
>     # ./configure     (Ok)
>     #make
>     [root clamscan]# make
> gcc -DPACKAGE=\"clamav\" -DVERSION=\"0.24\" -DBUFFSIZE=131072 -DFBUFFSIZE=16
> 384 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_TIME_H=1
>  -DHAVE_UNISTD_H=1 -DDATADIR=\"/usr/local/share/clamav\" -DC_URANDOM=1 -DC_L
> INUX=1 -DTHREADS=1 -DWORDS_LITTLEENDIAN=1  -I ..    -g -O2 -c others.c
> others.c: In function `texit':
> others.c:167: `SIGUSR1' undeclared (first use in this function)
> others.c:167: (Each undeclared identifier is reported only once
> others.c:167: for each function it appears in.)
> make: *** [others.o] Error 1
> [root clamscan]# Beginning of buffer
> Beginning of buffer [2 times]
> 
>     Trate de buscar la constante SIGUSR1 por todos lados, pero no la
> encuentro...........
> 
>     Alguien puede echarme la mano???

 SIGUSR1 es una se~al del sistema operativo. En el caso de Linux, es
igual a 10.
 Para que tu programa pueda compilar, agrega a los encabezados del
archivo others.c:

#include <signal.h>

					Saludos
-- 
__(o< | Nombres/Names:        Cristian Othón  | cfuga en itam mx
\/|/  | Apellidos/Last Names: Martínez Vera   | http://cfuga.net/
/_/_  |                                       | http://linuxppp.com/
      |    "Pulchrum est paucorum hominum"    - Horace
---------------------------------------------------------------------
Lista de soporte de LinuxPPP
 Reglas de la lista en http://linuxppp.com/reglas.html



[Hilos de Discusión] [Fecha] [Tema] [Autor]