ClamAV-clamd: LibClamAV Error: mpool_malloc(): Attempt to allocate 8388608 bytes...

IT_Architect

Verified User
Joined
Feb 27, 2006
Messages
1,114
All of the sudden yesterday, email stopped on two servers. Resetting Exim and Dovecot didn't help. Looking at logs, it seemed like everything was a virus. When I rebooted, I noticed at the console when clamd loaded I got the following error thousands of times in rapid succession and nothing after it gets a chance to load until I did a <ctrl>c:
Code:
LibClamAV Error: mpool_malloc(): Attempt to allocate 8388608 bytes. Please report to http://bugs.clamav.net
I Googled for the problem, and it found Bug 8933 - clamd memory problem, leading to smtp failure This is exactly what happened here. It talks about the MemLimit being too low, which I assume came from an AV update that made the database too large? I don't see MemLimit for the config documented anywhere. I do see it in /usr/src/lib/libc/db/mpool/mpool.c.

It is no surprise that exim logs show everything getting getting rejected as malware. I then turned clamd and freshclam off in rc.conf, and edited clamd entries out of exim.conf. That got the email working.

However, that is not a fix, and this is an old FreeBSD 7.x server which has not been upgraded due to software incompatibilities with newer. Any ideas how to fix this?

Edit: I see the difference between the two VMs with the problem, and the third that doesn't have the problem. The ones with the problem are running ClamAV 0.97.7, and the one without 0.98.4. They are all on FreeBSD 7.2. The two on 0.97.7 are on that because they have line-of-business apps that need the older php. Would it work to copy clamd from the one the works to the other two?

Thanks!
 
Last edited:
You should update clamav using custombuild, that would fix your problem probably.

Updating ClamAV will not affect PHP and the other software versions.

Best regards
 
I wonder... What has ClamAV to do with old PHP version? How are they bind on your server?
 
I wonder... What has ClamAV to do with old PHP version? How are they bind on your server?
ClamAV was put in through ports. If I upgrade ports, one dependency leads to another. A line of business software is encrypted. The vendor went out of business. There is no suitable replacement for the software at this time. The software is not compatible with the new php. The package idea could work.
 
You should update clamav using custombuild, that would fix your problem probably.
Nuts! Doesn't work. Just produces thousands of errors ending with
"*** The make has failed, do you want to try to make again? (y,n): n."
Copying in a newer one doesn't work either.
 
Last edited:
Would it work to copy clamd from the one the works to the other two?

Just give it a try... and update us with results. Just make sure to backup existing binaries.
 
Edit: Forget the following. It will look like it is working, but it does not.

I got it to work, but copying clamd didn't work. It threw the error:
Code:
ERROR: This tool requires libclamav with functionality level 77 or higher (current f-level: 68)
Basically, this is what I did to get it to work:
1. On the machine with the newer ClamAV, I did a find on *clam* to get a list of files.
2. On my PC desktop I made a directory structure and copied the files into it:
ClamAV
-|_etc
-|_usr
---|_ local
-----|_lib
-----|_libdata
-----| |_ pkgconfig
-----|_sbin
3. On the servers with the old versions, I renamed all of the matching files in those directories to *.was
4. I copied the files from the PC to the server with the old files. I set the rights on them to be the same as their .was counterparts.
5. Re-enabled ClamAV in rc.conf and ran /usr/local/etc/rc.d/clamav-clamd and checked with ps -ax|clamd to make sure it was working
6. Ran clamd -V and confirmed it was the new version
7. Copied back the original exim.conf that had ClamAV support and ran /usr/local/etc/rc.d/exim restart and tested. Everything is working OK.
8. I'm sending and receiving email. I'm still checking things out to make sure things are actually working and need to prove things by sending an EICAR test virus etc.

A couple of things I ran into were you MUST bring across the clamav.conf because the new version cannot parse the old clamav.conf file. The other was the clamav.conf would not work in /usr/local/etc as before, and needed to be moved to /etc.

Edit: Now I have issues with freshclam.
Code:
/libexec/ld-elf.so.1: freshclam: Undefined symbol "sha256_init"
Edit: The above freshclam issue was simply me not starting it correctly.
 
Last edited:
I learned that freshclam throws errors that are not necessarily errors. For instance, it says it cannot create the sub-directories it needs, and proceeds to tell you the rights it needs. The problem is, it has already created the directories, and when it tries a second time, it throws and error.

I tried sending the EICAR test virus to the server with ClamAV running and one without. I get the message that they sent it, but the test virus email doesn't show up either way. I would think it would on the one not running ClamAV, and I would get a cleaned email on one, and the email with the virus on the other. They are nowhere to be found, not in trash or spam.
 
Last edited:
I learned using http://www.aleph-tec.com/eicar/ for testing with the EICAR virus does not work. The notification file makes it through, but not the virus file. When I examine the header of the files, I see they use your-site.com, a third party hosting company, for sending the email, scans and blocks the test virus messages. LOL! Header from the EICAR test notification:
Code:
Return-path: <[email protected]>
Envelope-to: [email]IT_Architect@IT_Architect.com[/email]
Delivery-date: Tue, 25 Oct 2016 20:20:42 -0400
Received: from mail by server1.it_architect.com with spam-scanned (Exim 4.80.1)
(envelope-from <[email protected]>)
id 1bzBxE-000HD0-Lb
for [email]IT_Architect@IT_Architect.com[/email]; Tue, 25 Oct 2016 20:20:42 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
server1.it_architect.com
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,
SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED autolearn=ham version=3.3.1
X-Spam-Relay-Country: XX ** ** **
[B][COLOR="#FF0000"]Received: from batch.outbound.your-site.com ([205.233.73.32])[/COLOR][/B]
by server1.it_architect.com with esmtps (TLSv1:DHE-RSA-AES256-SHA:256)
(Exim 4.80.1)
(envelope-from <[email protected]>)
id 1bzBxE-000HCv-In
for [email]IT_Architect@IT_Architect.com[/email]; Tue, 25 Oct 2016 20:20:28 -0400
[B][COLOR="#FF0000"]Received: from bulk.outbound.your-site.com (unknown [10.1.18.242])
by 5194.batch.mail.your-site.com (Postfix) with ESMTP id 3t3VzH6vpPz4w0y[/COLOR][/B]
for <IT_Architect@IT_Architect.com>; Tue, 25 Oct 2016 20:20:27 -0400 (EDT)
Received: from localhost (localhost [127.0.0.1])
[B][COLOR="#FF0000"]by 5244.bulk.mail.your-site.com (Postfix) with ESMTP id 3t3Vyj6fZ3z10JR
for[/COLOR][/B] <IT_Architect@IT_Architect.com>; Tue, 25 Oct 2016 20:19:57 -0400 (EDT)
[B][COLOR="#FF0000"]X-Virus-Scanned: Debian amavisd-new at 5014.mail.vm.your-site.com
Received: from 1881.web (unknown [10.1.18.81])
by 5244.bulk.mail.your-site.com (Postfix) with ESMTP id 3t3Vyj5tJ0z107S[/COLOR][/B]
for <IT_Architect@IT_Architect.com>; Tue, 25 Oct 2016 20:19:57 -0400 (EDT)
Received: (from aleph@localhost)
by 1881.web (8.14.4/8.14.4/Submit) id u9Q0JvIw042424;
Tue, 25 Oct 2016 20:19:57 -0400
Date: Tue, 25 Oct 2016 20:19:57 -0400
Message-Id: <[email protected]>
To: Jack Toering <IT_Architect@IT_Architect.com>
Subject: EICAR anti-virus test file:
X-PHP-Originating-Script: 30888:index.php
From: [email][email protected][/email]
Reply-To: [email]IT_Architect@IT_Architect.com[/email]
Errors-To: [email]IT_Architect@IT_Architect.com[/email]
X-Mailer: PHP/5.3.10-2ubuntu3.25a
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="eicar-test-file"
X-Antivirus-Scanner: Clean mail though you should still use an Antivirus

--eicar-test-file
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
your-site.com is some hosting company, and the IP address 205.233.73.32 belongs to them. Anyone know a good source on the web like this that can send an EICAR test file, or do I have I have to turn off AV locally every time and send messages with EICAR attachments?
Thanks!
 
Let me say that copying files like I did got ClamAV to run, but the scanning does not work.
 
Can you let us know the errors you get if you try to build it from custombuild? Maybe are easy to fix. Regards
I would appreciate any help I can get.
Code:
# uname -a
FreeBSD server.mydomain.com 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24 00:14:35 UTC 2009     [email protected]:/usr/obj/usr/src/sys/GENERIC  amd64

The following is a copy of the session. (Why does it show debian?)
Code:
server# cd /usr/local/directadmin/custombuild

server# ./build update

mail-header-patch=yes is set in the options.conf, but is not required with this php version.
To enable the X-Mail header, set mail.add_x_header to 1 in your php.ini

./custombuild.tar.gz                            0% of  112 kB    0  Bps
./custombuild.tar.gz                           28% of  112 kB  371 kBps
./custombuild.tar.gz                          100% of  112 kB  646 kBps
extracting custombuild.tar.gz for 1.1 ...
x custombuild/
x custombuild/build
x custombuild/configure/
x custombuild/configure/dovecot/
x custombuild/configure/dovecot/dovecot.conf
x custombuild/configure/pureftpd/
x custombuild/configure/pureftpd/configure.pureftpd
x custombuild/configure/suphp/
x custombuild/configure/suphp/configure.php5
x custombuild/configure/suphp/configure.suphp
x custombuild/configure/suphp/configure.php4
x custombuild/configure/proftpd/
x custombuild/configure/proftpd/configure.proftpd
x custombuild/configure/ap1/
x custombuild/configure/ap1/configure.apache_ssl
x custombuild/configure/ap1/conf/
x custombuild/configure/ap1/conf/extra/
x custombuild/configure/ap1/conf/extra/httpd-userdir.conf
x custombuild/configure/ap1/conf/extra/httpd-vhosts.conf
x custombuild/configure/ap1/conf/extra/httpd-languages.conf
x custombuild/configure/ap1/conf/extra/httpd-autoindex.conf
x custombuild/configure/ap1/conf/extra/httpd-ssl.conf
x custombuild/configure/ap1/conf/extra/httpd-default.conf
x custombuild/configure/ap1/conf/extra/httpd-alias.conf
x custombuild/configure/ap1/conf/extra/httpd-multilang-errordoc.conf
x custombuild/configure/ap1/conf/extra/httpd-deflate.conf
x custombuild/configure/ap1/conf/extra/httpd-info.conf
x custombuild/configure/ap1/conf/extra/directadmin-vhosts.conf
x custombuild/configure/ap1/conf/mime.types
x custombuild/configure/ap1/conf/magic
x custombuild/configure/ap1/conf/httpd.conf
x custombuild/configure/ap1/configure.php5
x custombuild/configure/ap1/configure.php4
x custombuild/configure/ap2/
x custombuild/configure/ap2/cert_config
x custombuild/configure/ap2/conf/
x custombuild/configure/ap2/conf/extra/
x custombuild/configure/ap2/conf/extra/httpd-userdir.conf
x custombuild/configure/ap2/conf/extra/httpd-vhosts.conf
x custombuild/configure/ap2/conf/extra/httpd-languages.conf
x custombuild/configure/ap2/conf/extra/httpd-autoindex.conf
x custombuild/configure/ap2/conf/extra/httpd-ssl.conf
x custombuild/configure/ap2/conf/extra/httpd-default.conf
x custombuild/configure/ap2/conf/extra/httpd-alias.conf
x custombuild/configure/ap2/conf/extra/httpd-dav.conf
x custombuild/configure/ap2/conf/extra/httpd-directories-old.conf
x custombuild/configure/ap2/conf/extra/httpd-mpm.conf
x custombuild/configure/ap2/conf/extra/httpd-directories-new.conf
x custombuild/configure/ap2/conf/extra/httpd-multilang-errordoc.conf
x custombuild/configure/ap2/conf/extra/httpd-deflate.conf
x custombuild/configure/ap2/conf/extra/httpd-mpm.conf_2.0
x custombuild/configure/ap2/conf/extra/httpd-info.conf
x custombuild/configure/ap2/conf/extra/directadmin-vhosts.conf
x custombuild/configure/ap2/conf/extra/httpd-manual.conf
x custombuild/configure/ap2/conf/mime.types
x custombuild/configure/ap2/conf/magic
x custombuild/configure/ap2/conf/httpd.conf
x custombuild/configure/ap2/conf/httpd.conf_2.0
x custombuild/configure/ap2/configure.php5
x custombuild/configure/ap2/configure.apache
x custombuild/configure/ap2/configure.php4

./versions.txt                                  0% of   10 kB    0  Bps
./versions.txt                                100% of   10 kB   56 MBps
mail-header-patch=yes is set in the options.conf, but is not required with this php version.
To enable the X-Mail header, set mail.add_x_header to 1 in your php.ini
File already exists:	servers.txt
MD5 Checksum on servers.txt passed.
File already exists:	httpd-2.2.31.tar.gz
MD5 Checksum on httpd-2.2.31.tar.gz passed.
File already exists:	apr-1.5.2.tar.gz
MD5 Checksum on apr-1.5.2.tar.gz passed.
File already exists:	apr-util-1.5.4.tar.gz
MD5 Checksum on apr-util-1.5.4.tar.gz passed.
File already exists:	httpd_2
File already exists:	httpd_2_freebsd
File already exists:	httpd_2_debian
File already exists:	mime.types
File already exists:	mod_perl-2.0.8.tar.gz
MD5 Checksum on mod_perl-2.0.8.tar.gz passed.
File already exists:	curl-7.50.3.tar.gz
MD5 Checksum on curl-7.50.3.tar.gz passed.
File already exists:	pcre-8.20.tar.gz
MD5 Checksum on pcre-8.20.tar.gz passed.
File already exists:	libmcrypt-2.5.8.tar.gz
MD5 Checksum on libmcrypt-2.5.8.tar.gz passed.
File already exists:	mhash-0.9.9.9.tar.gz
MD5 Checksum on mhash-0.9.9.9.tar.gz passed.
File already exists:	freetype-2.7.0.tar.gz
MD5 Checksum on freetype-2.7.0.tar.gz passed.
File already exists:	libiconv-1.14.tar.gz
MD5 Checksum on libiconv-1.14.tar.gz passed.
File already exists:	libxml2-2.7.6.tar.gz
MD5 Checksum on libxml2-2.7.6.tar.gz passed.
File already exists:	libxslt-1.1.29.tar.gz
MD5 Checksum on libxslt-1.1.29.tar.gz passed.
File already exists:	icu4c-4_8_1_1-src.tgz
MD5 Checksum on icu4c-4_8_1_1-src.tgz passed.
File already exists:	php-5.3.29.tar.gz
MD5 Checksum on php-5.3.29.tar.gz passed.
File already exists:	webalizer-2.23-08-src.tgz
Downloading		proftpd-1.3.5b.tar.gz...

