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

Mailing List Archive: ClamAV: users

unable to compile clamav 0.93 on AIX 5.3

 

 

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


asa at isac

Apr 26, 2008, 2:11 AM

Post #1 of 8 (294 views)
Permalink
unable to compile clamav 0.93 on AIX 5.3

Dear List:

I am getting following error while compiling.

make all-recursive
Making all in libclamunrar
Target "all" is up to date.
Making all in libclamunrar_iface
Target "all" is up to date.
Making all in libclamav
Making all in lzma
Target "all" is up to date.
Making all in .
/bin/sh ../libtool --tag=CC --mode=compile gcc
-DHAVE_CONFIG_H -I. -I.. -I.. -I./nsis -I./lzma -g -O2 -MT
inflate64.lo -MD -MP -MF .deps/inflate64.Tpo -c -o inflate64.lo
inflate64.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I./nsis -I./lzma -g -O2 -MT
inflate64.lo -MD -MP -MF .deps/inflate64.Tpo -c inflate64.c -o
inflate64.o
In file included from inflate64.c:51:
inflate64_priv.h:128: error: expected identifier before '(' token
inflate64.c: In function 'inflate64':
inflate64.c:765: error: 'MEM' undeclared (first use in this function)
inflate64.c:765: error: (Each undeclared identifier is reported only once
inflate64.c:765: error: for each function it appears in.)
inflate64.c:767: error: 'SYNC' undeclared (first use in this function)
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 2.


Stop.


Please guide how to proceed.


Regards,

Anant Athavale.
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


edwintorok at gmail

Apr 26, 2008, 2:44 AM

Post #2 of 8 (279 views)
Permalink
Re: unable to compile clamav 0.93 on AIX 5.3 [In reply to]

ANANT S ATHAVALE wrote:
> Dear List:
>
> I am getting following error while compiling.
>
see this bugreport:
https://wwws.clamav.net/bugzilla/show_bug.cgi?id=947

Best regards,
--Edwin

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


steve at lobefin

Apr 26, 2008, 2:51 AM

Post #3 of 8 (280 views)
Permalink
Re: unable to compile clamav 0.93 on AIX 5.3 [In reply to]

On Sat, Apr 26, 2008 at 02:41:07PM +0530, ANANT S ATHAVALE said:
> Dear List:
>
> I am getting following error while compiling.
>
> /bin/sh ../libtool --tag=CC --mode=compile gcc
> -DHAVE_CONFIG_H -I. -I.. -I.. -I./nsis -I./lzma -g -O2 -MT
> inflate64.lo -MD -MP -MF .deps/inflate64.Tpo -c -o inflate64.lo
> inflate64.c
> gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I./nsis -I./lzma -g -O2 -MT
> inflate64.lo -MD -MP -MF .deps/inflate64.Tpo -c inflate64.c -o
> inflate64.o
> In file included from inflate64.c:51:
> inflate64_priv.h:128: error: expected identifier before '(' token

I don't see anything that is causing this. It might be possible that
it's including the wrong header somehow. Can you make available the
output of

gcc -E -DHAVE_CONFIG_H -I. -I.. -I.. -I./nsis -I./lzma inflate64.c

(run from the libclamav directory).

That might suggest something.
--
--------------------------------------------------------------------------
| Stephen Gran | For certain people, after fifty, |
| steve[at]lobefin.net | litigation takes the place of sex. -- |
| http://www.lobefin.net/~steve | Gore Vidal |
--------------------------------------------------------------------------
Attachments: signature.asc (0.18 KB)


asa at isac

Apr 26, 2008, 8:35 PM

Post #4 of 8 (275 views)
Permalink
Re: unable to compile clamav 0.93 on AIX 5.3 [In reply to]

Dear Edwin,

I saw this bug report. It exactly matches my error. But, I want to
know from the list whether will there be any issue if I change the
code as suggested in the same bug report. Or ClamAV team will modify
the code and release a CVS for the same?

Regards
ANANT.


Quoting Török Edwin <edwintorok[at]gmail.com>:

> ANANT S ATHAVALE wrote:
>> Dear List:
>>
>> I am getting following error while compiling.
>>
> see this bugreport:
> https://wwws.clamav.net/bugzilla/show_bug.cgi?id=947
>
> Best regards,
> --Edwin
>
> _______________________________________________
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://lurker.clamav.net/list/clamav-users.html
>



Regards,

Anant Athavale.
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


acabng at digitalfuture

Apr 29, 2008, 1:56 AM

Post #5 of 8 (268 views)
Permalink
Re: unable to compile clamav 0.93 on AIX 5.3 [In reply to]

ANANT S ATHAVALE wrote:
> Dear Edwin,
>
> I saw this bug report. It exactly matches my error. But, I want to
> know from the list whether will there be any issue if I change the
> code as suggested in the same bug report. Or ClamAV team will modify
> the code and release a CVS for the same?

