> Try adding "-D_XOPEN_SOURCE EXTENDED" to your CFLAGS.
I entered the setenv command three times using the following syntax: setenv CFLAGS "-I/usr/tools/gcc3/include" setenv LDFLAGS "-L/usr/tools/gcc3/lib" setenv CFLAGS "-D_XOPEN_SOURCE EXTENDED" After that, I ran the configure script, and it returned with the error message shown below: error: C compiler cannot create executables See `config.log' for more details. I've included the log file in this e-mail.
This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.59. Invocation command line was $ ./configure ## --------- ## ## Platform. ## ## --------- ## hostname = hadron.mgh.harvard.edu uname -m = 9000/777 uname -r = B.10.20 uname -s = HP-UX uname -v = A /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/tools/gcc3/bin PATH: /usr/bin PATH: /usr/ccs/bin PATH: /usr/contrib/bin PATH: /opt/nettladm/bin PATH: /opt/pd/bin PATH: /usr/bin/X11 PATH: /usr/contrib/bin/X11 PATH: /opt/upgrade/bin PATH: /opt/vnc PATH: /opt/ignite/bin PATH: /opt/cfg2html ## ----------- ## ## Core tests. ## ## ----------- ## configure:1531: checking build system type configure:1549: result: hppa1.1-hp-hpux10.20 configure:1557: checking host system type configure:1571: result: hppa1.1-hp-hpux10.20 configure:1579: checking target system type configure:1593: result: hppa1.1-hp-hpux10.20 configure:1664: result: creating target.h - canonical system defines configure:1808: checking for a BSD-compatible install configure:1863: result: ./install-sh -c configure:1874: checking whether build environment is sane configure:1917: result: yes configure:1982: checking for gawk configure:2011: result: no configure:1982: checking for mawk configure:2011: result: no configure:1982: checking for nawk configure:2011: result: no configure:1982: checking for awk configure:1998: found /usr/bin/awk configure:2008: result: awk configure:2018: checking whether make sets $(MAKE) configure:2038: result: yes configure:2219: checking for gawk configure:2245: result: awk configure:2301: checking for gcc configure:2317: found /usr/tools/gcc3/bin/gcc configure:2327: result: gcc configure:2571: checking for C compiler version configure:2574: gcc --version </dev/null >&5 gcc (GCC) 3.1 Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:2577: $? = 0 configure:2579: gcc -v </dev/null >&5 Reading specs from /usr/tools/gcc3/lib/gcc-lib/hppa1.1-hp-hpux10.20/3.1/specs Configured with: ../configure --prefix=/usr/tools/gcc3 --with-as=/usr/tools/gnu/bin/as Thread model: single gcc version 3.1 configure:2582: $? = 0 configure:2584: gcc -V </dev/null >&5 gcc: argument to `-V' is missing configure:2587: $? = 1 configure:2610: checking for C compiler default output file name configure:2613: gcc -D_XOPEN_SOURCE EXTENDED -L/usr/tools/gcc3/lib conftest.c >&5 gcc: EXTENDED: No such file or directory configure:2616: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "clamav" | #define VERSION "0.88" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2654: error: C compiler cannot create executables See `config.log' for more details. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=hppa1.1-hp-hpux10.20 ac_cv_build_alias=hppa1.1-hp-hpux10.20 ac_cv_env_CC_set='' ac_cv_env_CC_value='' ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-D_XOPEN_SOURCE EXTENDED' ac_cv_env_CPPFLAGS_set='' ac_cv_env_CPPFLAGS_value='' ac_cv_env_CPP_set='' ac_cv_env_CPP_value='' ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value=-L/usr/tools/gcc3/lib ac_cv_env_build_alias_set='' ac_cv_env_build_alias_value='' ac_cv_env_host_alias_set='' ac_cv_env_host_alias_value='' ac_cv_env_target_alias_set='' ac_cv_env_target_alias_value='' ac_cv_host=hppa1.1-hp-hpux10.20 ac_cv_host_alias=hppa1.1-hp-hpux10.20 ac_cv_prog_AWK=awk ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_make_make_set=yes ac_cv_target=hppa1.1-hp-hpux10.20 ac_cv_target_alias=hppa1.1-hp-hpux10.20 ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /home/kaplan/clamav-0.88/missing --run aclocal-1.9' ADDITIONAL_LIBS='' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='' AMTAR='${SHELL} /home/kaplan/clamav-0.88/missing --run tar' AUTOCONF='${SHELL} /home/kaplan/clamav-0.88/missing --run autoconf' AUTOHEADER='${SHELL} /home/kaplan/clamav-0.88/missing --run autoheader' AUTOMAKE='${SHELL} /home/kaplan/clamav-0.88/missing --run automake-1.9' AWK='awk' BUILD_CLAMD_FALSE='' BUILD_CLAMD_TRUE='' CC='gcc' CCDEPMODE='' CFGDIR='' CFLAGS='-D_XOPEN_SOURCE EXTENDED' CLAMAVGROUP='' CLAMAVUSER='' CLAMAV_MILTER_LIBS='' CLAMD_LIBS='' CPP='' CPPFLAGS='' CYGPATH_W='echo' DBDIR='' DEFS='' DEPDIR='' ECHO='print -r' ECHO_C='ECHO_N='' ECHO_T='' EGREP='' EXEEXT='' FRESHCLAM_LIBS='' GETENT='' HAVE_MILTER_FALSE='' HAVE_MILTER_TRUE='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s' LDFLAGS='-L/usr/tools/gcc3/lib' LIBCLAMAV_LIBS='' LIBCLAMAV_VERSION='1:17:0' LIBOBJS='' LIBS='' LIBTOOL='' LN_S='' LTLIBOBJS='' MAINT='' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='' MAKEINFO='${SHELL} /home/kaplan/clamav-0.88/missing --run makeinfo' OBJEXT='' PACKAGE='clamav' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PATH_SEPARATOR=':' RANLIB='' SET_MAKE='' SHELL='/bin/sh' STRIP='' TH_SAFE='' VERSION='0.88' ac_ct_CC='gcc' ac_ct_RANLIB='' ac_ct_STRIP='' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='' am__include='' am__leading_dot='.' am__quote='' am__tar='${AMTAR} chof - "$$tardir"' am__untar='${AMTAR} xf -' bindir='${exec_prefix}/bin' build='hppa1.1-hp-hpux10.20' build_alias='' build_cpu='hppa1.1' build_os='hpux10.20' build_vendor='hp' datadir='${prefix}/share' exec_prefix='NONE' host='hppa1.1-hp-hpux10.20' host_alias='' host_cpu='hppa1.1' host_os='hpux10.20' host_vendor='hp' includedir='${prefix}/include' infodir='${prefix}/info' install_sh='/home/kaplan/clamav-0.88/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='${prefix}/var' mandir='${prefix}/man' mkdir_p='$(mkinstalldirs)' oldincludedir='/usr/include' prefix='NONE' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' sendmailprog='' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target='hppa1.1-hp-hpux10.20' target_alias='' target_cpu='hppa1.1' target_os='hpux10.20' target_vendor='hp' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE "clamav" #define PACKAGE_BUGREPORT "" #define PACKAGE_NAME "" #define PACKAGE_STRING "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define VERSION "0.88" configure: exit 77
_______________________________________________ http://lurker.clamav.net/list/clamav-users.html