Hi Gordon,
That's the problem. It will not build with 0.95.1.
$ cd pyclamav-0.4.1
$ python setup.py build
running build
running build_ext
building 'pyclamav' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -m32 -march=i386
-mtune=pentium4 -D_GNU_SOURCE -fPIC -fPIC -I/usr/local/include
-I/usr/include/python2.3 -c pyclamav.c -o
build/temp.linux-i686-2.3/pyclamav.o
pyclamav.c: In function `if_database_have_changed_then_reload':
pyclamav.c:94: warning: passing arg 2 of `cl_load' from incompatible
pointer type
pyclamav.c: In function `pyclamav_scanfile':
pyclamav.c:234: warning: passing arg 4 of `cl_scanfile' from
incompatible pointer type
pyclamav.c:234: warning: passing arg 5 of `cl_scanfile' makes integer
from pointer without a cast
pyclamav.c:234: error: too many arguments to function `cl_scanfile'
pyclamav.c: In function `initpyclamav':
pyclamav.c:282: warning: passing arg 2 of `cl_load' from incompatible
pointer type
pyclamav.c:305: error: invalid application of `sizeof' to incomplete
type `cl_limits'
pyclamav.c:306: error: invalid use of undefined type `struct cl_limits'
pyclamav.c:307: error: invalid use of undefined type `struct cl_limits'
pyclamav.c:308: error: invalid use of undefined type `struct cl_limits'
pyclamav.c:309: error: invalid use of undefined type `struct cl_limits'
pyclamav.c: At top level:
pyclamav.c:72: error: storage size of `limits' isn't known
error: command 'gcc' failed with exit status 1
-Nathan
Gordon Messmer wrote:
Ben Kennedy wrote:
Yesterday afternoon I updated to clamav 0.95.1 (from, I think, 0.94.2)
on my gentoo box.
...
May 19 18:15:28 minty courieresmtp: id=000DCB9B.
4A132F76.000007B3,from=<for...@opensrs.com>,addr=<b...@zygoat.ca>: 554
Null argument passed to function
Are you using the pyclamav or pyclamd python module? I'm guessing the
former. Try recompiling the module against 0.95.1. I haven't updated,
so I haven't seen that issue.
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users