Re: [Clamav-users] make errors for clamav-milter

2004-02-13 Thread Doc Schneider


Nigel Horne wrote:
On Friday 13 Feb 2004 5:01 am, Doc Schneider wrote:

I'm getting the following errors when trying to build clamav-milter.

clamav-milter.c:548: parse error before `tcpSocket'
clamav-milter.c:548: warning: data definition has no type or storage
class make:
*** [clamav-milter.o] Error 1


Looks like you don't have in_port_t defined. You don't say the distro of Linux that
you're using, but ensure that it has an up to date /usr/include/netinet/in.h.
If all else fails, change the in_port_t to unsigned short in clamav-milter.c.

--Nigel



Nigel,

Using Redhat 6.2 on the boxes it won't compile on. I know it is old but 
I have so many customized things on it, it is hard to upgrade.

I do build all the software on these via tarballs. So rpm's are not an 
option.

The one it does build on is RH 7.2.

Do you think I can just upgrade my headers and of course libs on it to 
make it work? And are those available on something like gnu.org as part 
of the GCC builds?

Thanks,

-Doc

---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


RE: [Clamav-users] make errors for clamav-milter

2004-02-12 Thread Stevens, John
clamav-milter.c:548: parse error before `tcpSocket'
clamav-milter.c:548: warning: data definition has no type or storage
class make:
*** [clamav-milter.o] Error 1


I have had this one before.  Make sure that you have a copy of or a symbolic link to 
the sendmail libmilter headers.  I did an ln -s /sendmailsrcdir/include/libmilter 
/usr/include/libmilter and that solved the problem for me.
Hope this helps.  BTW, clamav is working well for me.  Thanks to the devs and those 
helpful people on the list.


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56alloc_id438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] make errors for clamav-milter

2004-02-12 Thread Doc Schneider


Stevens, John wrote:
clamav-milter.c:548: parse error before `tcpSocket'
clamav-milter.c:548: warning: data definition has no type or storage
class make:
*** [clamav-milter.o] Error 1


I have had this one before.  Make sure that you have a copy of or a symbolic link 
to the sendmail libmilter headers.  I did an ln -s /sendmailsrcdir/include/libmilter 
/usr/include/libmilter and that solved the problem for me.
Hope this helps.  BTW, clamav is working well for me.  Thanks to the devs and those 
helpful people on the list.
I have all the header files in /usr/include/libmilter so in theory it 
should compile. Funny thing is it does compile fine on one of my other 
servers. Sendmail build fine on them all. configure with --enable-milter 
finds all the headers and I even copied the libmilter.a to /usr/lib very 
strange.

And I have to totally agree. ClamAV is the best!

-Doc

---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] make errors for clamav-milter

2004-02-12 Thread Nigel Horne
On Friday 13 Feb 2004 5:01 am, Doc Schneider wrote:
 I'm getting the following errors when trying to build clamav-milter.

 clamav-milter.c:548: parse error before `tcpSocket'
 clamav-milter.c:548: warning: data definition has no type or storage
 class make:
 *** [clamav-milter.o] Error 1

Looks like you don't have in_port_t defined. You don't say the distro of Linux that
you're using, but ensure that it has an up to date /usr/include/netinet/in.h.

If all else fails, change the in_port_t to unsigned short in clamav-milter.c.

--Nigel

-- 
Nigel Horne. Arranger, Composer, Typesetter.
NJH Music, Barnsley, UK.  ICQ#20252325
[EMAIL PROTECTED] http://www.bandsman.co.uk



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users