/usr/local/directadmin/custombuild/proftpd-1.3  0% of   28 MB    0  Bps
/usr/local/directadmin/custombuild/proftpd-1.3  0% of   28 MB   11 MBps
/usr/local/directadmin/custombuild/proftpd-1.3 38% of   28 MB   10 MBps
/usr/local/directadmin/custombuild/proftpd-1.3 78% of   28 MB   11 MBps
/usr/local/directadmin/custombuild/proftpd-1.3100% of   28 MB   11 MBps
MD5 Checksum on proftpd-1.3.5b.tar.gz passed.
File already exists:	proftpd
File already exists:	proftpd_freebsd
File already exists:	proftpd_debian
File already exists:	suphp-0.7.1.tar.gz
MD5 Checksum on suphp-0.7.1.tar.gz passed.
Downloading		exim-4.87.tar.gz...

/usr/local/directadmin/custombuild/exim-4.87.t  0% of 2249 kB    0  Bps
/usr/local/directadmin/custombuild/exim-4.87.t100% of 2249 kB   10 MBps
MD5 Checksum on exim-4.87.tar.gz passed.
File already exists:	exim
File already exists:	exim_freebsd
File already exists:	exim_debian
Downloading		dovecot-2.2.25.tar.gz...

/usr/local/directadmin/custombuild/dovecot-2.2  0% of 5445 kB    0  Bps
/usr/local/directadmin/custombuild/dovecot-2.2 15% of 5445 kB   10 MBps
/usr/local/directadmin/custombuild/dovecot-2.2100% of 5445 kB   11 MBps
MD5 Checksum on dovecot-2.2.25.tar.gz passed.
File already exists:	dovecot.boot
File already exists:	dovecot.boot.freebsd
File already exists:	dovecot.boot.debian
File already exists:	dovecot.conf
File already exists:	exim.conf.dovecot.patch
MD5 Checksum on exim.conf.dovecot.patch passed.
File already exists:	autoconf-2.68.tar.gz
MD5 Checksum on autoconf-2.68.tar.gz passed.
Downloading		m4-1.4.17.tar.gz...

/usr/local/directadmin/custombuild/m4-1.4.17.t  0% of 1777 kB    0  Bps
/usr/local/directadmin/custombuild/m4-1.4.17.t100% of 1777 kB   11 MBps
MD5 Checksum on m4-1.4.17.tar.gz passed.
Downloading		automake-1.15.tar.gz...

/usr/local/directadmin/custombuild/automake-1.  0% of 2191 kB    0  Bps
/usr/local/directadmin/custombuild/automake-1. 12% of 2191 kB  916 kBps
/usr/local/directadmin/custombuild/automake-1. 77% of 2191 kB 1294 kBps
/usr/local/directadmin/custombuild/automake-1.100% of 2191 kB 1320 kBps
MD5 Checksum on automake-1.15.tar.gz passed.
Downloading		libtool-2.4.5.tar.gz...

/usr/local/directadmin/custombuild/libtool-2.4  0% of 1760 kB    0  Bps
/usr/local/directadmin/custombuild/libtool-2.4 38% of 1760 kB 1193 kBps
/usr/local/directadmin/custombuild/libtool-2.4100% of 1760 kB 1341 kBps
MD5 Checksum on libtool-2.4.5.tar.gz passed.
server# ./build set clamav yes

mail-header-patch=yes is set in the options.conf, but is not required with this php version.
To enable the X-Mail header, set mail.add_x_header to 1 in your php.ini
Changed clamav option from no to yes
server# ./build clamav

mail-header-patch=yes is set in the options.conf, but is not required with this php version.
To enable the X-Mail header, set mail.add_x_header to 1 in your php.ini
Downloading		clamav-0.99.2.tar.gz...

/usr/local/directadmin/custombuild/clamav-0.99  0% of   15 MB    0  Bps
/usr/local/directadmin/custombuild/clamav-0.99 30% of   15 MB   11 MBps
/usr/local/directadmin/custombuild/clamav-0.99100% of   15 MB   11 MBps
MD5 Checksum on clamav-0.99.2.tar.gz passed.
Downloading		clamd...

/usr/local/directadmin/custombuild/clamd        0% of  840  B    0  Bps
/usr/local/directadmin/custombuild/clamd      100% of  840  B   10 MBps
Downloading		clamd_freebsd...

/usr/local/directadmin/custombuild/clamd_freeb  0% of 1556  B    0  Bps
/usr/local/directadmin/custombuild/clamd_freeb100% of 1556  B  151 kBps
Downloading		clamd_debian...

/usr/local/directadmin/custombuild/clamd_debia  0% of 1116  B    0  Bps
/usr/local/directadmin/custombuild/clamd_debia100% of 1116  B 8076 kBps
Downloading		freshclam...

/usr/local/directadmin/custombuild/freshclam    0% of  904  B    0  Bps
/usr/local/directadmin/custombuild/freshclam  100% of  904  B 9927 kBps
Downloading		freshclam_freebsd...

/usr/local/directadmin/custombuild/freshclam_f  0% of 1614  B    0  Bps
/usr/local/directadmin/custombuild/freshclam_f100% of 1614  B   18 MBps
Downloading		freshclam_debian...

/usr/local/directadmin/custombuild/freshclam_d  0% of 1181  B    0  Bps
/usr/local/directadmin/custombuild/freshclam_d100% of 1181  B 9144 kBps
Installing clamav 0.99.2 ...
chown: clamav.clamav: Invalid argument
Found /usr/local/directadmin/custombuild/clamav-0.99.2.tar.gz
Extracting ...
Done.
Configuring clamav 0.99.2 ...
checking build system type... x86_64-unknown-freebsd7.2
checking host system type... x86_64-unknown-freebsd7.2
checking target system type... x86_64-unknown-freebsd7.2
creating target.h - canonical system defines
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... config/install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '0' is supported by ustar format... yes
checking whether GID '0' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking how to convert x86_64-unknown-freebsd7.2 file names to x86_64-unknown-freebsd7.2 format... func_convert_file_noop
checking how to convert x86_64-unknown-freebsd7.2 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd7.2 ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking what extension is used for runtime loadable modules... .so
checking what variable specifies run-time module search path... LD_LIBRARY_PATH
checking for the default library search path... /lib /usr/lib
checking for library containing dlopen... none required
checking for dlerror... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dld_link in -ldld... no
checking for _ prefix in compiled symbols... no
checking whether deplibs are loaded by dlopen... yes
checking for argz.h... no
checking for error_t... no
checking for argz_add... no
checking for argz_append... no
checking for argz_count... no
checking for argz_create_sep... no
checking for argz_insert... no
checking for argz_next... no
checking for argz_stringify... no
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for ltdl.h... no
checking where to find libltdl headers... -I$(top_srcdir)/libltdl
checking where to find libltdl library... $(top_build_prefix)libltdl/libltdlc.la
checking for unistd.h... (cached) yes
checking for dl.h... no
checking for sys/dl.h... no
checking for dld.h... no
checking for mach-o/dyld.h... no
checking for dirent.h... yes
checking for closedir... yes
checking for opendir... yes
checking for readdir... yes
checking for strlcat... yes
checking for strlcpy... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for cos in -lm... yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/int_types.h usability... no
checking sys/int_types.h presence... no
checking for sys/int_types.h... no
checking for dlfcn.h... (cached) yes
checking for inttypes.h... (cached) yes
checking sys/inttypes.h usability... no
checking sys/inttypes.h presence... no
checking for sys/inttypes.h... no
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for memory.h... (cached) yes
checking ndir.h usability... no
checking ndir.h presence... no
checking for ndir.h... no
checking for stdlib.h... (cached) yes
checking for strings.h... (cached) yes
checking for string.h... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/filio.h usability... yes
checking sys/filio.h presence... yes
checking for sys/filio.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking sys/queue.h usability... yes
checking sys/queue.h presence... yes
checking for sys/queue.h... yes
checking sys/cdefs.h usability... yes
checking sys/cdefs.h presence... yes
checking for sys/cdefs.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for multiarch libdir... ${exec_prefix}/lib
checking for C/C++ restrict keyword... __restrict
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking for a supported version of gcc... ok (4.2.1)
checking for gcc bug PR27603... ok, bug not present
checking for gcc bug PR26763-2... ok, bug not present
checking for valid code generation of CLI_ISCONTAINED... ok, bug not present
checking for gcc bug PR28045... ok, bug not present
checking for gcc bug PR37573... ok, bug not present
checking for off_t... yes
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking size of void *... 8
checking for ld --version-script... yes
checking whether uname(2) is POSIX... yes
checking for bind in -lsocket... no
checking for library containing gethostent... none required
checking for poll... yes
checking for setsid... yes
checking for memcpy... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for strerror_r... yes
checking for strlcpy... (cached) yes
checking for strlcat... (cached) yes
checking for strcasestr... yes
checking for inet_ntop... yes
checking for setgroups... yes
checking for initgroups... yes
checking for ctime_r... yes
checking for mkstemp... yes
checking for mallinfo... no
checking for madvise... yes
checking for getnameinfo... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for working mmap... yes
checking for sysconf(_SC_PAGESIZE)... yes
checking for getpagesize()... yes
checking for MAP_ANON(YMOUS)... MAP_ANON
checking for enable_extended_FILE_stdio... no
checking for timegm... yes
checking for sysctlbyname... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for CHECK... yes
checking for libxml2 installation... using /usr/local
checking xml2-config version... 2.7.6
checking for xmlreader.h in /usr/local... found
checking for xmlTextReaderRead in -lxml2... yes
configure: Compiling and linking with libxml2 from /usr/local
checking for OpenSSL installation... /usr
checking for SSL_library_init in -lssl... yes
checking for EVP_EncryptInit in -lcrypto... yes
checking for X509_VERIFY_PARAM_new in -lssl... yes
checking for pcre2-config... no
checking for pcre-config... /usr/local/bin/pcre-config
checking pcre-config version... 8.20
sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
       sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
       sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
./configure: line 18513: test: -lt: unary operator expected
./configure: line 18516: test: -eq: unary operator expected
checking for CVE-2015-3210... ./configure: line 18532: test: -eq: unary operator expected
ok
configure: CFLAGS from pcre-config: -I/usr/local/include
configure: LIBS from pcre-config: -L/usr/local/lib -Wl,-R/usr/local/lib -lpcre
checking pcre.h usability... yes
checking pcre.h presence... yes
checking for pcre.h... yes
checking for pcre_compile in -lpcre... yes
configure: Compiling and linking with pcre from /usr/local
checking whether to enable maintainer-specific portions of Makefiles... no
checking for zlib installation... using /usr
checking for inflateEnd in -lz... yes
checking for gzopen in -lz... yes
checking how to link with libbz2... -lbz2
checking for BZ2_bzDecompressInit in -lbz2... yes
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking for CVE-2008-1372... ok
checking for CVE-2010-0405... ok
checking for getaddrinfo... yes
checking for SYSTEMD... no
checking for SYSTEMD... no
systemd is not supported
gnome-config: not found
checking for systemd system unit installation directory... no
checking for IPv6 support... yes
checking for resolv.h... yes
checking for dn_expand in std libs... yes
checking whether setpgrp takes no argument... no
checking for libiconv_open in -liconv... no
checking for iconv... no
checking for pthread.h... (cached) yes
checking whether in_port_t is defined... yes
checking for in_addr_t definition... yes
checking for sched_yield... yes
checking for pthread_yield... yes
checking for readdir_r... support disabled
checking for ctime_r... yes, and it takes 2 arguments
checking for socklen_t... yes
checking for structure packing via __attribute__((packed))... yes
checking for type aligning via __attribute__((aligned))... yes
checking that structure packing works... yes
checking for fd_set... yes, found in sys/select.h
checking default FD_SETSIZE value... 32768
checking stat64... no
checking whether signed right shift is sign extended... yes
checking for recvmsg... yes
checking for sendmsg... yes
checking for msg_control field in struct msghdr... yes
checking BSD 4.4 / RFC2292 style fd passing... yes
checking ncurses/ncurses.h usability... no
checking ncurses/ncurses.h presence... no
checking for ncurses/ncurses.h... no
configure: unable to compile/link with ncurses
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking linking with ncurses... ok
configure: Compiling and linking with ncurses by using  -lncurses
checking for kinfo_getvmmap in -lutil... yes
checking for libcurl installation... /usr/local
checking for curl_easy_init in -lcurl... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating libltdl/Makefile
config.status: creating clamscan/Makefile
config.status: creating database/Makefile
config.status: creating docs/Makefile
config.status: creating clamd/Makefile
config.status: creating clamd/clamav-daemon.service
config.status: creating clamd/clamav-daemon.socket
config.status: creating clamdscan/Makefile
config.status: creating clamsubmit/Makefile
config.status: creating clamav-milter/Makefile
config.status: creating freshclam/clamav-freshclam.service
config.status: creating freshclam/Makefile
config.status: creating sigtool/Makefile
config.status: creating clamconf/Makefile
config.status: creating etc/Makefile
config.status: creating test/Makefile
config.status: creating unit_tests/Makefile
config.status: creating clamdtop/Makefile
config.status: creating clambc/Makefile
config.status: creating libfreshclam/Makefile
config.status: creating Makefile
config.status: creating clamav-config
config.status: creating libclamav.pc
config.status: creating platform.h
config.status: creating docs/man/clamav-milter.8
config.status: creating docs/man/clamav-milter.conf.5
config.status: creating docs/man/clambc.1
config.status: creating docs/man/clamconf.1
config.status: creating docs/man/clamd.8
config.status: creating docs/man/clamd.conf.5
config.status: creating docs/man/clamdscan.1
config.status: creating docs/man/clamscan.1
config.status: creating docs/man/freshclam.1
config.status: creating docs/man/freshclam.conf.5
config.status: creating docs/man/sigtool.1
config.status: creating docs/man/clamdtop.1
config.status: creating docs/man/clamsubmit.1
config.status: creating clamav-config.h
config.status: executing depfiles commands
config.status: executing libtool commands
=== configuring in libclamav/c++ (/usr/local/directadmin/custombuild/clamav-0.99.2/libclamav/c++)
configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local'  '--sysconfdir=/etc' '--with-xml=/usr/local' '--with-zlib=/usr' '--enable-ltdl-convenience' --cache-file=/dev/null --srcdir=.
checking build system type... x86_64-unknown-freebsd7.2
checking host system type... x86_64-unknown-freebsd7.2
checking target system type... x86_64-unknown-freebsd7.2
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... config/install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to create a pax tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking for OpenSSL installation... /usr
checking for SSL_library_init in -lssl... yes
checking for EVP_EncryptInit in -lcrypto... yes
checking for X509_VERIFY_PARAM_new in -lssl... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking how to convert x86_64-unknown-freebsd7.2 file names to x86_64-unknown-freebsd7.2 format... func_convert_file_noop
checking how to convert x86_64-unknown-freebsd7.2 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd7.2 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd7.2 ld.so
checking how to hardcode library paths into programs... immediate
checking for GNU make... gmake
sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
       sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
       sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
       sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
       sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
       sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
