[Clamdmail-users] Problems compiling clamdmail on Tru64 Digital Unix
Brought to you by:
profplump
From: <je...@is...> - 2004-07-08 02:21:13
|
Hello Friends. I'm installing clamdmail on Tru64 4.0F running Digital Unix OS, It is an alpha server of 64bits. In this moment clamav is work fine, but I need install clamdmail for replace amavis, because amavis have problem with CPU usage. It use very CPU and my system is very slow. When I am compiling clamdmail show me this error message: [1200]#make source='clamdmail.c' object='clamdmail.o' libtool=no \ depfile='.deps/clamdmail.Po' tmpdepfile='.deps/clamdmail.TPo' \ depmode=gcc3 /bin/ksh ./../depcomp \ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACK AGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"clamav\" -DVERSION=\"0. 54\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB _H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H= 1 -DHAVE_DLFCN_H=1 -DBUFFSIZE=131072 -DFBUFFSIZE=16384 -DSTDC_HEADERS=1 -DHA VE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STDLIB_H=1 -DHAVE_ST RINGS_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_ SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_MALLOC_H=1 -DSIZEOF_SHORT=2 -DSIZEO F_INT=4 -DSIZEOF_LONG=8 -DHAVE_ZLIB_H=1 -DCLAMAVUSER=\"clamav\" -DCLAMAVGROU P=\"clamav\" -DDB1NAME=\"viruses.db\" -DDB2NAME=\"viruses.db2\" -DDATADIR=\" /usr/local/share/clamav\" -DCONFDIR=\"/usr/local/etc\" -DWORDS_LITTLEENDIAN= 1 -I. -I. -I../clamscan -I../clamd -I../libclamav -I/usr/local/src/qmail/cl amav-0.74/shared -g -O2 -c `test -f 'clamdmail.c' || echo './'`clamdmail.c clamdmail.c: In function `clamdscan': clamdmail.c:89: warning: cast to pointer from integer of different size clamdmail.c:154: warning: assignment makes pointer from integer without a cast clamdmail.c:184: dereferencing pointer to incomplete type clamdmail.c:184: dereferencing pointer to incomplete type clamdmail.c: In function `spoolstdin': clamdmail.c:296: `mprintf_stdout' undeclared (first use in this function) clamdmail.c:296: (Each undeclared identifier is reported only once clamdmail.c:296: for each function it appears in.) clamdmail.c: In function `printtag': clamdmail.c:442: `mprintf_stdout' undeclared (first use in this function) clamdmail.c: In function `help': clamdmail.c:458: `mprintf_stdout' undeclared (first use in this function) make: *** [clamdmail.o] Error 1 I found in the google this comment. Problem: "foo.c:91: cast from pointer to integer of different size." An alpha is a 64bit native machine. Unlike a pentium or mac, which are 32 bit machines. A lot of programmers assume things like pointers are 32 bits. So when you compile them on alphas, they suddenly emit tons of warnings. I am not a programmer C language, but I need install the software. Is there any patch for machines of 64 bits architecture Please, if you have any ideas of the problem, response me as soon as possible, very thanks. Juan Enciso Condeña Área de Operaciones Red Privada Virtual S.A. Av. Paseo de la República 4675 - Lima 34 Telf: (511) 241-4122 Anexo 2244 Fax: (511) 446-8135 Visítenos en: www.qnet.com.pe |