In attempting to compile ClamAV 0.90.2 I receive the below errors on my
Solaris 8 280R. Configure seems happy, but make fails as you'll see from my
screenshots below. My GNU Toolchain is as follows.

bash-2.03# pkginfo -l SMCgcc
   PKGINST:  SMCgcc
      NAME:  gcc
  CATEGORY:  application
      ARCH:  sparc
   VERSION:  2.95.2
   BASEDIR:  /usr/local
    VENDOR:  Free Software Foundation
    PSTAMP:  Steve Christensen
  INSTDATE:  Apr 23 2007 14:31
     EMAIL:  [EMAIL PROTECTED]
    STATUS:  completely installed
     FILES:      349 installed pathnames
                   7 shared pathnames
                   2 linked files
                  21 directories
                  23 executables
              127203 blocks used (approx)

bash-2.03# pkginfo -l SMCgmp
   PKGINST:  SMCgmp
      NAME:  gmp
  CATEGORY:  application
      ARCH:  sparc
   VERSION:  4.2.1
   BASEDIR:  /usr/local
    VENDOR:  FSF
    PSTAMP:  Steve Christensen
  INSTDATE:  Apr 24 2007 08:00
     EMAIL:  [EMAIL PROTECTED]
    STATUS:  completely installed
     FILES:       95 installed pathnames
                   4 shared pathnames
                  11 directories
                   3 executables
                7632 blocks used (approx)


bash-2.03# make
make  all-recursive
make[1]: Entering directory `/tmp/clamav-0.90.2'
Making all in libclamav
make[2]: Entering directory `/tmp/clamav-0.90.2/libclamav'
source='matcher-ac.c' object='matcher-ac.lo' libtool=yes \
        DEPDIR=.deps depmode=gcc /bin/bash ../depcomp \
        /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -I.. -I.. -I./unrar  -I/usr/include -I/usr/local/include  -g -O2 -c -o
matcher-ac.lo matcher-ac.c
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./unrar -I/usr/include
-I/usr/local/include -g -O2 -c matcher-ac.c -Wp,-MD,.deps/matcher-ac.TPlo
-fPIC -DPIC -o .libs/matcher-ac.o
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./unrar -I/usr/include
-I/usr/local/include -g -O2 -c matcher-ac.c -Wp,-MD,.deps/matcher-ac.TPlo -o
matcher-ac.o >/dev/null 2>&1
source='matcher-bm.c' object='matcher-bm.lo' libtool=yes \
        DEPDIR=.deps depmode=gcc /bin/bash ../depcomp \
        /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -I.. -I.. -I./unrar  -I/usr/include -I/usr/local/include  -g -O2 -c -o
matcher-bm.lo matcher-bm.c
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./unrar -I/usr/include
-I/usr/local/include -g -O2 -c matcher-bm.c -Wp,-MD,.deps/matcher-bm.TPlo
-fPIC -DPIC -o .libs/matcher-bm.o
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./unrar -I/usr/include
-I/usr/local/include -g -O2 -c matcher-bm.c -Wp,-MD,.deps/matcher-bm.TPlo -o
matcher-bm.o >/dev/null 2>&1
source='matcher-ncore.c' object='matcher-ncore.lo' libtool=yes \
        DEPDIR=.deps depmode=gcc /bin/bash ../depcomp \
        /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -I.. -I.. -I./unrar  -I/usr/include -I/usr/local/include  -g -O2 -c -o
matcher-ncore.lo matcher-ncore.c
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./unrar -I/usr/include
-I/usr/local/include -g -O2 -c matcher-ncore.c -Wp,-MD,.deps/matcher-
ncore.TPlo  -fPIC -DPIC -o .libs/matcher-ncore.o
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./unrar -I/usr/include
-I/usr/local/include -g -O2 -c matcher-ncore.c -Wp,-MD,.deps/matcher-
ncore.TPlo -o matcher-ncore.o >/dev/null 2>&1
source='matcher.c' object='matcher.lo' libtool=yes \
        DEPDIR=.deps depmode=gcc /bin/bash ../depcomp \
        /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -I.. -I.. -I./unrar  -I/usr/include -I/usr/local/include  -g -O2 -c -o
matcher.lo matcher.c
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./unrar -I/usr/include
-I/usr/local/include -g -O2 -c matcher.c -Wp,-MD,.deps/matcher.TPlo  -fPIC
-DPIC -o .libs/matcher.o
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./unrar -I/usr/include
-I/usr/local/include -g -O2 -c matcher.c -Wp,-MD,.deps/matcher.TPlo -o
matcher.o >/dev/null 2>&1
source='md5.c' object='md5.lo' libtool=yes \
        DEPDIR=.deps depmode=gcc /bin/bash ../depcomp \
        /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -I.. -I.. -I./unrar  -I/usr/include -I/usr/local/include  -g -O2 -c -o
md5.lo md5.c
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./unrar -I/usr/include
-I/usr/local/include -g -O2 -c md5.c -Wp,-MD,.deps/md5.TPlo  -fPIC -DPIC -o
.libs/md5.o
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./unrar -I/usr/include
-I/usr/local/include -g -O2 -c md5.c -Wp,-MD,.deps/md5.TPlo -o
md5.o>/dev/null 2>&1
source='others.c' object='others.lo' libtool=yes \
        DEPDIR=.deps depmode=gcc /bin/bash ../depcomp \
        /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -I.. -I.. -I./unrar  -I/usr/include -I/usr/local/include  -g -O2 -c -o
others.lo others.c
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./unrar -I/usr/include
-I/usr/local/include -g -O2 -c others.c -Wp,-MD,.deps/others.TPlo  -fPIC
-DPIC -o .libs/others.o
others.c: In function `cli_warnmsg':
others.c:98: `__builtin_va_alist' undeclared (first use in this function)
others.c:98: (Each undeclared identifier is reported only once
others.c:98: for each function it appears in.)
others.c: In function `cli_errmsg':
others.c:112: `__builtin_va_alist' undeclared (first use in this function)
others.c: In function `cli_dbgmsg':
others.c:128: `__builtin_va_alist' undeclared (first use in this function)
others.c: In function `cli_md5buff':
others.c:298: warning: passing arg 2 of `cli_md5_update' discards qualifiers
from pointer target type
make[2]: *** [others.lo] Error 1
make[2]: Leaving directory `/tmp/clamav-0.90.2/libclamav'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/clamav-0.90.2'
make: *** [all] Error 2


-- 
There are three kinds of people in the world. Those who can count and those
who can't... Charlie
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to