checking for supported LLVM version... ok (2.8)
checking for supported C++ compiler version... ok (4.2.1)
checking for supported OS... ok (x86_64-freebsd7.2)
checking for working libstdc++... testyes
configure: Building X86 backend: yes
configure: Building PPC backend: no
checking optional compiler flags... -Wno-variadic-macros -Wno-missing-field-initializers
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating clamavcxx-config.h
config.status: executing depfiles commands
config.status: executing libtool commands
=== configuring in llvm (/usr/local/directadmin/custombuild/clamav-0.99.2/libclamav/c++/llvm)
configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local'  '--sysconfdir=/etc' '--with-xml=/usr/local' '--with-zlib=/usr' '--enable-ltdl-convenience' '--enable-optimized' 'llvm_cv_gnu_make_command=make' '--enable-targets=host-only' '--enable-bindings=none' '--enable-libffi=no' '--without-llvmgcc' '--without-llvmgxx' --cache-file=/dev/null --srcdir=.
checking build system type... x86_64-unknown-freebsd7.2
checking host system type... x86_64-unknown-freebsd7.2
checking target system type... x86_64-unknown-freebsd7.2
checking type of operating system we're going to host on... FreeBSD
checking type of operating system we're going to target... FreeBSD
checking target architecture... x86_64
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking clang compiler... none
checking optimization flags... -O2
checking how to run the C preprocessor... gcc -E
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking for GNU make... (cached) make
checking whether ln -s works... yes
checking for cmp... /usr/bin/cmp
checking for cp... /bin/cp
checking for date... /bin/date
checking for find... /usr/bin/find
checking for grep... (cached) /usr/bin/grep
checking for mkdir... /bin/mkdir
checking for mv... /bin/mv
checking for ranlib... ranlib
checking for ar... ar
checking for rm... /bin/rm
checking for sed... /usr/bin/sed
checking for tar... /usr/bin/tar
checking for pwd... /bin/pwd
checking for Graphviz... echo Graphviz
checking for dot... echo dot
checking for fdp... echo fdp
checking for neato... echo neato
checking for twopi... echo twopi
checking for circo... echo circo
checking for gv... no
checking for gsview32... no
checking for dotty... echo dotty
checking for a BSD-compatible install... /usr/bin/install -c
checking for bzip2... /usr/bin/bzip2
checking for cat... /bin/cat
checking for doxygen... no
checking for groff... /usr/bin/groff
checking for gzip... /usr/bin/gzip
checking for pod2html... /usr/local/bin/pod2html
checking for pod2man... /usr/local/bin/pod2man
checking for pdfroff... no
checking for runtest... no
checking for the tclsh program in tclinclude directory... none
checking for tclsh8.4... no
checking for tclsh8.4.8... no
checking for tclsh8.4.7... no
checking for tclsh8.4.6... no
checking for tclsh8.4.5... no
checking for tclsh8.4.4... no
checking for tclsh8.4.3... no
checking for tclsh8.4.2... no
checking for tclsh8.4.1... no
checking for tclsh8.4.0... no
checking for tclsh8.3... no
checking for tclsh8.3.5... no
checking for tclsh8.3.4... no
checking for tclsh8.3.3... no
checking for tclsh8.3.2... no
checking for tclsh8.3.1... no
checking for tclsh8.3.0... no
checking for tclsh... no
checking for zip... /usr/local/bin/zip
checking for ocamlc... no
checking for ocamlopt... no
checking for ocamldep... no
checking for ocamldoc... no
checking for gas... no
checking for as... /usr/bin/as
checking for linker version... 2.15
checking for compiler -Wl,-R<path> option... yes
checking for compiler -Wl,-export-dynamic option... yes
checking for compiler -Wl,--version-script option... yes
checking for an ANSI C-conforming const... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking dynamic linker characteristics... freebsd7.2 ld.so
checking which extension is used for loadable modules... .so
checking which variable specifies run-time library path... LD_LIBRARY_PATH
checking for the default library search path... /lib /usr/lib
checking for objdir... .libs
checking command to parse /usr/bin/nm -B output from  object... ok
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen in -ldl... no
checking for dlerror... yes
checking for _ prefix in compiled symbols... no
checking whether deplibs are loaded by dlopen... unknown
checking argz.h usability... no
checking argz.h presence... no
checking for argz.h... no
checking for error_t... no
checking for argz_append... no
checking for argz_create_sep... no
checking for argz_insert... no
checking for argz_next... no
checking for argz_stringify... no
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking for memory.h... (cached) yes
checking for stdlib.h... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for unistd.h... (cached) yes
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking sys/dl.h usability... no
checking sys/dl.h presence... no
checking for sys/dl.h... no
checking dld.h usability... no
checking dld.h presence... no
checking for dld.h... no
checking mach-o/dyld.h usability... no
checking mach-o/dyld.h presence... no
checking for mach-o/dyld.h... no
checking for string.h... (cached) yes
checking for strchr... yes
checking for strrchr... yes
checking for memcpy... yes
checking for memmove... yes
checking for strcmp... yes
checking for closedir... yes
checking for opendir... yes
checking for readdir... yes
checking LLVM capable compiler... llvm-gcc
checking tool compatibility... ok
checking optional compiler flags... -Wno-variadic-macros -Wno-missing-field-initializers
checking for sin in -lm... yes
checking for library containing dlopen... none required
checking for library containing mallinfo... no
checking for pthread_mutex_init in -lpthread... yes
checking for library containing pthread_mutex_lock... none required
checking for library containing pthread_rwlock_init... none required
checking for library containing pthread_getspecific... none required
checking for dirent.h that defines DIR... (cached) yes
checking for library containing opendir... (cached) none required
checking for MAP_ANONYMOUS vs. MAP_ANON... no
checking whether stat file-mode macros are broken... no
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking for dlfcn.h... (cached) yes
checking execinfo.h usability... no
checking execinfo.h presence... no
checking for execinfo.h... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking link.h usability... yes
checking link.h presence... yes
checking for link.h... yes
checking for malloc.h... (cached) no
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for stdint.h... (cached) yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking malloc/malloc.h usability... no
checking malloc/malloc.h presence... no
checking for malloc/malloc.h... no
checking mach/mach.h usability... no
checking mach/mach.h presence... no
checking for mach/mach.h... no
checking valgrind/valgrind.h usability... no
checking valgrind/valgrind.h presence... no
checking for valgrind/valgrind.h... no
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking CrashReporterClient.h usability... no
checking CrashReporterClient.h presence... no
checking for CrashReporterClient.h... no
checking __crashreporter_info__... no
checking for HUGE_VAL sanity... yes
checking for pid_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for int64_t... yes
checking for uint64_t... yes
checking for backtrace... no
checking for ceilf... yes
checking for floorf... yes
checking for roundf... yes
checking for rintf... yes
checking for nearbyintf... yes
checking for getcwd... yes
checking for powf... yes
checking for fmodf... yes
checking for strtof... yes
checking for round... yes
checking for getpagesize... yes
checking for getrusage... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking for gettimeofday... yes
checking for isatty... yes
checking for mkdtemp... yes
checking for mkstemp... yes
checking for mktemp... yes
checking for posix_spawn... no
checking for realpath... yes
checking for sbrk... yes
checking for setrlimit... (cached) yes
checking for strdup... yes
checking for strerror... yes
checking for strerror_r... yes
checking for strerror_s... no
checking for setenv... yes
checking for strtoll... yes
checking for strtoq... yes
checking for sysconf... yes
checking for malloc_zone_statistics... no
checking for setjmp... yes
checking for longjmp... yes
checking for sigsetjmp... yes
checking for siglongjmp... yes
checking if printf has the %a format character... yes
checking for srand48/lrand48/drand48 in <stdlib.h>... yes
checking for isnan in <math.h>... yes
checking for isnan in <cmath>... yes
checking for std::isnan in <cmath>... yes
checking for isinf in <math.h>... yes
checking for isinf in <cmath>... yes
checking for std::isinf in <cmath>... no
checking for finite in <ieeefp.h>... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... yes
checking for mmap of files... yes
checking if /dev/zero is needed for mmap... no
checking for GCC atomic builtins... yes
checking for __dso_handle... yes
checking whether llvm-gcc is sane... no
checking for compiler -fvisibility-inlines-hidden option... yes
configure: creating ./config.status
config.status: creating include/llvm/Config/Targets.def
config.status: creating include/llvm/Config/AsmPrinters.def
config.status: creating include/llvm/Config/AsmParsers.def
config.status: creating include/llvm/Config/Disassemblers.def
config.status: creating Makefile.config
config.status: creating llvm.spec
config.status: creating include/llvm/Config/config.h
config.status: creating include/llvm/Config/llvm-config.h
config.status: creating include/llvm/System/DataTypes.h
config.status: executing setup commands
config.status: executing Makefile commands
config.status: executing Makefile.common commands
config.status: executing examples/Makefile commands
./autoconf/install-sh: ./examples/Makefile does not exist.
config.status: executing lib/Makefile commands
config.status: executing runtime/Makefile commands
./autoconf/install-sh: ./runtime/Makefile does not exist.
config.status: executing test/Makefile commands
./autoconf/install-sh: ./test/Makefile does not exist.
config.status: executing test/Makefile.tests commands
./autoconf/install-sh: ./test/Makefile.tests does not exist.
config.status: executing unittests/Makefile commands
./autoconf/install-sh: ./unittests/Makefile does not exist.
config.status: executing tools/Makefile commands
./autoconf/install-sh: ./tools/Makefile does not exist.
config.status: executing utils/Makefile commands
config.status: executing projects/Makefile commands
./autoconf/install-sh: ./projects/Makefile does not exist.
config.status: executing bindings/Makefile commands
./autoconf/install-sh: ./bindings/Makefile does not exist.
config.status: executing bindings/ocaml/Makefile.ocaml commands
./autoconf/install-sh: ./bindings/ocaml/Makefile.ocaml does not exist.
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating libltdl/Makefile
config.status: creating clamscan/Makefile
config.status: creating database/Makefile
config.status: creating docs/Makefile
config.status: creating clamd/Makefile
config.status: creating clamd/clamav-daemon.service
config.status: creating clamd/clamav-daemon.socket
config.status: creating clamdscan/Makefile
config.status: creating clamsubmit/Makefile
config.status: creating clamav-milter/Makefile
config.status: creating freshclam/clamav-freshclam.service
config.status: creating freshclam/Makefile
config.status: creating sigtool/Makefile
config.status: creating clamconf/Makefile
config.status: creating etc/Makefile
config.status: creating test/Makefile
config.status: creating unit_tests/Makefile
config.status: creating clamdtop/Makefile
config.status: creating clambc/Makefile
config.status: creating libfreshclam/Makefile
config.status: creating Makefile
config.status: creating clamav-config
config.status: creating libclamav.pc
config.status: creating platform.h
config.status: creating docs/man/clamav-milter.8
config.status: creating docs/man/clamav-milter.conf.5
config.status: creating docs/man/clambc.1
config.status: creating docs/man/clamconf.1
config.status: creating docs/man/clamd.8
config.status: creating docs/man/clamd.conf.5
config.status: creating docs/man/clamdscan.1
config.status: creating docs/man/clamscan.1
config.status: creating docs/man/freshclam.1
config.status: creating docs/man/freshclam.conf.5
config.status: creating docs/man/sigtool.1
config.status: creating docs/man/clamdtop.1
config.status: creating docs/man/clamsubmit.1
config.status: creating libclamav/Makefile
config.status: creating clamav-config.h
config.status: clamav-config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
configure: Summary of detected features follows
              OS          : freebsd7.2
              pthreads    : yes (-lthr)
configure: Summary of miscellaneous features
              check       : -L/usr/local/lib -lcheck   (auto)
              fanotify    : yes
              fdpassing   : 1
              IPv6        : yes
configure: Summary of optional tools
              clamdtop    : -lncurses (auto)
              milter      : yes (disabled)
              clamsubmit  : yes
configure: Summary of engine performance features
              release mode: yes
              llvm        : yes, from built-in (auto)
              mempool     : yes
configure: Summary of engine detection features
              bzip2       : ok
              zlib        : /usr
              unrar       : yes
              pcre        : /usr/local
              libxml2     : yes, from /usr/local
              yara        : yes
Done Configuration.
Trying to make clamav...
make  all-recursive
Making all in libltdl
  GEN      libltdl/lt__argz.h
make  all-am
CC       dlopen.lo
CC       libltdlc_la-preopen.lo
CC       libltdlc_la-lt__alloc.lo
CC       libltdlc_la-lt_dlloader.lo
CC       libltdlc_la-lt_error.lo
  CC       libltdlc_la-ltdl.lo
