Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ClamAV: users

clamav-0.95.3 fails to compile in Fedora 10

 

 

ClamAV users RSS feed   Index | Next | Previous | View Threaded


bill at maidment

Oct 29, 2009, 12:52 AM

Post #1 of 5 (1112 views)
Permalink
clamav-0.95.3 fails to compile in Fedora 10

Hi
The new 0.95.3 fails to compile in Fedora 10, but does compile OK in Fedora 11.
The Git snapshot does compile in Fedora 10, so obviously it has been fixed there.
Will a 0.95.3.1 release be imminent?
Cheers
Bill

--
Bill Maidment
Maidment Enterprises Pty Ltd
www.maidment.vu
Consultant to Elgas Ltd
Phone: 02 9904 3364

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml


bill at maidment

Oct 29, 2009, 1:03 AM

Post #2 of 5 (1069 views)
Permalink
clamav-0.95.3 fails to compile in Fedora 10 [In reply to]

Hi
The new 0.95.3 fails to compile in Fedora 10, but does compile OK in Fedora 11.
The Git snapshot does compile in Fedora 10, so obviously it has been fixed there.
Will a 0.95.3.1 release be imminent?
Cheers
Bill

This is on a 64 bit machine.
Compile error details:

libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I./nsis -I./lzma -I../libltdl
-DWARN_DLOPEN_FAIL -DSEARCH_LIBDIR=\"/usr/local/lib64\" -g -O2 -fno-strict-aliasing -MT
libclamav_la-matcher-bm.lo -MD -MP -MF .deps/libclamav_la-matcher-bm.Tpo -c matcher-bm.c
-fPIC -DPIC -o .libs/libclamav_la-matcher-bm.o
In file included from matcher.h:29,
from others.h:22,
from matcher-bm.c:30:
others.h: In function ‘cli_getpagesize’:
others.h:363: error: ‘_SC_PAGESIZE’ undeclared (first use in this function)
others.h:363: error: (Each undeclared identifier is reported only once
others.h:363: error: for each function it appears in.)
make[4]: *** [libclamav_la-matcher-bm.lo] Error 1

--
Bill Maidment
Maidment Enterprises Pty Ltd
www.maidment.vu
Consultant to Elgas Ltd
Phone: 02 9904 3364

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml


mhaeker at its-h

Oct 29, 2009, 2:13 AM

Post #3 of 5 (1048 views)
Permalink
Re: clamav-0.95.3 fails to compile in Fedora 10 [In reply to]

Hi

same Error on FreeBSD 4.10

./configure runs fine

make produces the Error

In file included from matcher.h:28,
                 from others.h:21,
                 from pe.c:40:
others.h: In function `cli getpagesize':
others.h:363: ` SC PAGESIZE' undeclared (first use in this function)
others.h:363: (Each undeclared identifier is reported only once
others.h:363: for each function it appears in.)

----- Original Message -----
From: bill [at] maidment
To: clamav-users [at] lists
Sent: Thu, 29 Oct 2009 09:04:18
Subject: [Clamav-users] clamav-0.95.3 fails to compile in Fedora 10

Hi
The new 0.95.3 fails to compile in Fedora 10, but does compile OK in Fedora 11.
The Git snapshot does compile in Fedora 10, so obviously it has been fixed there.
Will a 0.95.3.1 release be imminent?
Cheers
Bill

This is on a 64 bit machine.
Compile error details:

libtool: compile: gcc -DHAVE CONFIG H -I. -I.. -I.. -I./nsis -I./lzma -I../libltdl
-DWARN DLOPEN FAIL -DSEARCH LIBDIR=\"/usr/local/lib64\" -g -O2 -fno-strict-aliasing -MT
libclamav la-matcher-bm.lo -MD -MP -MF .deps/libclamav la-matcher-bm.Tpo -c matcher-bm.c
-fPIC -DPIC -o .libs/libclamav la-matcher-bm.o
In file included from matcher.h:29,
from others.h:22,
from matcher-bm.c:30:
others.h: In function ‘cli getpagesize’:
others.h:363: error: ‘ SC PAGESIZE’ undeclared (first use in this function)
others.h:363: error: (Each undeclared identifier is reported only once
others.h:363: error: for each function it appears in.)
make[4]: *** [libclamav la-matcher-bm.lo] Error 1

--
Bill Maidment
Maidment Enterprises Pty Ltd
www.maidment.vu
Consultant to Elgas Ltd
Phone: 02 9904 3364

Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml



_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml


steveb_clamav at sanesecurity

Oct 29, 2009, 2:55 AM

Post #4 of 5 (1049 views)
Permalink
Re: clamav-0.95.3 fails to compile in Fedora 10 [In reply to]

> Hi
>
> same Error on FreeBSD 4.10

This fix was added yesterday, so that might be the issue:

http://git.clamav.net/gitweb?p=clamav-devel.git;a=commitdiff;h=e889924a70e881e0d74ade2b53b5255b94523161

ie:

unistd.h - standard symbolic constants and types:
(int getpagesize(void); (LEGACY))

Cheers,

Steve
Sanesecurity

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml


bill at maidment

Oct 29, 2009, 4:18 AM

Post #5 of 5 (1042 views)
Permalink
Re: clamav-0.95.3 fails to compile in Fedora 10 [In reply to]

On Thu, 29 Oct 2009 09:55:15 -0000 (GMT), Steve Basford wrote
> > Hi
> >
> > same Error on FreeBSD 4.10
>
> This fix was added yesterday, so that might be the issue:
>
>
http://git.clamav.net/gitweb?p=clamav-devel.git;a=commitdiff;h=e889924a70e881e0d74ade2b53b5255b94523161
>
> ie:
>
> unistd.h - standard symbolic constants and types:
> (int getpagesize(void); (LEGACY))
>
> Cheers,
>
> Steve
> Sanesecurity
>
> _______________________________________________
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://www.clamav.net/support/ml

Yep. That did the trick. (I wonder why Fedora 11 didn't have the issue???)
Anyway thanks for the input.

--
Bill Maidment
Maidment Enterprises Pty Ltd
www.maidment.vu
Consultant to Elgas Ltd
Phone: 02 9904 3364

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

ClamAV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.