Hi ANANT,
The bug is fixed in SVN, please give it a try.

aCaB
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


asa at isac

Apr 29, 2008, 10:05 PM

Post #6 of 8 (260 views)
Permalink
Re: unable to compile clamav 0.93 on AIX 5.3 [In reply to]

Dear aCaB,

Thanks, will try.

Regards,
ANANT.

Quoting aCaB <acabng[at]digitalfuture.it>:

> ANANT S ATHAVALE wrote:
>> Dear Edwin,
>>
>> I saw this bug report. It exactly matches my error. But, I want to
>> know from the list whether will there be any issue if I change the
>> code as suggested in the same bug report. Or ClamAV team will modify
>> the code and release a CVS for the same?
>
> Hi ANANT,
> The bug is fixed in SVN, please give it a try.
>
> aCaB
> _______________________________________________
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://lurker.clamav.net/list/clamav-users.html
>



Regards,

Anant Athavale.
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


mejaz at cyberia

May 2, 2008, 10:18 PM

Post #7 of 8 (246 views)
Permalink
Re: unable to compile clamav 0.93 on AIX 5.3 [In reply to]

Hi,

As per the sugestion i was trying to upgrade Clamav thorugh SVN i.e "clamav-devel-latest" In my solaris 8, but still the same issue as it was informed earlier its looking for "BZ2_bzDecompress" So please help us.

Ejaz



gcc -g -O2 -o .libs/clamscan output.o getopt.o cfgparser.o misc.o options.o clamscan.o others.o manager.o treewalk.o ../libclamav/.libs/libclamav.so -lbz2 -L/usr/local/lib /usr/local/lib/libgmp.so /usr/local/lib/libiconv.so -L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/ssl/lib -L/usr/openwin/lib -L/usr/lib -L/usr/local/mysql/lib/mysql -lpthread /export/home/mg2/clamav-devel-latest/libclamunrar_iface/.libs/libclamunrar_iface.so /export/home/mg2/clamav-devel-latest/libclamunrar/.libs/libclamunrar.so -lz -lnsl -lsocket -R/usr/local/lib
Undefined first referenced
symbol in file
BZ2_bzDecompress ../libclamav/.libs/libclamav.so
BZ2_bzDecompressEnd ../libclamav/.libs/libclamav.so
BZ2_bzDecompressInit ../libclamav/.libs/libclamav.so


Regards
Ejaz
----- Original Message -----
From: "aCaB" <acabng[at]digitalfuture.it>
To: "ClamAV users ML" <clamav-users[at]lists.clamav.net>
Sent: Tuesday, April 29, 2008 11:56 AM
Subject: Re: [Clamav-users] unable to compile clamav 0.93 on AIX 5.3


> ANANT S ATHAVALE wrote:
>> Dear Edwin,
>>
>> I saw this bug report. It exactly matches my error. But, I want to
>> know from the list whether will there be any issue if I change the
>> code as suggested in the same bug report. Or ClamAV team will modify
>> the code and release a CVS for the same?
>
> Hi ANANT,
> The bug is fixed in SVN, please give it a try.
>
> aCaB
> _______________________________________________
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://lurker.clamav.net/list/clamav-users.html
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


edwintorok at gmail

May 3, 2008, 12:16 AM

Post #8 of 8 (247 views)
Permalink
Re: unable to compile clamav 0.93 on AIX 5.3 [In reply to]

Ejaz wrote:
> Hi,
>
> As per the sugestion i was trying to upgrade Clamav thorugh SVN i.e "clamav-devel-latest" In my solaris 8, but still the same issue as it was informed earlier its looking for "BZ2_bzDecompress" So please help us.
>
> Ejaz
>
>
>
> gcc -g -O2 -o .libs/clamscan output.o getopt.o cfgparser.o misc.o options.o clamscan.o others.o manager.o treewalk.o ../libclamav/.libs/libclamav.so -lbz2 -L/usr/local/lib /usr/local/lib/libgmp.so /usr/local/lib/libiconv.so -L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/ssl/lib -L/usr/openwin/lib -L/usr/lib -L/usr/local/mysql/lib/mysql -lpthread /export/home/mg2/clamav-devel-latest/libclamunrar_iface/.libs/libclamunrar_iface.so /export/home/mg2/clamav-devel-latest/libclamunrar/.libs/libclamunrar.so -lz -lnsl -lsocket -R/usr/local/lib
> Undefined first referenced
> symbol in file
> BZ2_bzDecompress ../libclamav/.libs/libclamav.so
> BZ2_bzDecompressEnd ../libclamav/.libs/libclamav.so
> BZ2_bzDecompressInit ../libclamav/.libs/libclamav.so

Please open a bugreport, and attach your config.log, and the full make
output.

Best regards,
--Edwin
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

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


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.