CC       libltdlc_la-slist.lo
  CC       lt__argz.lo
  CCLD     dlopen.la
  CCLD     libltdlc.la
Making all in libclamav
make  all-recursive
Making all in c++
make  all-am
CXX      libclamavcxx_la-bytecode2llvm.lo
  CXX      libclamavcxx_la-ClamBCRTChecks.lo
CXX      libclamavcxx_la-detect.lo
CXX      Alarm.lo
CXX      Atomic.lo
In file included from ClamBCRTChecks.cpp:27:
llvm30_compat.h:1:18: error: operator '<' has no left operand
In file included from bytecode2llvm.cpp:36:
llvm30_compat.h:1:18: error: operator '<' has no left operand
detect.cpp:27:18: error: operator '<' has no left operand
detect.cpp:32:36: error: llvm/Support/DataTypes.h: No such file or directory
detect.cpp:33:31: error: llvm/Support/Host.h: No such file or directory
detect.cpp:34:33: error: llvm/Support/Memory.h: No such file or directory
detect.cpp:59:18: error: operator '<' has no left operand
detect.cpp:69:18: error: operator '<' has no left operand
detect.cpp:150:18: error: operator '<' has no left operand
detect.cpp:160:18: error: operator '<' has no left operand
detect.cpp:165:18: error: operator '<' has no left operand
detect.cpp: In function 'void cli_detect_env_jit(cli_environment*)':
detect.cpp:62: error: 'sys' has not been declared
detect.cpp:66: error: 'sys' has not been declared
detect.cpp:75: error: 'sys' was not declared in this scope
detect.cpp:75: error: expected `)' before '::' token
detect.cpp:76: error: 'sys' is not a class or namespace
detect.cpp:77: error: 'sys' is not a class or namespace
detect.cpp:146: warning: enumeration value 'AuroraUX' not handled in switch
detect.cpp:146: warning: enumeration value 'Cygwin' not handled in switch
detect.cpp:146: warning: enumeration value 'MinGW32' not handled in switch
detect.cpp:146: warning: enumeration value 'MinGW64' not handled in switch
detect.cpp:146: warning: enumeration value 'Psp' not handled in switch
detect.cpp:181: error: 'sys' has not been declared
detect.cpp:181: error: expected `;' before 'B'
detect.cpp:182: error: 'B' was not declared in this scope
detect.cpp:186: error: 'sys' has not been declared
*** Error code 1
ClamBCRTChecks.cpp:32:18: error: operator '<' has no left operand
ClamBCRTChecks.cpp:34:20: error: operator '<' has no left operand
ClamBCRTChecks.cpp:37:31: error: llvm/IR/DebugInfo.h: No such file or directory
ClamBCRTChecks.cpp:39:18: error: operator '<' has no left operand
ClamBCRTChecks.cpp:43:32: error: llvm/IR/Dominators.h: No such file or directory
ClamBCRTChecks.cpp:44:30: error: llvm/IR/Verifier.h: No such file or directory
ClamBCRTChecks.cpp:47:18: error: operator '<' has no left operand
In file included from ClamBCRTChecks.cpp:52:
PointerTracking.h:31:18: error: operator '<' has no left operand
PointerTracking.h:36:39: error: llvm/IR/PredIteratorCache.h: No such file or directory
PointerTracking.h:37:32: error: llvm/IR/DataLayout.h: No such file or directory
In file included from PointerTracking.h:40,
                 from ClamBCRTChecks.cpp:52:
