Shawn Webb wrote:
On Wed, Sep 25, 2013 at 4:51 AM, Francis Stevens <
francis.stev...@bristow.co.uk> wrote:

Shawn Webb wrote:

On Tue, Sep 24, 2013 at 2:21 PM, Rob Sterenborg (lists) <
li...@sterenborg.info> wrote:

  On 09/24/2013 03:51 PM, Shawn Webb wrote:

  On Mon, Sep 23, 2013 at 5:04 PM, Dennis Peterson <denni...@inetnw.com

wrote:


   On 9/23/13 1:59:42PM, Shawn Webb wrote:



  Maybe this time I'll actually attach the patch. ;)

    I believe the list server  discourages attachments.


dp



Did the patch not go through?


No it didn't.



The patch has been uploaded to this BugZilla report:
https://bugzilla.clamav.net/**show_bug.cgi?id=8959<https://bugzilla.clamav.net/show_bug.cgi?id=8959>
______________________________**_________________
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/**clamav-faq<https://github.com/vrtadmin/clamav-faq>
http://www.clamav.net/support/**ml <http://www.clamav.net/support/ml>


I applied the patch but still get the same compile error.

   CC     libclamav_la-upx.lo

In file included from 7z/LzmaDec.h:7,
                  from lzma_iface.h:26,
                  from upx.c:59:
7z/Types.h:58: redefinition of `Byte'
/usr/local/zlib/include/zconf.**h:368: `Byte' previously declared here

make[4]: *** [libclamav_la-upx.lo] Error 1


Hey Francis,

Can you add the --disable-silent-rules option to your configure script and
re-run make? It'd be helpful to see what's being passed to the compiler.

Here's a small patch that might help. Can you give this a try and let me
know how it goes? http://ix.io/8fk

Thanks,

Shawn
_______________________________________________
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/support/ml


This is the result of --disable-silent-rules

libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I./nsis -I../libltdl -DWARN_DLOPEN_FAIL -I/usr/local/zlib/include -DSEARCH_LIBDIR=\"/usr/local/lib\" -g -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -MT libclamav_la-upx.lo -MD -MP -MF .deps/libclamav_la-upx.Tpo -c upx.c -fPIC -DPIC -o .libs/libclamav_la-upx.o
In file included from 7z/LzmaDec.h:7,
                 from lzma_iface.h:26,
                 from upx.c:59:
7z/Types.h:58: redefinition of `Byte'
/usr/local/zlib/include/zconf.h:368: `Byte' previously declared here
make[4]: *** [libclamav_la-upx.lo] Error 1
make[4]: Leaving directory `/root/email/clamav-0.98/libclamav'

applying the patch resolved the compile error, but I see that it is just making the changes I made manually originally.

FAS
_______________________________________________
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/support/ml

Reply via email to