Hi,

I have some problems compiling the latest snapshot 
(http://www.clamav.net/snapshot/clamav-devel-20040128.tar.gz).

Here is what happens, I used this compiler:
Reading specs from /usr/lib/gcc-lib/i486-linux/2.7.2.1/specs
gcc version 2.7.2.1

./configure --prefix=/usr --sysconfdir=/etc --disable-clamuko \
--disable-clamav --disable-static --with-user=exim --with-group=exim

checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking target system type... i686-pc-linux-gnulibc1
creating target.h - canonical system defines
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for gawk... (cached) gawk
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 style of include used by make... GNU
checking dependency style of gcc... gcc
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether ln -s works... yes
checking whether make sets ${MAKE}... (cached) yes
checking for ld used by GCC... /usr/i486-linux/bin/ld
checking if the linker (/usr/i486-linux/bin/ld) is GNU ld... yes
checking for /usr/i486-linux/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependant libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... gcc -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... no
checking for stdint.h... no
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC 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.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking whether the linker (/usr/i486-linux/bin/ld) supports shared 
libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether -lc should be explicitly linked in... yes
creating libtool
checking for ANSI C header files... (cached) yes
checking for stdint.h... (cached) no
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) no
checking sys/inttypes.h usability... no
checking sys/inttypes.h presence... no
checking for sys/inttypes.h... no
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... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for off_t... yes
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking for bzReadOpen in -lbz2... no
checking for setsid... yes
checking for memcpy... yes
checking whether setpgrp takes no argument... yes
checking libmilter/mfapi.h usability... no
checking libmilter/mfapi.h presence... no
checking for libmilter/mfapi.h... no
checking for __gmpz_init in -lgmp... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
/dev/(u)random detected.
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
configure: creating ./config.status
config.status: creating libclamav/Makefile
config.status: creating clamscan/Makefile
config.status: creating database/Makefile
config.status: creating docs/Makefile
config.status: creating clamd/Makefile
config.status: creating clamdscan/Makefile
config.status: creating clamav-milter/Makefile
config.status: creating freshclam/Makefile
config.status: creating sigtool/Makefile
config.status: creating etc/Makefile
config.status: creating Makefile
config.status: executing depfiles commands
cd . && \
  /bin/sh /develop/clam/clamav-devel-20040128/missing --run automake-
1.6 --gnu  Makefile
cd . && /bin/sh ./config.status Makefile
config.status: creating Makefile
Making all in libclamav
make[1]: Entering directory `/develop/clam/clamav-devel-
20040128/libclamav'

[some compile output deleted, only last and failing command left...]

gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -
DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"clamav\" -
DVERSION=\"devel-20040128\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -
DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -
DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 
-DSCANBUFF=131072 -DFILEBUFF=8192 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -
DHAVE_DLFCN_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_STRING_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -
DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_MALLOC_H=1 -
DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_ZLIB_H=1 -
DHAVE_BZLIB_H=1 -DHAVE_SETSID=1 -DHAVE_MEMCPY=1 -DSETPGRP_VOID=1 -
DHAVE_GMP=1 -DCLAMD_USE_SYSLOG=1 -DCLAMAVUSER=\"exim\" -
DCLAMAVGROUP=\"exim\" -DDB1NAME=\"main.cvd\" -DDB2NAME=\"daily.cvd\" -
DDATADIR=\"/usr/share/clamav\" -DCONFDIR=\"/etc\" -DC_URANDOM=1 -
DC_LINUX=1 -DCL_THREAD_SAFE=1 -D_REENTRANT=1 -DBUILD_CLAMD=1 -
DWORDS_LITTLEENDIAN=1 -I. -I. -I.. -I./zziplib -g -O2 -c scanners.c -
Wp,-MD,.deps/scanners.TPlo  -fPIC -DPIC -o scanners.lo
In file included from vba_extract.h:26,
                 from scanners.c:39:
cltypes.h:47: #error unable to typedef int32_t from either int or long
make[1]: *** [scanners.lo] Error 1
make[1]: Leaving directory `/develop/clam/clamav-devel-
20040128/libclamav'
make: *** [all-recursive] Error 1

===============================================================
I know it is a pretty old system and I donīt have stdint.h on it,
maybe that is the problem. I searched through /usr/include for int32_t 
and found nothing which belongs to the system (only db.h and some GLIB 
stuff).

Greetings, spiralvoice



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to