>Sent: Monday, May 03, 2004 1:19 PM
>
>looks like libsm from sendmail
>
>Try downloading and installing the sendmail-devel kit
>
>Or
>
>downloading and compiling libmilter from sendmail source distribution
>and using that path to the configure script

Hi again,

Sendmail-devel for this distro/version is already installed and updated,
however, i downloaded sendmail-8.12.11 from sendmail (next version of the
one i got installed in that box which is 8.11.6-27.73), and i get the same
error even i re-ran the configure with new paths.

the line for configure was:

./configure --enable-milter --prefix=/usr --sysconfdir=/etc -libdir=/usr/loc
al/src/sendmail-8.12.11/obj.Linux.2.4.20-18.7.i686/sendmail -includedir=/usr
/local/src/sendmail-8.12.11/libmilter/


and the errors compiling are almost the same:

Making all in clamav-milter
make[2]: Entering directory `/usr/local/src/clamav-0.70/clamav-milter'
/bin/sh ../libtool --mode=link gcc  -g -O2   -o clamav-milter  cfgparser.o
getopt.o memory.o
clamav-milter.o  -L../libclamav -lclamav -L/usr/lib/libmilter -lmilter  -lwr
ap -lpthread
gcc -g -O2 -o .libs/clamav-milter cfgparser.o getopt.o memory.o
clamav-milter.o  -L/usr/local/src/clamav-0.70/libclamav
/usr/local/src/clamav-0.70/libclamav/.libs/libclamav.so -lz -lbz2 -lgmp -lns
l -L/usr/lib/libmilter -lmilter -lwrap -lpthread -Wl,--rpath -Wl,/usr/local/
src/sendmail-8.12.11/obj.Linux.2.4.20-18.7.i686/sendmail
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libmilter.a(main.o): In
function `smfi_register':
main.o(.text+0x74): undefined reference to `strlcpy'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libmilter.a(main.o): In
function `smfi_setconn':
main.o(.text+0x12f): undefined reference to `strlcpy'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libmilter.a(listener.o): In
function `mi_milteropen':
listener.o(.text+0x184): undefined reference to `strlcpy'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libmilter.a(engine.o): In
function `st_connectinfo':
engine.o(.text+0x83a): undefined reference to `strlcpy'
collect2: ld returned 1 exit status
make[2]: *** [clamav-milter] Error 1
make[2]: Leaving directory `/usr/local/src/clamav-0.70/clamav-milter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/clamav-0.70'
make: *** [all] Error 2

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Joe Maimon
Sent: Monday, May 03, 2004 1:19 PM
To: [EMAIL PROTECTED]
Subject: Re: [Clamav-users] problems compiling on rh7.3


looks like libsm from sendmail

Try downloading and installing the sendmail-devel kit

Or

downloading and compiling libmilter from sendmail source distribution
and using that path to the configure script


Raul Elizondo wrote:

>Hi,
>
>I am having this problem to compile clamav, the problem comes when i
>do --enable-milter in the ./configure then make.  If i dont use that, it
>compile with no problem.
>
>Any hint or help?
>
>Regards...
>
>-=Raul=-
>
>gcc -DHAVE_CONFIG_H -DSENDMAIL_BIN=\"/usr/sbin/sendmail\" -I. -I. -I.. -I..
/
>clam
>d -I../libclamav -I../shared    -g -O2 -c `test -f 'clamav-milter.c' ||
echo
>'./
>'`clamav-milter.c
>/bin/sh ../libtool --mode=link gcc  -g -O2   -o clamav-milter  cfgparser.o
>getop
>t.o memory.o
>clamav-milter.o  -L../libclamav -lclamav -L/usr/lib/libmilter -lmil
>ter  -lwrap -lpthread
>gcc -g -O2 -o .libs/clamav-milter cfgparser.o getopt.o memory.o
>clamav-milter.o
> -L/usr/local/src/clamav-0.70/libclamav
>/usr/local/src/clamav-0.70/libclamav/.li
>bs/libclamav.so -lz -lbz2 -lgmp -lnsl -L/usr/lib/libmilter -lmilter -lwrap 
-
>lpth
>read
>/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libmilter.a(main.o): In
>functio
>n `smfi_register':
>main.o(.text+0x74): undefined reference to `strlcpy'
>/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libmilter.a(main.o): In
>functio
>n `smfi_setconn':
>main.o(.text+0x12f): undefined reference to `strlcpy'
>/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libmilter.a(listener.o):
In
>fun
>ction `mi_milteropen':
>listener.o(.text+0x184): undefined reference to `strlcpy'
>/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libmilter.a(engine.o): In
>funct
>ion `st_connectinfo':
>engine.o(.text+0x83a): undefined reference to `strlcpy'
>collect2: ld returned 1 exit status
>make[2]: *** [clamav-milter] Error 1
>make[2]: Leaving directory `/usr/local/src/clamav-0.70/clamav-milter'
>make[1]: *** [all-recursive] Error 1
>make[1]: Leaving directory `/usr/local/src/clamav-0.70'
>make: *** [all] Error 2
>
>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by: Oracle 10g
>Get certified on the hottest thing ever to hit the market... Oracle 10g.
>Take an Oracle 10g class now, and we'll give you the exam FREE.
>http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
>_______________________________________________
>Clamav-users mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/clamav-users
>
>
>
>


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE. 
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to