pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Problem installing ClamAV 0.90.1
On 3/14/07 6:12 AM, "Roland Illig" <rillig%NetBSD.org@localhost> wrote:
> Frank DeChellis wrote:
>> Hi there,
>>
>> We are using NetBSD 1.6.2 and I¹m having trouble installing clamAV 0.90.1
>> All has worked fine until now. I have the latest pkg_install installed.
>> Running ³make update² it does it¹s thing then ends with
>>
>> [wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
>> /usr/pkg/bin/libtool --tag=CC --mode=link cc -O2
>> -I/usr/pkgsrc/mail/clamav/work/.buildlink/include
>> -L/usr/pkgsrc/mail/clamav/work/.buildlink/lib -Wl,-R/usr/pkg/lib -o clamscan
>> output.o getopt.o cfgparser.o misc.o options.o clamscan.o others.o manager.o
>> treewalk.o ../libclamav/libclamav.la -lpthread
>
> You forgot to post the relevant line. :) It's the line above this one.
> This one is only a "note" for helping developers to find bugs. The error
> message from the compiler must be somewhere above that.
>
> I think the build failure has to do with the -lpthread option. NetBSD
> 1.6.2 did not really have threading, and I remember that it was painful
> to get all those threading packages to work on it.
>
> Roland
>
Thanks...does this help at all? I'm not sure what I am looking at. This is
my on screen output. The last line in my .work.log file is after this.
Funny, it mentions lpthread :-)
creating libclamav.la
(cd .libs && rm -f libclamav.la && ln -s ../libclamav.la libclamav.la)
Making all in clamscan
source='../shared/output.c' object='output.o' libtool=no DEPDIR=.deps
depmode=gcc /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I.
-I.. -I.. -I../shared -I../libclamav -I/usr/pkg/include -I/usr/include
-I/usr/include -I/usr/pkg/include -O2 -I/usr/pkg/include -I/usr/include -c
-o output.o `test -f '../shared/output.c' || echo './'`../shared/output.c
source='../shared/getopt.c' object='getopt.o' libtool=no DEPDIR=.deps
depmode=gcc /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I.
-I.. -I.. -I../shared -I../libclamav -I/usr/pkg/include -I/usr/include
-I/usr/include -I/usr/pkg/include -O2 -I/usr/pkg/include -I/usr/include -c
-o getopt.o `test -f '../shared/getopt.c' || echo './'`../shared/getopt.c
source='../shared/cfgparser.c' object='cfgparser.o' libtool=no DEPDIR=.deps
depmode=gcc /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I.
-I.. -I.. -I../shared -I../libclamav -I/usr/pkg/include -I/usr/include
-I/usr/include -I/usr/pkg/include -O2 -I/usr/pkg/include -I/usr/include -c
-o cfgparser.o `test -f '../shared/cfgparser.c' || echo
'./'`../shared/cfgparser.c
source='../shared/misc.c' object='misc.o' libtool=no DEPDIR=.deps
depmode=gcc /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I.
-I.. -I.. -I../shared -I../libclamav -I/usr/pkg/include -I/usr/include
-I/usr/include -I/usr/pkg/include -O2 -I/usr/pkg/include -I/usr/include -c
-o misc.o `test -f '../shared/misc.c' || echo './'`../shared/misc.c
source='../shared/options.c' object='options.o' libtool=no DEPDIR=.deps
depmode=gcc /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I.
-I.. -I.. -I../shared -I../libclamav -I/usr/pkg/include -I/usr/include
-I/usr/include -I/usr/pkg/include -O2 -I/usr/pkg/include -I/usr/include -c
-o options.o `test -f '../shared/options.c' || echo './'`../shared/options.c
source='clamscan.c' object='clamscan.o' libtool=no DEPDIR=.deps depmode=gcc
/bin/sh ../depcomp cc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I. -I.. -I..
-I../shared -I../libclamav -I/usr/pkg/include -I/usr/include
-I/usr/include -I/usr/pkg/include -O2 -I/usr/pkg/include -I/usr/include -c
clamscan.c
source='others.c' object='others.o' libtool=no DEPDIR=.deps depmode=gcc
/bin/sh ../depcomp cc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I. -I.. -I..
-I../shared -I../libclamav -I/usr/pkg/include -I/usr/include
-I/usr/include -I/usr/pkg/include -O2 -I/usr/pkg/include -I/usr/include -c
others.c
source='manager.c' object='manager.o' libtool=no DEPDIR=.deps depmode=gcc
/bin/sh ../depcomp cc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I. -I.. -I..
-I../shared -I../libclamav -I/usr/pkg/include -I/usr/include
-I/usr/include -I/usr/pkg/include -O2 -I/usr/pkg/include -I/usr/include -c
manager.c
In file included from /usr/include/sys/param.h:100,
from ../libclamav/others.h:54,
from manager.c:62:
/usr/include/sys/syslimits.h:50: warning: `NAME_MAX' redefined
../shared/misc.h:29: warning: this is the location of the previous
definition
manager.c: In function `move_infected':
manager.c:552: warning: assignment discards qualifiers from pointer target
type
source='treewalk.c' object='treewalk.o' libtool=no DEPDIR=.deps depmode=gcc
/bin/sh ../depcomp cc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I. -I.. -I..
-I../shared -I../libclamav -I/usr/pkg/include -I/usr/include
-I/usr/include -I/usr/pkg/include -O2 -I/usr/pkg/include -I/usr/include -c
treewalk.c
/bin/sh ../libtool --tag=CC --mode=link cc -O2 -I/usr/pkg/include
-I/usr/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib
-o clamscan output.o getopt.o cfgparser.o misc.o options.o clamscan.o
others.o manager.o treewalk.o ../libclamav/libclamav.la -lpthread
mkdir .libs
cc -O2 -I/usr/pkgsrc/mail/clamav/work/.buildlink/include -Wl,-R/usr/pkg/lib
-o .libs/clamscan output.o getopt.o cfgparser.o misc.o options.o clamscan.o
others.o manager.o treewalk.o -L/usr/pkgsrc/mail/clamav/work/.buildlink/lib
../libclamav/.libs/libclamav.so -lbz2
/usr/pkgsrc/mail/clamav/work/.buildlink/lib/libgmp.so
/usr/pkgsrc/mail/clamav/work/.buildlink/lib/libcurl.so
-L/usr/pkgsrc/mail/clamav/work/.buildlink/gcc-2.95.3/lib/gcc-lib/i386--netbs
delf/2.95.3 -L/usr/pkgsrc/mail/clamav/work/.buildlink/gcc-2.95.3/lib
/usr/pkgsrc/mail/clamav/work/.buildlink/lib/libidn.so
/usr/pkgsrc/mail/clamav/work/.buildlink/lib/libiconv.so -lintl -lssl
-lcrypto -lz /usr/pkgsrc/mail/clamav/work/.buildlink/lib/libpthread.so
-Wl,--rpath -Wl,/usr/pkg/lib -Wl,--rpath
-Wl,/usr/pkgsrc/mail/clamav/work/.buildlink/lib
../libclamav/.libs/libclamav.so: undefined reference to `readdir_r'
collect2: ld returned 1 exit status
[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/usr/pkgsrc/mail/clamav/work/.gcc/bin/gcc -O2
-I/usr/pkgsrc/mail/clamav/work/.buildlink/include -Wl,-R/usr/pkg/lib -o
.libs/clamscan output.o getopt.o cfgparser.o misc.o options.o clamscan.o
others.o manager.o treewalk.o -L/usr/pkgsrc/mail/clamav/work/.buildlink/lib
../libclamav/.libs/libclamav.so
-L/usr/pkgsrc/mail/clamav/work/.buildlink/gcc-2.95.3/lib/gcc-lib/i386--netbs
delf/2.95.3 -L/usr/pkgsrc/mail/clamav/work/.buildlink/gcc-2.95.3/lib
-Wl,--rpath,/usr/pkg/lib -lbz2 -lgmp -lcurl -lidn -liconv -lintl -lssl
-lcrypto -lz -lpthread
[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/usr/pkg/bin/libtool --tag=CC --mode=link cc -O2
-I/usr/pkgsrc/mail/clamav/work/.buildlink/include
-L/usr/pkgsrc/mail/clamav/work/.buildlink/lib -Wl,-R/usr/pkg/lib -o clamscan
output.o getopt.o cfgparser.o misc.o options.o clamscan.o others.o manager.o
treewalk.o ../libclamav/libclamav.la -lpthread
>From .work.log
==> Reordering libraries: -lbz2 -lgmp -lcurl -lidn -liconv -lintl -lssl
-lcrypto -lz -lpthread
<.> /usr/pkgsrc/mail/clamav/work/.gcc/bin/gcc -O2
-I/usr/pkgsrc/mail/clamav/work/.buildlink/include -Wl,-R/usr/pkg/lib -o
.libs/clamscan output.o getopt.o cfgparser.o misc.o options.o clamscan.o
others.o manager.o treewalk.o -L/usr/pkgsrc/mail/clamav/work/.buildlink/lib
../libclamav/.libs/libclamav.so
-L/usr/pkgsrc/mail/clamav/work/.buildlink/gcc-2.95.3/lib/gcc-lib/i386--netbs
delf/2.95.3 -L/usr/pkgsrc/mail/clamav/work/.buildlink/gcc-2.95.3/lib
-Wl,--rpath,/usr/pkg/lib -lbz2 -lgmp -lcurl -lidn -liconv -lintl -lssl
-lcrypto -lz -lpthread
Frank DeChellis
President, Internet Access Worldwide
Welland, Ontario, Canada
www.iaw.com
Please consider supporting my walk in the Weekend to End Breast Cancer
http://www.endcancer.ca/site/TR?pg=personal&fr_id=1202&px=1812643
Home |
Main Index |
Thread Index |
Old Index