llvm30_compat.h:1:18: error: operator '<' has no left operand
In file included from ClamBCRTChecks.cpp:52:
PointerTracking.h:42:18: error: operator '<' has no left operand
PointerTracking.h:45:34: error: llvm/IR/Instructions.h: No such file or directory
PointerTracking.h:54:18: error: operator '<' has no left operand
PointerTracking.h:68:18: error: operator '>=' has no left operand
PointerTracking.h:124:18: error: operator '<' has no left operand
PointerTracking.h:126:20: error: operator '<' has no left operand
bytecode2llvm.cpp:48:18: error: operator '<' has no left operand
bytecode2llvm.cpp:53:30: error: llvm/IR/Verifier.h: No such file or directory
bytecode2llvm.cpp:54:33: error: llvm/IR/AutoUpgrade.h: No such file or directory
bytecode2llvm.cpp:55:40: error: llvm/Analysis/TargetFolder.h: No such file or directory
ClamBCRTChecks.cpp:60:18: error: operator '<' has no left operand
ClamBCRTChecks.cpp:65:34: error: llvm/IR/InstIterator.h: No such file or directory
ClamBCRTChecks.cpp:66:47: error: llvm/IR/GetElementPtrTypeIterator.h: No such file or directory
bytecode2llvm.cpp:58:18: error: operator '<' has no left operand
bytecode2llvm.cpp:61:40: error: llvm/ExecutionEngine/MCJIT.h: No such file or directory
bytecode2llvm.cpp:62:41: error: llvm/Support/DynamicLibrary.h: No such file or directory
bytecode2llvm.cpp:63:36: error: llvm/Object/ObjectFile.h: No such file or directory
ClamBCRTChecks.cpp:72:18: error: operator '<' has no left operand
ClamBCRTChecks.cpp:74:20: error: operator '<' has no left operand
ClamBCRTChecks.cpp:79:18: error: operator '<' has no left operand
ClamBCRTChecks.cpp:87:34: error: llvm/IR/DerivedTypes.h: No such file or directory
ClamBCRTChecks.cpp:89:35: error: llvm/IR/IntrinsicInst.h: No such file or directory
ClamBCRTChecks.cpp:90:32: error: llvm/IR/Intrinsics.h: No such file or directory
ClamBCRTChecks.cpp:91:33: error: llvm/IR/LLVMContext.h: No such file or directory
ClamBCRTChecks.cpp:92:28: error: llvm/IR/Module.h: No such file or directory
ClamBCRTChecks.cpp:95:18: error: operator '<' has no left operand
ClamBCRTChecks.cpp:97:20: error: operator '<' has no left operand
ClamBCRTChecks.cpp:100:33: error: llvm/IR/InstVisitor.h: No such file or directory
ClamBCRTChecks.cpp:106:18: error: operator '<' has no left operand
ClamBCRTChecks.cpp:116:18: error: operator '>=' has no left operand
ClamBCRTChecks.cpp:124:18: error: operator '<' has no left operand
ClamBCRTChecks.cpp:131:18: error: operator '<' has no left operand
ClamBCRTChecks.cpp:137:18: error: operator '>=' has no left operand
ClamBCRTChecks.cpp:162:18: error: operator '<' has no left operand
ClamBCRTChecks.cpp:171:18: error: operator '<' has no left operand
ClamBCRTChecks.cpp:200:18: error: operator '<' has no left operand
ClamBCRTChecks.cpp:202:20: error: operator '<' has no left operand
ClamBCRTChecks.cpp:210:18: error: operator '<' has no left operand
ClamBCRTChecks.cpp:321:18: error: operator '<' has no left operand
ClamBCRTChecks.cpp:350:18: error: operator '<' has no left operand
ClamBCRTChecks.cpp:352:20: error: operator '<' has no left operand
ClamBCRTChecks.cpp:357:18: error: operator '<' has no left operand
ClamBCRTChecks.cpp:364:18: error: operator '<' has no left operand
ClamBCRTChecks.cpp:374:18: error: operator '<' has no left operand
ClamBCRTChecks.cpp:376:20: error: operator '<' has no left operand
ClamBCRTChecks.cpp:674:18: error: operator '<' has no left operand
ClamBCRTChecks.cpp:683:18: error: operator '<' has no left operand
ClamBCRTChecks.cpp:908:18: error: operator '>=' has no left operand
bytecode2llvm.cpp:77:18: error: operator '<' has no left operand
bytecode2llvm.cpp:87:36: error: llvm/Support/DataTypes.h: No such file or directory
bytecode2llvm.cpp:88:37: error: llvm/Support/FileSystem.h: No such file or directory
bytecode2llvm.cpp:89:31: error: llvm/Support/Host.h: No such file or directory
bytecode2llvm.cpp:90:33: error: llvm/Support/Memory.h: No such file or directory
bytecode2llvm.cpp:91:32: error: llvm/Support/Mutex.h: No such file or directory
bytecode2llvm.cpp:92:34: error: llvm/Support/Signals.h: No such file or directory
bytecode2llvm.cpp:93:36: error: llvm/Support/Threading.h: No such file or directory
bytecode2llvm.cpp:94:38: error: llvm/Support/ThreadLocal.h: No such file or directory
bytecode2llvm.cpp:97:18: error: operator '<' has no left operand
bytecode2llvm.cpp:100:35: error: llvm/IR/IntrinsicInst.h: No such file or directory
bytecode2llvm.cpp:110:18: error: operator '<' has no left operand
bytecode2llvm.cpp:113:39: error: llvm/Support/TargetSelect.h: No such file or directory
bytecode2llvm.cpp:121:18: error: operator '<' has no left operand
bytecode2llvm.cpp:123:20: error: operator '<' has no left operand
bytecode2llvm.cpp:126:31: error: llvm/IR/DebugInfo.h: No such file or directory
bytecode2llvm.cpp:129:18: error: operator '<' has no left operand
bytecode2llvm.cpp:132:20: error: operator '<' has no left operand
bytecode2llvm.cpp:136:31: error: llvm/IR/IRBuilder.h: No such file or directory
bytecode2llvm.cpp:137:32: error: llvm/IR/DataLayout.h: No such file or directory
bytecode2llvm.cpp:140:18: error: operator '<' has no left operand
bytecode2llvm.cpp:148:33: error: llvm/IR/CallingConv.h: No such file or directory
bytecode2llvm.cpp:149:34: error: llvm/IR/DerivedTypes.h: No such file or directory
bytecode2llvm.cpp:150:30: error: llvm/IR/Function.h: No such file or directory
bytecode2llvm.cpp:151:33: error: llvm/IR/LLVMContext.h: No such file or directory
bytecode2llvm.cpp:152:32: error: llvm/IR/Intrinsics.h: No such file or directory
bytecode2llvm.cpp:153:28: error: llvm/IR/Module.h: No such file or directory
bytecode2llvm.cpp:156:18: error: operator '<' has no left operand
bytecode2llvm.cpp:159:31: error: llvm/Analysis/CFG.h: No such file or directory
bytecode2llvm.cpp:162:18: error: operator '>=' has no left operand
bytecode2llvm.cpp:223:18: error: operator '>=' has no left operand
bytecode2llvm.cpp:230:18: error: operator '>=' has no left operand
bytecode2llvm.cpp:240:18: error: operator '>=' has no left operand
bytecode2llvm.cpp:334:18: error: operator '<' has no left operand
bytecode2llvm.cpp:433:18: error: operator '<' has no left operand
bytecode2llvm.cpp:445:18: error: operator '<' has no left operand
bytecode2llvm.cpp:502:18: error: operator '<' has no left operand
bytecode2llvm.cpp:540:18: error: operator '<' has no left operand
bytecode2llvm.cpp:550:18: error: operator '<' has no left operand
bytecode2llvm.cpp:607:18: error: operator '<' has no left operand
bytecode2llvm.cpp:675:18: error: operator '>=' has no left operand
bytecode2llvm.cpp:697:18: error: operator '<' has no left operand
bytecode2llvm.cpp:766:18: error: operator '<' has no left operand
bytecode2llvm.cpp:777:18: error: operator '<' has no left operand
bytecode2llvm.cpp:797:18: error: operator '<' has no left operand
bytecode2llvm.cpp:828:18: error: operator '<' has no left operand
bytecode2llvm.cpp:1126:18: error: operator '<' has no left operand
bytecode2llvm.cpp:1140:18: error: operator '<' has no left operand
bytecode2llvm.cpp:1157:18: error: operator '<' has no left operand
bytecode2llvm.cpp:1174:18: error: operator '<' has no left operand
bytecode2llvm.cpp:1199:18: error: operator '<' has no left operand
bytecode2llvm.cpp:1206:18: error: operator '<' has no left operand
bytecode2llvm.cpp:1221:18: error: operator '<' has no left operand
bytecode2llvm.cpp:1231:18: error: operator '<' has no left operand
bytecode2llvm.cpp:1248:18: error: operator '<' has no left operand
bytecode2llvm.cpp:1257:18: error: operator '<' has no left operand
bytecode2llvm.cpp:1278:18: error: operator '<' has no left operand
bytecode2llvm.cpp:1666:18: error: operator '<' has no left operand
bytecode2llvm.cpp:1691:18: error: operator '<' has no left operand
bytecode2llvm.cpp:1767:18: error: operator '<' has no left operand
bytecode2llvm.cpp:1788:18: error: operator '<' has no left operand
bytecode2llvm.cpp:1809:18: error: operator '<' has no left operand
bytecode2llvm.cpp:1828:18: error: operator '<' has no left operand
bytecode2llvm.cpp:1857:18: error: operator '<' has no left operand
bytecode2llvm.cpp:1869:18: error: operator '<' has no left operand
bytecode2llvm.cpp:1881:18: error: operator '<' has no left operand
bytecode2llvm.cpp:1918:18: error: operator '<' has no left operand
bytecode2llvm.cpp:1994:18: error: operator '<' has no left operand
bytecode2llvm.cpp:2011:18: error: operator '<' has no left operand
bytecode2llvm.cpp:2044:18: error: operator '<' has no left operand
bytecode2llvm.cpp:2052:18: error: operator '<' has no left operand
bytecode2llvm.cpp:2069:18: error: operator '==' has no left operand
bytecode2llvm.cpp:2074:18: error: operator '<' has no left operand
bytecode2llvm.cpp:2088:18: error: operator '>=' has no left operand
bytecode2llvm.cpp:2094:18: error: operator '<' has no left operand
bytecode2llvm.cpp:2101:18: error: operator '<' has no left operand
bytecode2llvm.cpp:2112:18: error: operator '>=' has no left operand
bytecode2llvm.cpp:2118:18: error: operator '<' has no left operand
bytecode2llvm.cpp:2125:18: error: operator '<' has no left operand
bytecode2llvm.cpp:2132:18: error: operator '<' has no left operand
bytecode2llvm.cpp:2139:18: error: operator '<' has no left operand
bytecode2llvm.cpp:2169:18: error: operator '<' has no left operand
bytecode2llvm.cpp:2177:18: error: operator '<' has no left operand
bytecode2llvm.cpp:2185:18: error: operator '<' has no left operand
bytecode2llvm.cpp:2195:18: error: operator '<' has no left operand
bytecode2llvm.cpp:2203:18: error: operator '<' has no left operand
bytecode2llvm.cpp:2212:18: error: operator '>=' has no left operand
bytecode2llvm.cpp:2434:18: error: operator '<' has no left operand
bytecode2llvm.cpp:2436:20: error: operator '<' has no left operand
bytecode2llvm.cpp:2438:20: error: operator '<' has no left operand
bytecode2llvm.cpp:2446:18: error: operator '<' has no left operand
bytecode2llvm.cpp:2448:20: error: operator '<' has no left operand
bytecode2llvm.cpp:2450:20: error: operator '<' has no left operand
bytecode2llvm.cpp:2477:18: error: operator '<' has no left operand
bytecode2llvm.cpp:2483:18: error: operator '>=' has no left operand
bytecode2llvm.cpp:2518:18: error: operator '<' has no left operand
bytecode2llvm.cpp:2529:18: error: operator '<' has no left operand
bytecode2llvm.cpp:2534:18: error: operator '<' has no left operand
bytecode2llvm.cpp:2539:18: error: operator '<' has no left operand
bytecode2llvm.cpp:2542:20: error: operator '<' has no left operand
bytecode2llvm.cpp:2601:18: error: operator '<' has no left operand
bytecode2llvm.cpp:2620:18: error: operator '<' has no left operand
bytecode2llvm.cpp:2630:18: error: operator '<' has no left operand
bytecode2llvm.cpp:2669:18: error: operator '<' has no left operand
bytecode2llvm.cpp:2671:20: error: operator '<' has no left operand
bytecode2llvm.cpp:2673:20: error: operator '<' has no left operand
bytecode2llvm.cpp:2683:18: error: operator '>=' has no left operand
bytecode2llvm.cpp:2706:18: error: operator '>=' has no left operand
bytecode2llvm.cpp:2751:18: error: operator '<' has no left operand
bytecode2llvm.cpp:2772:18: error: operator '<' has no left operand
bytecode2llvm.cpp:2778:18: error: operator '<' has no left operand
bytecode2llvm.cpp:2788:18: error: operator '<' has no left operand
bytecode2llvm.cpp:2798:18: error: operator '>=' has no left operand
bytecode2llvm.cpp:2806:18: error: operator '<' has no left operand
bytecode2llvm.cpp:2880:18: error: operator '<' has no left operand
bytecode2llvm.cpp:2882:20: error: operator '<' has no left operand
bytecode2llvm.cpp:2932:18: error: operator '<' has no left operand
bytecode2llvm.cpp:2967:18: error: operator '<' has no left operand
bytecode2llvm.cpp:2978:18: error: operator '>=' has no left operand
In file included from ClamBCRTChecks.cpp:52:
PointerTracking.h:137: error: 'PredIteratorCache' does not name a type
PointerTracking.h:148: error: 'DomTreeNodeBase' has not been declared
PointerTracking.h:148: error: expected ',' or '...' before '<' token
ClamBCRTChecks.cpp: In member function 'virtual bool llvm::PtrVerifier::runOnFunction(llvm::Function&)':
ClamBCRTChecks.cpp:167: error: 'CallGraphWrapperPass' was not declared in this scope
ClamBCRTChecks.cpp:167: error: no matching function for call to 'llvm::PtrVerifier::getAnalysis()'
ClamBCRTChecks.cpp:205: error: 'DataLayoutPass' was not declared in this scope
ClamBCRTChecks.cpp:205: error: 'DLP' was not declared in this scope
ClamBCRTChecks.cpp:205: error: 'DataLayoutPass' cannot appear in a constant-expression
ClamBCRTChecks.cpp:205: error: no matching function for call to 'llvm::PtrVerifier::getAnalysisIfAvailable()'
ClamBCRTChecks.cpp:213: error: 'DominatorTreeWrapperPass' was not declared in this scope
ClamBCRTChecks.cpp:213: error: no matching function for call to 'llvm::PtrVerifier::getAnalysis()'
ClamBCRTChecks.cpp:215: error: no matching function for call to 'llvm::SCEVExpander::SCEVExpander(llvm::ScalarEvolution&, const char [13])'
./llvm/include/llvm/Analysis/ScalarEvolutionExpander.h:67: note: candidates are: llvm::SCEVExpander::SCEVExpander(llvm::ScalarEvolution&)
./llvm/include/llvm/Analysis/ScalarEvolutionExpander.h:31: note:                 llvm::SCEVExpander::SCEVExpander(const llvm::SCEVExpander&)
ClamBCRTChecks.cpp:220: error: 'inst_iterator' was not declared in this scope
ClamBCRTChecks.cpp:220: error: expected `;' before 'I'
ClamBCRTChecks.cpp:220: error: 'I' was not declared in this scope
ClamBCRTChecks.cpp:220: error: 'E' was not declared in this scope
ClamBCRTChecks.cpp:225: error: invalid use of incomplete type 'struct llvm::DominatorTree'
./llvm/include/llvm/Instructions.h:32: error: forward declaration of 'struct llvm::DominatorTree'
ClamBCRTChecks.cpp:229: error: 'MemIntrinsic' was not declared in this scope
ClamBCRTChecks.cpp:229: error: no matching function for call to 'isa(llvm::Instruction*&)'
ClamBCRTChecks.cpp:251: error: invalid conversion from 'const llvm::Type*' to 'llvm::Type*'
ClamBCRTChecks.cpp:253: error: invalid use of incomplete type 'const struct llvm::DataLayout'
PointerTracking.h:57: error: forward declaration of 'const struct llvm::DataLayout'
ClamBCRTChecks.cpp:255: error: invalid conversion from 'const llvm::Type*' to 'llvm::Type*'
ClamBCRTChecks.cpp:257: error: invalid use of incomplete type 'const struct llvm::DataLayout'
PointerTracking.h:57: error: forward declaration of 'const struct llvm::DataLayout'
ClamBCRTChecks.cpp:258: error: 'MemIntrinsic' was not declared in this scope
ClamBCRTChecks.cpp:258: error: 'MI' was not declared in this scope
ClamBCRTChecks.cpp:258: error: 'MemIntrinsic' cannot appear in a constant-expression
ClamBCRTChecks.cpp:258: error: no matching function for call to 'dyn_cast(llvm::Instruction*&)'
ClamBCRTChecks.cpp:260: error: 'MemTransferInst' was not declared in this scope
ClamBCRTChecks.cpp:260: error: 'MTI' was not declared in this scope
ClamBCRTChecks.cpp:260: error: 'MemTransferInst' cannot appear in a constant-expression
ClamBCRTChecks.cpp:266: error: invalid conversion from 'const llvm::FunctionType*' to 'llvm::FunctionType*'
ClamBCRTChecks.cpp:312: error: no matching function for call to 'llvm::FunctionType::get(const llvm::Type*, std::vector<llvm::Type*, std::allocator<llvm::Type*> >&, bool)'
./llvm/include/llvm/DerivedTypes.h:160: note: candidates are: static llvm::FunctionType* llvm::FunctionType::get(const llvm::Type*, const std::vector<const llvm::Type*, std::allocator<const llvm::Type*> >&, bool)
./llvm/include/llvm/DerivedTypes.h:167: note:                 static llvm::FunctionType* llvm::FunctionType::get(const llvm::Type*, bool)
ClamBCRTChecks.cpp:313: error: invalid use of incomplete type 'struct llvm::Module'
./llvm/include/llvm/GlobalValue.h:26: error: forward declaration of 'struct llvm::Module'
ClamBCRTChecks.cpp: In member function 'virtual void llvm::PtrVerifier::getAnalysisUsage(llvm::AnalysisUsage&) const':
ClamBCRTChecks.cpp:355: error: 'DataLayoutPass' was not declared in this scope
ClamBCRTChecks.cpp:355: error: no matching function for call to 'llvm::AnalysisUsage::addRequired()'
ClamBCRTChecks.cpp:360: error: 'DominatorTreeWrapperPass' was not declared in this scope
ClamBCRTChecks.cpp:360: error: no matching function for call to 'llvm::AnalysisUsage::addRequired()'
ClamBCRTChecks.cpp:367: error: 'CallGraphWrapperPass' was not declared in this scope
ClamBCRTChecks.cpp:367: error: no matching function for call to 'llvm::AnalysisUsage::addRequired()'
ClamBCRTChecks.cpp: In member function 'llvm::Value* llvm::PtrVerifier::getPointerBase(llvm::Value*)':
ClamBCRTChecks.cpp:409: error: 'GetUnderlyingObject' was not declared in this scope
ClamBCRTChecks.cpp:420: error: no matching function for call to 'llvm::PHINode::Create(llvm::Type*&, unsigned int, const char [12], llvm::Instruction*)'
./llvm/include/llvm/Instructions.h:1791: note: candidates are: static llvm::PHINode* llvm::PHINode::Create(const llvm::Type*, const llvm::Twine&, llvm::Instruction*)
./llvm/include/llvm/Instructions.h:1795: note:                 static llvm::PHINode* llvm::PHINode::Create(const llvm::Type*, const llvm::Twine&, llvm::BasicBlock*)
ClamBCRTChecks.cpp: In member function 'llvm::Value* llvm::PtrVerifier::getPointerBounds(llvm::Value*)':
ClamBCRTChecks.cpp:489: error: invalid conversion from 'const llvm::Type*' to 'llvm::Type*'
ClamBCRTChecks.cpp:522: error: invalid conversion from 'const llvm::Type*' to 'llvm::Type*'
ClamBCRTChecks.cpp:523: error: invalid use of incomplete type 'const struct llvm::DataLayout'
PointerTracking.h:57: error: forward declaration of 'const struct llvm::DataLayout'
ClamBCRTChecks.cpp:527: error: 'GetUnderlyingObject' was not declared in this scope
ClamBCRTChecks.cpp:532: error: invalid conversion from 'const llvm::Type*' to 'llvm::Type*'
ClamBCRTChecks.cpp:533: error: invalid use of incomplete type 'const struct llvm::DataLayout'
PointerTracking.h:57: error: forward declaration of 'const struct llvm::DataLayout'
ClamBCRTChecks.cpp:541: error: no matching function for call to 'llvm::PHINode::Create(llvm::Type*&, unsigned int, const char [14], llvm::Instruction*)'
./llvm/include/llvm/Instructions.h:1791: note: candidates are: static llvm::PHINode* llvm::PHINode::Create(const llvm::Type*, const llvm::Twine&, llvm::Instruction*)
./llvm/include/llvm/Instructions.h:1795: note:                 static llvm::PHINode* llvm::PHINode::Create(const llvm::Type*, const llvm::Twine&, llvm::BasicBlock*)
ClamBCRTChecks.cpp:580: error: invalid conversion from 'const llvm::FunctionType*' to 'llvm::FunctionType*'
ClamBCRTChecks.cpp:591: error: invalid use of incomplete type 'const struct llvm::DataLayout'
PointerTracking.h:57: error: forward declaration of 'const struct llvm::DataLayout'
ClamBCRTChecks.cpp: In member function 'bool llvm::PtrVerifier::insertCheck(const llvm::SCEV*, const llvm::SCEV*, llvm::Instruction*, bool)':
ClamBCRTChecks.cpp:656: error: invalid use of incomplete type 'struct llvm::LLVMContext'
./llvm/include/llvm/Value.h:43: error: forward declaration of 'struct llvm::LLVMContext'
ClamBCRTChecks.cpp:660: error: no matching function for call to 'llvm::FunctionType::get(const llvm::Type*, std::vector<llvm::Type*, std::allocator<llvm::Type*> >&, bool)'
./llvm/include/llvm/DerivedTypes.h:160: note: candidates are: static llvm::FunctionType* llvm::FunctionType::get(const llvm::Type*, const std::vector<const llvm::Type*, std::allocator<const llvm::Type*> >&, bool)
./llvm/include/llvm/DerivedTypes.h:167: note:                 static llvm::FunctionType* llvm::FunctionType::get(const llvm::Type*, bool)
ClamBCRTChecks.cpp:661: error: no matching function for call to 'std::vector<llvm::Type*, std::allocator<llvm::Type*> >::push_back(const llvm::IntegerType*)'
/usr/include/c++/4.2/bits/stl_vector.h:597: note: candidates are: void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = llvm::Type*, _Alloc = std::allocator<llvm::Type*>] <near match>
ClamBCRTChecks.cpp:662: error: no matching function for call to 'llvm::FunctionType::get(const llvm::IntegerType*, std::vector<llvm::Type*, std::allocator<llvm::Type*> >&, bool)'
./llvm/include/llvm/DerivedTypes.h:160: note: candidates are: static llvm::FunctionType* llvm::FunctionType::get(const llvm::Type*, const std::vector<const llvm::Type*, std::allocator<const llvm::Type*> >&, bool)
./llvm/include/llvm/DerivedTypes.h:167: note:                 static llvm::FunctionType* llvm::FunctionType::get(const llvm::Type*, bool)
ClamBCRTChecks.cpp:663: error: invalid use of incomplete type 'struct llvm::Module'
./llvm/include/llvm/GlobalValue.h:26: error: forward declaration of 'struct llvm::Module'
ClamBCRTChecks.cpp:664: error: invalid use of incomplete type 'struct llvm::Module'
./llvm/include/llvm/GlobalValue.h:26: error: forward declaration of 'struct llvm::Module'
ClamBCRTChecks.cpp:669: error: no matching function for call to 'llvm::PHINode::Create(const llvm::IntegerType*, int, const char [1], llvm::BasicBlock*&)'
./llvm/include/llvm/Instructions.h:1791: note: candidates are: static llvm::PHINode* llvm::PHINode::Create(const llvm::Type*, const llvm::Twine&, llvm::Instruction*)
./llvm/include/llvm/Instructions.h:1795: note:                 static llvm::PHINode* llvm::PHINode::Create(const llvm::Type*, const llvm::Twine&, llvm::BasicBlock*)
ClamBCRTChecks.cpp:691: error: invalid use of incomplete type 'struct llvm::DominatorTree'
./llvm/include/llvm/Instructions.h:32: error: forward declaration of 'struct llvm::DominatorTree'
ClamBCRTChecks.cpp:699: error: 'DILocation' was not declared in this scope
ClamBCRTChecks.cpp:699: error: expected `;' before 'Loc'
ClamBCRTChecks.cpp:700: error: 'Loc' was not declared in this scope
ClamBCRTChecks.cpp:698: warning: unused variable 'Dbg'
ClamBCRTChecks.cpp:714: error: invalid use of incomplete type 'struct llvm::DominatorTree'
./llvm/include/llvm/Instructions.h:32: error: forward declaration of 'struct llvm::DominatorTree'
ClamBCRTChecks.cpp:722: error: invalid use of incomplete type 'struct llvm::DominatorTree'
./llvm/include/llvm/Instructions.h:32: error: forward declaration of 'struct llvm::DominatorTree'
ClamBCRTChecks.cpp:737: error: invalid use of incomplete type 'struct llvm::DominatorTree'
./llvm/include/llvm/Instructions.h:32: error: forward declaration of 'struct llvm::DominatorTree'
ClamBCRTChecks.cpp:737: error: invalid use of incomplete type 'struct llvm::DominatorTree'
./llvm/include/llvm/Instructions.h:32: error: forward declaration of 'struct llvm::DominatorTree'
ClamBCRTChecks.cpp:738: error: invalid use of incomplete type 'struct llvm::DominatorTree'
./llvm/include/llvm/Instructions.h:32: error: forward declaration of 'struct llvm::DominatorTree'
ClamBCRTChecks.cpp: In static member function 'static void llvm::PtrVerifier::MakeCompatible(llvm::ScalarEvolution*, const llvm::SCEV*&, const llvm::SCEV*&)':
ClamBCRTChecks.cpp:749: error: invalid conversion from 'const llvm::Type*' to 'llvm::Type*'
ClamBCRTChecks.cpp:750: error: invalid conversion from 'const llvm::Type*' to 'llvm::Type*'
ClamBCRTChecks.cpp: In member function 'bool llvm::PtrVerifier::checkCond(llvm::Instruction*, llvm::Instruction*, bool)':
ClamBCRTChecks.cpp:766: error: invalid use of incomplete type 'struct llvm::DominatorTree'
./llvm/include/llvm/Instructions.h:32: error: forward declaration of 'struct llvm::DominatorTree'
ClamBCRTChecks.cpp: In member function 'bool llvm::PtrVerifier::validateAccess(llvm::Value*, llvm::Value*, llvm::Instruction*)':
ClamBCRTChecks.cpp:842: error: invalid conversion from 'const llvm::Type*' to 'llvm::Type*'
*** Error code 1
bytecode2llvm.cpp:214: error: field 'Context' has incomplete type
bytecode2llvm.cpp:244: error: expected initializer before '<' token
bytecode2llvm.cpp: In function 'void<unnamed>::UpgradeCall(llvm::CallInst*&, llvm::Function*)':
bytecode2llvm.cpp:249: error: 'UpgradeIntrinsicFunction' was not declared in this scope
bytecode2llvm.cpp:251: error: 'UpgradeIntrinsicCall' was not declared in this scope
bytecode2llvm.cpp: In member function 'void<unnamed>::ScopedExceptionHandler::Set()':
bytecode2llvm.cpp:280: error: 'ExceptionReturn' was not declared in this scope
bytecode2llvm.cpp: In destructor '<unnamed>::ScopedExceptionHandler::~ScopedExceptionHandler()':
bytecode2llvm.cpp:284: error: 'ExceptionReturn' was not declared in this scope
bytecode2llvm.cpp: In function 'void<unnamed>::jit_exception_handler()':
bytecode2llvm.cpp:314: error: 'ExceptionReturn' was not declared in this scope
bytecode2llvm.cpp: At global scope:
bytecode2llvm.cpp:461: error: expected ',' or '...' before '::' token
bytecode2llvm.cpp:462: error: ISO C++ forbids declaration of 'object' with no type
bytecode2llvm.cpp: In member function 'virtual void<unnamed>::NotifyListener::NotifyObjectEmitted(int)':
bytecode2llvm.cpp:467: error: 'Obj' was not declared in this scope
bytecode2llvm.cpp: In member function 'llvm::Type*<unnamed>::LLVMTypeMapper::getStatic(uint16_t)':
bytecode2llvm.cpp:512: error: invalid conversion from 'const llvm::Type*' to 'llvm::Type*'
bytecode2llvm.cpp:514: error: invalid conversion from 'const llvm::Type*' to 'llvm::Type*'
bytecode2llvm.cpp: In member function 'llvm::Type*<unnamed>::LLVMTypeMapper::buildType(const cli_bc_type*, const cli_bc_type*, llvm::Type*, int)':
bytecode2llvm.cpp:578: error: no matching function for call to 'llvm::FunctionType::get(llvm::Type*&, std::vector<llvm::Type*, std::allocator<llvm::Type*> >&, bool)'
./llvm/include/llvm/DerivedTypes.h:160: note: candidates are: static llvm::FunctionType* llvm::FunctionType::get(const llvm::Type*, const std::vector<const llvm::Type*, std::allocator<const llvm::Type*> >&, bool)
./llvm/include/llvm/DerivedTypes.h:167: note:                 static llvm::FunctionType* llvm::FunctionType::get(const llvm::Type*, bool)
bytecode2llvm.cpp:589: error: no matching function for call to 'llvm::StructType::get(llvm::LLVMContext&, std::vector<llvm::Type*, std::allocator<llvm::Type*> >&, bool)'
./llvm/include/llvm/DerivedTypes.h:247: note: candidates are: static llvm::StructType* llvm::StructType::get(llvm::LLVMContext&, const std::vector<const llvm::Type*, std::allocator<const llvm::Type*> >&, bool)
./llvm/include/llvm/DerivedTypes.h:251: note:                 static llvm::StructType* llvm::StructType::get(llvm::LLVMContext&, bool)
./llvm/include/llvm/DerivedTypes.h:260: note:                 static llvm::StructType* llvm::StructType::get(llvm::LLVMContext&, const llvm::Type*, ...)
bytecode2llvm.cpp: In constructor '<unnamed>::RuntimeLimits::RuntimeLimits()':
bytecode2llvm.cpp:674: error: no matching function for call to 'llvm::FunctionPass::FunctionPass(char*)'
./llvm/include/llvm/Pass.h:278: note: candidates are: llvm::FunctionPass::FunctionPass(char&)
./llvm/include/llvm/Pass.h:276: note:                 llvm::FunctionPass::FunctionPass(const llvm::FunctionPass&)
bytecode2llvm.cpp: In member function 'virtual bool<unnamed>::RuntimeLimits::runOnFunction(llvm::Function&)':
bytecode2llvm.cpp:700: error: 'DominatorTreeWrapperPass' was not declared in this scope
bytecode2llvm.cpp:700: error: no matching function for call to '<unnamed>::RuntimeLimits::getAnalysis()'
bytecode2llvm.cpp:759: error: no matching function for call to 'llvm::FunctionType::get(const llvm::Type*, std::vector<llvm::Type*, std::allocator<llvm::Type*> >&, bool)'
./llvm/include/llvm/DerivedTypes.h:160: note: candidates are: static llvm::FunctionType* llvm::FunctionType::get(const llvm::Type*, const std::vector<const llvm::Type*, std::allocator<const llvm::Type*> >&, bool)
./llvm/include/llvm/DerivedTypes.h:167: note:                 static llvm::FunctionType* llvm::FunctionType::get(const llvm::Type*, bool)
bytecode2llvm.cpp:761: error: invalid use of incomplete type 'struct llvm::Module'
./llvm/include/llvm/Pass.h:38: error: forward declaration of 'struct llvm::Module'
bytecode2llvm.cpp:774: error: 'IRBuilder' was not declared in this scope
bytecode2llvm.cpp:774: error: 'Builder' was not declared in this scope
bytecode2llvm.cpp:788: error: 'verifyFunction' was not declared in this scope
bytecode2llvm.cpp:801: error: 'Release' was not declared in this scope
bytecode2llvm.cpp: In member function 'virtual void<unnamed>::RuntimeLimits::getAnalysisUsage(llvm::AnalysisUsage&) const':
bytecode2llvm.cpp:831: error: 'DominatorTreeWrapperPass' was not declared in this scope
bytecode2llvm.cpp:831: error: no matching function for call to 'llvm::AnalysisUsage::addRequired()'
bytecode2llvm.cpp: In constructor '<unnamed>::BrSimplifier::BrSimplifier()':
bytecode2llvm.cpp:842: error: no matching function for call to 'llvm::FunctionPass::FunctionPass(char*)'
./llvm/include/llvm/Pass.h:278: note: candidates are: llvm::FunctionPass::FunctionPass(char&)
./llvm/include/llvm/Pass.h:276: note:                 llvm::FunctionPass::FunctionPass(const llvm::FunctionPass&)
bytecode2llvm.cpp: At global scope:
bytecode2llvm.cpp:927: error: 'TargetFolder' does not name a type
bytecode2llvm.cpp:928: error: ISO C++ forbids declaration of 'IRBuilder' with no type
bytecode2llvm.cpp:928: error: expected ';' before '<' token
bytecode2llvm.cpp:1143: error: 'ArrayRef' has not been declared
bytecode2llvm.cpp:1143: error: expected ',' or '...' before '<' token
bytecode2llvm.cpp:1177: error: 'ArrayRef' has not been declared
bytecode2llvm.cpp:1177: error: expected ',' or '...' before '<' token
bytecode2llvm.cpp: In member function 'llvm::Value*<unnamed>::LLVMCodegen::convertOperand(const cli_bc_func*, llvm::Type*, operand_t)':
bytecode2llvm.cpp:963: error: 'Builder' was not declared in this scope
bytecode2llvm.cpp:975: error: invalid use of incomplete type 'struct llvm::Module'
./llvm/include/llvm/Pass.h:38: error: forward declaration of 'struct llvm::Module'
bytecode2llvm.cpp:978: error: 'llvm_report_error' was not declared in this scope
bytecode2llvm.cpp: In member function 'llvm::Value*<unnamed>::LLVMCodegen::convertOperand(const cli_bc_func*, unsigned int, operand_t)':
bytecode2llvm.cpp:1003: error: 'Builder' was not declared in this scope
bytecode2llvm.cpp:1014: error: invalid use of incomplete type 'struct llvm::GlobalVariable'
./llvm/include/llvm/Value.h:31: error: forward declaration of 'struct llvm::GlobalVariable'
bytecode2llvm.cpp:1017: error: cannot convert 'llvm::GlobalVariable*' to 'llvm::Value*' in return
bytecode2llvm.cpp:1032: error: invalid conversion from 'const llvm::Type*' to 'llvm::Type*'
bytecode2llvm.cpp:1036: error: invalid conversion from 'const llvm::Type*' to 'llvm::Type*'
bytecode2llvm.cpp:1040: error: invalid conversion from 'const llvm::Type*' to 'llvm::Type*'
bytecode2llvm.cpp:1044: error: invalid conversion from 'const llvm::Type*' to 'llvm::Type*'
bytecode2llvm.cpp: In member function 'void<unnamed>::LLVMCodegen::Store(uint16_t, llvm::Value*)':
bytecode2llvm.cpp:1056: error: 'Builder' was not declared in this scope
bytecode2llvm.cpp: In member function 'void<unnamed>::LLVMCodegen::InsertVerify(llvm::Value*, llvm::BasicBlock*&, llvm::Function*, llvm::Function*)':
bytecode2llvm.cpp:1068: error: 'Builder' was not declared in this scope
bytecode2llvm.cpp: In member function 'llvm::Constant*<unnamed>::LLVMCodegen::buildConstant(llvm::Type*, uint64_t*, unsigned int&)':
bytecode2llvm.cpp:1089: error: no matching function for call to 'llvm::ConstantExpr::getPointerCast(llvm::GlobalVariable*&, llvm::Type*&)'
./llvm/include/llvm/Constants.h:747: note: candidates are: static llvm::Constant* llvm::ConstantExpr::getPointerCast(llvm::Constant*, const llvm::Type*)
bytecode2llvm.cpp:1092: error: 'ArrayRef' was not declared in this scope
bytecode2llvm.cpp:1092: error: expected primary-expression before '*' token
bytecode2llvm.cpp:1092: error: expected primary-expression before '>' token
bytecode2llvm.cpp:1092: warning: left-hand operand of comma has no effect
bytecode2llvm.cpp:1102: error: no matching function for call to '<unnamed>::LLVMCodegen::buildConstant(const llvm::Type*, uint64_t*&, unsigned int&)'
bytecode2llvm.cpp:1077: note: candidates are: llvm::Constant*<unnamed>::LLVMCodegen::buildConstant(llvm::Type*, uint64_t*, unsigned int&) <near match>
bytecode2llvm.cpp:1110: error: no matching function for call to '<unnamed>::LLVMCodegen::buildConstant(const llvm::Type*, uint64_t*&, unsigned int&)'
bytecode2llvm.cpp:1077: note: candidates are: llvm::Constant*<unnamed>::LLVMCodegen::buildConstant(llvm::Type*, uint64_t*, unsigned int&) <near match>
bytecode2llvm.cpp: In constructor '<unnamed>::LLVMCodegen::LLVMCodegen(const cli_bc*, llvm::Module*, <unnamed>::CommonFunctions*, FunctionMapTy&, llvm::ExecutionEngine*, llvm::FunctionPassManager&, llvm::FunctionPassManager&, llvm::Function**, <unnamed>::LLVMTypeMapper&)':
bytecode2llvm.cpp:1123: error: invalid use of incomplete type 'struct llvm::Module'
./llvm/include/llvm/Pass.h:38: error: forward declaration of 'struct llvm::Module'
bytecode2llvm.cpp:1129: error: class '<unnamed>::LLVMCodegen' does not have any field named 'Folder'
bytecode2llvm.cpp:1129: error: 'class llvm::ExecutionEngine' has no member named 'getDataLayout'
bytecode2llvm.cpp:1129: error: class '<unnamed>::LLVMCodegen' does not have any field named 'Builder'
bytecode2llvm.cpp:1129: error: 'Folder' was not declared in this scope
bytecode2llvm.cpp: In member function 'llvm::Value*<unnamed>::LLVMCodegen::createGEP(llvm::Value*, llvm::Type*, int)':
bytecode2llvm.cpp:1144: error: 'ARef' was not declared in this scope
bytecode2llvm.cpp:1160: error: 'ArrayRef' was not declared in this scope
bytecode2llvm.cpp:1160: error: expected primary-expression before '*' token
bytecode2llvm.cpp:1160: error: expected primary-expression before '>' token
bytecode2llvm.cpp:1160: error: '::iterator' has not been declared
bytecode2llvm.cpp:1160: error: expected `;' before 'I'
bytecode2llvm.cpp:1160: error: 'I' was not declared in this scope
bytecode2llvm.cpp:1171: error: 'Builder' was not declared in this scope
bytecode2llvm.cpp: In member function 'bool<unnamed>::LLVMCodegen::createGEP(unsigned int, llvm::Value*, int)':
bytecode2llvm.cpp:1179: error: invalid conversion from 'const llvm::Type*' to 'llvm::Type*'
bytecode2llvm.cpp:1180: error: 'ARef' was not declared in this scope
bytecode2llvm.cpp:1186: error: 'Builder' was not declared in this scope
bytecode2llvm.cpp: In member function 'llvm::MDNode*<unnamed>::LLVMCodegen::convertMDNode(unsigned int)':
bytecode2llvm.cpp:1202: error: 'Metadata' was not declared in this scope
bytecode2llvm.cpp:1202: error: 'Vals' was not declared in this scope
bytecode2llvm.cpp:1202: error: expected type-specifier before 'Metadata'
bytecode2llvm.cpp:1202: error: expected `;' before 'Metadata'
bytecode2llvm.cpp:1209: error: 'V' was not declared in this scope
bytecode2llvm.cpp:1217: error: 'MDString' has not been declared
bytecode2llvm.cpp:1219: error: 'MDString' has not been declared
bytecode2llvm.cpp:1225: error: 'ConstantAsMetadata' has not been declared
bytecode2llvm.cpp:1234: error: incomplete type 'llvm::MDNode' used in nested name specifier
bytecode2llvm.cpp:1234: error: 'ArrayRef' was not declared in this scope
bytecode2llvm.cpp:1234: error: expected primary-expression before '>' token
bytecode2llvm.cpp:1236: error: type '<type error>' argument given to 'delete', expected pointer
bytecode2llvm.cpp: In member function 'llvm::Value*<unnamed>::LLVMCodegen::GEPOperand(llvm::Value*)':
bytecode2llvm.cpp:1281: error: 'class llvm::ExecutionEngine' has no member named 'getDataLayout'
bytecode2llvm.cpp: In member function 'llvm::Function*<unnamed>::LLVMCodegen::generate()':
bytecode2llvm.cpp:1335: error: invalid use of incomplete type 'struct llvm::GlobalVariable'
./llvm/include/llvm/Value.h:31: error: forward declaration of 'struct llvm::GlobalVariable'
bytecode2llvm.cpp:1336: error: no matching function for call to 'std::vector<llvm::Value*, std::allocator<llvm::Value*> >::push_back(llvm::GlobalVariable*&)'
/usr/include/c++/4.2/bits/stl_vector.h:597: note: candidates are: void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = llvm::Value*, _Alloc = std::allocator<llvm::Value*>]
bytecode2llvm.cpp:1349: error: no matching function for call to 'llvm::FunctionType::get(llvm::Type*&, std::vector<llvm::Type*, std::allocator<llvm::Type*> >&, bool)'
./llvm/include/llvm/DerivedTypes.h:160: note: candidates are: static llvm::FunctionType* llvm::FunctionType::get(const llvm::Type*, const std::vector<const llvm::Type*, std::allocator<const llvm::Type*> >&, bool)
./llvm/include/llvm/DerivedTypes.h:167: note:                 static llvm::FunctionType* llvm::FunctionType::get(const llvm::Type*, bool)
bytecode2llvm.cpp:1365: error: invalid conversion from 'const llvm::Type*' to 'llvm::Type*'
bytecode2llvm.cpp:1380: error: 'Builder' was not declared in this scope
bytecode2llvm.cpp:1414: error: 'ArrayRef' was not declared in this scope
bytecode2llvm.cpp:1414: error: expected primary-expression before '*' token
bytecode2llvm.cpp:1414: error: expected primary-expression before '>' token
bytecode2llvm.cpp:1414: warning: left-hand operand of comma has no effect
bytecode2llvm.cpp:1419: error: invalid conversion from 'const llvm::Type*' to 'llvm::Type*'
bytecode2llvm.cpp:1426: error: expected primary-expression before '*' token
bytecode2llvm.cpp:1426: error: expected primary-expression before '>' token
bytecode2llvm.cpp:1426: warning: left-hand operand of comma has no effect
bytecode2llvm.cpp:1435: error: 'llvm_report_error' was not declared in this scope
bytecode2llvm.cpp:1494: error: 'llvm_report_error' was not declared in this scope
bytecode2llvm.cpp:1605: error: no matching function for call to '<unnamed>::LLVMCodegen::convertOperand(const cli_bc_func*&, const llvm::Type*, const operand_t&)'
bytecode2llvm.cpp:953: note: candidates are: llvm::Value*<unnamed>::LLVMCodegen::convertOperand(const cli_bc_func*, llvm::Type*, operand_t) <near match>
bytecode2llvm.cpp:991: note:                 llvm::Value*<unnamed>::LLVMCodegen::convertOperand(const cli_bc_func*, const cli_bc_inst*, operand_t)
bytecode2llvm.cpp:997: note:                 llvm::Value*<unnamed>::LLVMCodegen::convertOperand(const cli_bc_func*, unsigned int, operand_t) <near match>
bytecode2llvm.cpp:1648: error: invalid conversion from 'const llvm::PointerType*' to 'llvm::PointerType*'
bytecode2llvm.cpp:1649: error: no matching function for call to '<unnamed>::LLVMCodegen::convertOperand(const cli_bc_func*&, const llvm::Type*, const operand_t&)'
bytecode2llvm.cpp:953: note: candidates are: llvm::Value*<unnamed>::LLVMCodegen::convertOperand(const cli_bc_func*, llvm::Type*, operand_t) <near match>
bytecode2llvm.cpp:991: note:                 llvm::Value*<unnamed>::LLVMCodegen::convertOperand(const cli_bc_func*, const cli_bc_inst*, operand_t)
bytecode2llvm.cpp:997: note:                 llvm::Value*<unnamed>::LLVMCodegen::convertOperand(const cli_bc_func*, unsigned int, operand_t) <near match>
bytecode2llvm.cpp:1662: error: no matching function for call to '<unnamed>::LLVMCodegen::convertOperand(const cli_bc_func*&, const llvm::Type*, operand_t&)'
bytecode2llvm.cpp:953: note: candidates are: llvm::Value*<unnamed>::LLVMCodegen::convertOperand(const cli_bc_func*, llvm::Type*, operand_t) <near match>
bytecode2llvm.cpp:991: note:                 llvm::Value*<unnamed>::LLVMCodegen::convertOperand(const cli_bc_func*, const cli_bc_inst*, operand_t)
bytecode2llvm.cpp:997: note:                 llvm::Value*<unnamed>::LLVMCodegen::convertOperand(const cli_bc_func*, unsigned int, operand_t) <near match>
bytecode2llvm.cpp:1664: error: 'ArrayRef' was not declared in this scope
bytecode2llvm.cpp:1664: error: expected primary-expression before '*' token
bytecode2llvm.cpp:1664: error: expected primary-expression before '>' token
bytecode2llvm.cpp:1688: error: no matching function for call to '<unnamed>::LLVMCodegen::convertOperand(const cli_bc_func*&, const llvm::Type*, operand_t&)'
bytecode2llvm.cpp:953: note: candidates are: llvm::Value*<unnamed>::LLVMCodegen::convertOperand(const cli_bc_func*, llvm::Type*, operand_t) <near match>
bytecode2llvm.cpp:991: note:                 llvm::Value*<unnamed>::LLVMCodegen::convertOperand(const cli_bc_func*, const cli_bc_inst*, operand_t)
bytecode2llvm.cpp:997: note:                 llvm::Value*<unnamed>::LLVMCodegen::convertOperand(const cli_bc_func*, unsigned int, operand_t) <near match>
bytecode2llvm.cpp:1690: error: 'ArrayRef' was not declared in this scope
bytecode2llvm.cpp:1690: error: expected primary-expression before '*' token
bytecode2llvm.cpp:1690: error: expected primary-expression before '>' token
bytecode2llvm.cpp:1706: error: 'ArrayRef' was not declared in this scope
bytecode2llvm.cpp:1706: error: expected primary-expression before '*' token
bytecode2llvm.cpp:1706: error: expected primary-expression before '>' token
bytecode2llvm.cpp:1706: warning: left-hand operand of comma has no effect
bytecode2llvm.cpp:1720: error: 'ArrayRef' was not declared in this scope
bytecode2llvm.cpp:1720: error: expected primary-expression before '*' token
bytecode2llvm.cpp:1720: error: expected primary-expression before '>' token
bytecode2llvm.cpp:1720: warning: left-hand operand of comma has no effect
bytecode2llvm.cpp:1737: error: 'ArrayRef' was not declared in this scope
bytecode2llvm.cpp:1737: error: expected primary-expression before '*' token
bytecode2llvm.cpp:1737: error: expected primary-expression before '>' token
bytecode2llvm.cpp:1765: error: no matching function for call to '<unnamed>::LLVMCodegen::convertOperand(const cli_bc_func*&, const llvm::IntegerType*, const operand_t&)'
bytecode2llvm.cpp:953: note: candidates are: llvm::Value*<unnamed>::LLVMCodegen::convertOperand(const cli_bc_func*, llvm::Type*, operand_t) <near match>
bytecode2llvm.cpp:991: note:                 llvm::Value*<unnamed>::LLVMCodegen::convertOperand(const cli_bc_func*, const cli_bc_inst*, operand_t)
bytecode2llvm.cpp:997: note:                 llvm::Value*<unnamed>::LLVMCodegen::convertOperand(const cli_bc_func*, unsigned int, operand_t) <near match>
bytecode2llvm.cpp:1766: error: no matching function for call to '<unnamed>::LLVMCodegen::convertOperand(const cli_bc_func*&, const llvm::IntegerType*, const operand_t&)'
bytecode2llvm.cpp:953: note: candidates are: llvm::Value*<unnamed>::LLVMCodegen::convertOperand(const cli_bc_func*, llvm::Type*, operand_t) <near match>
bytecode2llvm.cpp:991: note:                 llvm::Value*<unnamed>::LLVMCodegen::convertOperand(const cli_bc_func*, const cli_bc_inst*, operand_t)
bytecode2llvm.cpp:997: note:                 llvm::Value*<unnamed>::LLVMCodegen::convertOperand(const cli_bc_func*, unsigned int, operand_t) <near match>
bytecode2llvm.cpp:1787: error: no matching function for call to '<unnamed>::LLVMCodegen::convertOperand(const cli_bc_func*&, const llvm::IntegerType*, const operand_t&)'
bytecode2llvm.cpp:953: note: candidates are: llvm::Value*<unnamed>::LLVMCodegen::convertOperand(const cli_bc_func*, llvm::Type*, operand_t) <near match>
bytecode2llvm.cpp:991: note:                 llvm::Value*<unnamed>::LLVMCodegen::convertOperand(const cli_bc_func*, const cli_bc_inst*, operand_t)
bytecode2llvm.cpp:997: note:                 llvm::Value*<unnamed>::LLVMCodegen::convertOperand(const cli_bc_func*, unsigned int, operand_t) <near match>
bytecode2llvm.cpp:1808: error: no matching function for call to '<unnamed>::LLVMCodegen::convertOperand(const cli_bc_func*&, const llvm::IntegerType*, const operand_t&)'
bytecode2llvm.cpp:953: note: candidates are: llvm::Value*<unnamed>::LLVMCodegen::convertOperand(const cli_bc_func*, llvm::Type*, operand_t) <near match>
bytecode2llvm.cpp:991: note:                 llvm::Value*<unnamed>::LLVMCodegen::convertOperand(const cli_bc_func*, const cli_bc_inst*, operand_t)
bytecode2llvm.cpp:997: note:                 llvm::Value*<unnamed>::LLVMCodegen::convertOperand(const cli_bc_func*, unsigned int, operand_t) <near match>
bytecode2llvm.cpp:1831: error: 'class llvm::ExecutionEngine' has no member named 'getDataLayout'
bytecode2llvm.cpp:1921: error: 'verifyFunction' was not declared in this scope
bytecode2llvm.cpp:1978: error: no matching function for call to 'llvm::FunctionType::get(const llvm::IntegerType*, std::vector<llvm::Type*, std::allocator<llvm::Type*> >&, bool)'
./llvm/include/llvm/DerivedTypes.h:160: note: candidates are: static llvm::FunctionType* llvm::FunctionType::get(const llvm::Type*, const std::vector<const llvm::Type*, std::allocator<const llvm::Type*> >&, bool)
./llvm/include/llvm/DerivedTypes.h:167: note:                 static llvm::FunctionType* llvm::FunctionType::get(const llvm::Type*, bool)
bytecode2llvm.cpp:2006: error: 'ArrayRef' was not declared in this scope
bytecode2llvm.cpp:2006: error: expected primary-expression before '*' token
bytecode2llvm.cpp:2006: error: expected primary-expression before '>' token
bytecode2llvm.cpp:2014: error: 'verifyFunction' was not declared in this scope
bytecode2llvm.cpp: In constructor '<unnamed>::LLVMApiScopedLock::LLVMApiScopedLock()':
bytecode2llvm.cpp:2047: error: 'class llvm::sys::Mutex' has no member named 'lock'
bytecode2llvm.cpp: In destructor '<unnamed>::LLVMApiScopedLock::~LLVMApiScopedLock()':
bytecode2llvm.cpp:2055: error: 'class llvm::sys::Mutex' has no member named 'unlock'
bytecode2llvm.cpp: In function 'void<unnamed>::addFunctionProtos(<unnamed>::CommonFunctions*, llvm::ExecutionEngine*, llvm::Module*)':
bytecode2llvm.cpp:2062: error: invalid use of incomplete type 'struct llvm::Module'
./llvm/include/llvm/Pass.h:38: error: forward declaration of 'struct llvm::Module'
bytecode2llvm.cpp:2078: error: 'llvm::sys::DynamicLibrary' has not been declared
bytecode2llvm.cpp:2085: error: no matching function for call to 'std::vector<llvm::Type*, std::allocator<llvm::Type*> >::push_back(const llvm::IntegerType*)'
/usr/include/c++/4.2/bits/stl_vector.h:597: note: candidates are: void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = llvm::Type*, _Alloc = std::allocator<llvm::Type*>] <near match>
bytecode2llvm.cpp:2086: error: no matching function for call to 'std::vector<llvm::Type*, std::allocator<llvm::Type*> >::push_back(const llvm::IntegerType*)'
/usr/include/c++/4.2/bits/stl_vector.h:597: note: candidates are: void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = llvm::Type*, _Alloc = std::allocator<llvm::Type*>] <near match>
bytecode2llvm.cpp:2087: error: no matching function for call to 'std::vector<llvm::Type*, std::allocator<llvm::Type*> >::push_back(const llvm::IntegerType*)'
/usr/include/c++/4.2/bits/stl_vector.h:597: note: candidates are: void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = llvm::Type*, _Alloc = std::allocator<llvm::Type*>] <near match>
bytecode2llvm.cpp:2092: error: no matching function for call to 'llvm::FunctionType::get(const llvm::Type*, std::vector<llvm::Type*, std::allocator<llvm::Type*> >&, bool)'
./llvm/include/llvm/DerivedTypes.h:160: note: candidates are: static llvm::FunctionType* llvm::FunctionType::get(const llvm::Type*, const std::vector<const llvm::Type*, std::allocator<const llvm::Type*> >&, bool)
./llvm/include/llvm/DerivedTypes.h:167: note:                 static llvm::FunctionType* llvm::FunctionType::get(const llvm::Type*, bool)
bytecode2llvm.cpp:2110: error: no matching function for call to 'std::vector<llvm::Type*, std::allocator<llvm::Type*> >::push_back(const llvm::IntegerType*)'
/usr/include/c++/4.2/bits/stl_vector.h:597: note: candidates are: void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = llvm::Type*, _Alloc = std::allocator<llvm::Type*>] <near match>
bytecode2llvm.cpp:2111: error: no matching function for call to 'std::vector<llvm::Type*, std::allocator<llvm::Type*> >::push_back(const llvm::IntegerType*)'
/usr/include/c++/4.2/bits/stl_vector.h:597: note: candidates are: void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = llvm::Type*, _Alloc = std::allocator<llvm::Type*>] <near match>
bytecode2llvm.cpp:2116: error: no matching function for call to 'llvm::FunctionType::get(const llvm::Type*, std::vector<llvm::Type*, std::allocator<llvm::Type*> >&, bool)'
./llvm/include/llvm/DerivedTypes.h:160: note: candidates are: static llvm::FunctionType* llvm::FunctionType::get(const llvm::Type*, const std::vector<const llvm::Type*, std::allocator<const llvm::Type*> >&, bool)
./llvm/include/llvm/DerivedTypes.h:167: note:                 static llvm::FunctionType* llvm::FunctionType::get(const llvm::Type*, bool)
bytecode2llvm.cpp:2146: error: no matching function for call to 'std::vector<llvm::Type*, std::allocator<llvm::Type*> >::push_back(const llvm::IntegerType*)'
/usr/include/c++/4.2/bits/stl_vector.h:597: note: candidates are: void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = llvm::Type*, _Alloc = std::allocator<llvm::Type*>] <near match>
bytecode2llvm.cpp:2147: error: no matching function for call to 'llvm::FunctionType::get(const llvm::IntegerType*, std::vector<llvm::Type*, std::allocator<llvm::Type*> >&, bool)'
./llvm/include/llvm/DerivedTypes.h:160: note: candidates are: static llvm::FunctionType* llvm::FunctionType::get(const llvm::Type*, const std::vector<const llvm::Type*, std::allocator<const llvm::Type*> >&, bool)
./llvm/include/llvm/DerivedTypes.h:167: note:                 static llvm::FunctionType* llvm::FunctionType::get(const llvm::Type*, bool)
bytecode2llvm.cpp:2153: error: no matching function for call to 'std::vector<llvm::Type*, std::allocator<llvm::Type*> >::push_back(const llvm::IntegerType*)'
/usr/include/c++/4.2/bits/stl_vector.h:597: note: candidates are: void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = llvm::Type*, _Alloc = std::allocator<llvm::Type*>] <near match>
bytecode2llvm.cpp:2154: error: no matching function for call to 'llvm::FunctionType::get(const llvm::IntegerType*, std::vector<llvm::Type*, std::allocator<llvm::Type*> >&, bool)'
./llvm/include/llvm/DerivedTypes.h:160: note: candidates are: static llvm::FunctionType* llvm::FunctionType::get(const llvm::Type*, const std::vector<const llvm::Type*, std::allocator<const llvm::Type*> >&, bool)
./llvm/include/llvm/DerivedTypes.h:167: note:                 static llvm::FunctionType* llvm::FunctionType::get(const llvm::Type*, bool)
bytecode2llvm.cpp:2160: error: no matching function for call to 'std::vector<llvm::Type*, std::allocator<llvm::Type*> >::push_back(const llvm::IntegerType*)'
/usr/include/c++/4.2/bits/stl_vector.h:597: note: candidates are: void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = llvm::Type*, _Alloc = std::allocator<llvm::Type*>] <near match>
bytecode2llvm.cpp:2161: error: no matching function for call to 'llvm::FunctionType::get(const llvm::IntegerType*, std::vector<llvm::Type*, std::allocator<llvm::Type*> >&, bool)'
./llvm/include/llvm/DerivedTypes.h:160: note: candidates are: static llvm::FunctionType* llvm::FunctionType::get(const llvm::Type*, const std::vector<const llvm::Type*, std::allocator<const llvm::Type*> >&, bool)
./llvm/include/llvm/DerivedTypes.h:167: note:                 static llvm::FunctionType* llvm::FunctionType::get(const llvm::Type*, bool)
bytecode2llvm.cpp:2172: error: 'llvm::sys::DynamicLibrary' has not been declared
bytecode2llvm.cpp:2180: error: 'llvm::sys::DynamicLibrary' has not been declared
bytecode2llvm.cpp:2188: error: 'llvm::sys::DynamicLibrary' has not been declared
bytecode2llvm.cpp:2198: error: 'class llvm::ExecutionEngine' has no member named 'getDataLayout'
bytecode2llvm.cpp:2201: error: no matching function for call to 'llvm::FunctionType::get(const llvm::IntegerType*, std::vector<llvm::Type*, std::allocator<llvm::Type*> >&, bool)'
./llvm/include/llvm/DerivedTypes.h:160: note: candidates are: static llvm::FunctionType* llvm::FunctionType::get(const llvm::Type*, const std::vector<const llvm::Type*, std::allocator<const llvm::Type*> >&, bool)
./llvm/include/llvm/DerivedTypes.h:167: note:                 static llvm::FunctionType* llvm::FunctionType::get(const llvm::Type*, bool)
bytecode2llvm.cpp:2206: error: 'llvm::sys::DynamicLibrary' has not been declared
bytecode2llvm.cpp: In function 'void setGuard(unsigned char*)':
bytecode2llvm.cpp:2432: warning: deprecated conversion from string constant to 'char*'
bytecode2llvm.cpp: In function 'void addFPasses(llvm::FunctionPassManager&, bool, llvm::Module*)':
bytecode2llvm.cpp:2453: error: 'DataLayoutPass' was not declared in this scope
bytecode2llvm.cpp:2453: error: 'DLP' was not declared in this scope
bytecode2llvm.cpp:2453: error: expected type-specifier before 'DataLayoutPass'
bytecode2llvm.cpp:2453: error: expected `;' before 'DataLayoutPass'
bytecode2llvm.cpp: In function 'int cli_bytecode_prepare_jit(cli_all_bc*)':
bytecode2llvm.cpp:2473: error: 'struct cli_bcengine' has no member named 'Context'
bytecode2llvm.cpp:2473: error: invalid use of incomplete type 'struct llvm::Module'
./llvm/include/llvm/Pass.h:38: error: forward declaration of 'struct llvm::Module'
bytecode2llvm.cpp:2480: error: 'move' is not a member of 'std'
bytecode2llvm.cpp:2480: error: 'unique_ptr' is not a member of 'std'
bytecode2llvm.cpp:2480: error: expected primary-expression before '>' token
bytecode2llvm.cpp:2532: error: invalid use of incomplete type 'struct llvm::Module'
./llvm/include/llvm/Pass.h:38: error: forward declaration of 'struct llvm::Module'
bytecode2llvm.cpp:2532: error: 'class llvm::ExecutionEngine' has no member named 'getDataLayout'
bytecode2llvm.cpp:2537: error: invalid use of incomplete type 'struct llvm::Module'
./llvm/include/llvm/Pass.h:38: error: forward declaration of 'struct llvm::Module'
bytecode2llvm.cpp:2537: error: 'getDefaultTargetTriple' is not a member of 'llvm::sys'
bytecode2llvm.cpp:2553: error: 'struct cli_bcengine' has no member named 'Context'
bytecode2llvm.cpp:2555: error: 'struct cli_bcengine' has no member named 'Context'
bytecode2llvm.cpp:2605: error: 'llvm::sys::DynamicLibrary' has not been declared
bytecode2llvm.cpp:2612: error: invalid use of incomplete type 'struct llvm::Module'
./llvm/include/llvm/Pass.h:38: error: forward declaration of 'struct llvm::Module'
bytecode2llvm.cpp:2614: error: invalid use of incomplete type 'struct llvm::Module'
./llvm/include/llvm/Pass.h:38: error: forward declaration of 'struct llvm::Module'
bytecode2llvm.cpp:2615: error: invalid use of incomplete type 'struct llvm::GlobalVariable'
./llvm/include/llvm/Value.h:31: error: forward declaration of 'struct llvm::GlobalVariable'
bytecode2llvm.cpp:2623: error: 'llvm::sys::DynamicLibrary' has not been declared
bytecode2llvm.cpp:2623: error: invalid use of incomplete type 'struct llvm::GlobalVariable'
./llvm/include/llvm/Value.h:31: error: forward declaration of 'struct llvm::GlobalVariable'
bytecode2llvm.cpp:2633: error: 'llvm::sys::DynamicLibrary' has not been declared
bytecode2llvm.cpp:2676: error: 'DataLayoutPass' was not declared in this scope
bytecode2llvm.cpp:2676: error: 'DLP' was not declared in this scope
bytecode2llvm.cpp:2676: error: expected type-specifier before 'DataLayoutPass'
bytecode2llvm.cpp:2676: error: expected `;' before 'DataLayoutPass'
bytecode2llvm.cpp:2704: error: invalid use of incomplete type 'struct llvm::Module'
./llvm/include/llvm/Pass.h:38: error: forward declaration of 'struct llvm::Module'
bytecode2llvm.cpp:2715: error: incomplete type 'llvm::Module' used in nested name specifier
bytecode2llvm.cpp:2715: error: expected `;' before 'I'
bytecode2llvm.cpp:2715: error: 'I' was not declared in this scope
bytecode2llvm.cpp:2715: error: 'E' was not declared in this scope
bytecode2llvm.cpp: In function 'int bytecode_init()':
bytecode2llvm.cpp:2757: error: 'LLVMIsMultithreaded' was not declared in this scope
bytecode2llvm.cpp:2765: error: 'llvm_install_error_handler' was not declared in this scope
bytecode2llvm.cpp:2797: error: 'InitializeNativeTarget' was not declared in this scope
bytecode2llvm.cpp:2809: error: 'LLVMIsMultithreaded' was not declared in this scope
bytecode2llvm.cpp: In function 'void cli_bytecode_debug_printsrc(const cli_bc_ctx*)':
bytecode2llvm.cpp:2891: error: 'ErrorOr' was not declared in this scope
bytecode2llvm.cpp:2891: error: 'unique_ptr' is not a member of 'std'
bytecode2llvm.cpp:2891: error: expected primary-expression before '>>' token
bytecode2llvm.cpp:2891: error: 'FileOrErr' was not declared in this scope
bytecode2llvm.cpp: In function 'void printValue(llvm::Value*, bool, bool)':
bytecode2llvm.cpp:3151: error: 'getLocationInfo' was not declared in this scope
bytecode2llvm.cpp: In function 'void printLocation(llvm::Instruction*, bool, bool)':
bytecode2llvm.cpp:3160: error: 'DILocation' was not declared in this scope
bytecode2llvm.cpp:3160: error: expected `;' before 'Loc'
bytecode2llvm.cpp:3161: error: 'Loc' was not declared in this scope
bytecode2llvm.cpp:3159: warning: unused variable 'N'
*** Error code 1
3 errors
*** Error code 2
1 error
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 1
1 error
*** Error code 2
1 error

*** The make has failed, do you want to try to make again? (y,n): 
n
 
Last edited:
I've googled a bit and apparently some users were able to update ClamAV just uninstalling the previous version before, you may need to uninstall it from your ports and than install it from CB.

To unintsall using ports should be like this:
Code:
cd /usr/ports/security/clamav
make deinstall clean
as far as i read online, but i'm not such a FreeBSD expert, so maybe you know better :)

Best regards
 
I've googled a bit and apparently some users were able to update ClamAV just uninstalling the previous version before, you may need to uninstall it from your ports and than install it from CB.
I really appreciate the idea. I could set a snapshot and try it tonight.

Thanks!
 
Back
Top