I'm trying to compile IKES-SCAN tool (nta-monitor.com/tools/ike-scan/) but I got this:
C compiler cannot create executables
I don't know how to fix it, maybe compiler is screwed.
How can I check if compiler is working?
Here is what config.log says:
Code:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by ike-scan configure 1.8, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = fenix.cnc.co.cr
uname -m = i686
uname -r = 2.6.15.4
uname -s = Linux
uname -v = #2 SMP Fri Feb 17 14:00:07 CST 2006
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/sbin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/X11R6/bin
PATH: /usr/games
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1362: checking for a BSD-compatible install
configure:1417: result: /usr/bin/ginstall -c
configure:1428: checking whether build environment is sane
configure:1471: result: yes
configure:1536: checking for gawk
configure:1552: found /usr/bin/gawk
configure:1562: result: gawk
configure:1572: checking whether make sets $(MAKE)
configure:1592: result: yes
configure:1810: checking for gcc
configure:1826: found /usr/bin/gcc
configure:1836: result: gcc
configure:2080: checking for C compiler version
configure:2083: gcc --version </dev/null >&5
gcc (GCC) 3.3.4
Copyright (C) 2003 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:2086: $? = 0
configure:2088: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/specs
Configured with: ../gcc-3.3.4/configure --prefix=/usr --enable-shared --enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose --target=i486-slackware-linux --host=i486-slackware-linux
Thread model: posix
gcc version 3.3.4
configure:2091: $? = 0
configure:2093: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:2096: $? = 1
configure:2119: checking for C compiler default output file name
configure:2122: gcc conftest.c >&5
gcc: installation problem, cannot exec `as': No such file or directory
configure:2125: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "ike-scan"
| #define PACKAGE_TARNAME "ike-scan"
| #define PACKAGE_VERSION "1.8"
| #define PACKAGE_STRING "ike-scan 1.8"
| #define PACKAGE_BUGREPORT "ike-scan@nta-monitor.com"
| #define PACKAGE "ike-scan"
| #define VERSION "1.8"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2164: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
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=
ac_cv_env_LDFLAGS_value=
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_path_install='/usr/bin/ginstall -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /usr/share/ike-scan/ike-scan-1.8/missing --run aclocal-1.9'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /usr/share/ike-scan/ike-scan-1.8/missing --run tar'
AUTOCONF='${SHELL} /usr/share/ike-scan/ike-scan-1.8/missing --run autoconf'
AUTOHEADER='${SHELL} /usr/share/ike-scan/ike-scan-1.8/missing --run autoheader'
AUTOMAKE='${SHELL} /usr/share/ike-scan/ike-scan-1.8/missing --run automake-1.9'
AWK='gawk'
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LN_S=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /usr/share/ike-scan/ike-scan-1.8/missing --run makeinfo'
OBJEXT=''
PACKAGE='ike-scan'
PACKAGE_BUGREPORT='ike-scan@nta-monitor.com'
PACKAGE_NAME='ike-scan'
PACKAGE_STRING='ike-scan 1.8'
PACKAGE_TARNAME='ike-scan'
PACKAGE_VERSION='1.8'
PATH_SEPARATOR=':'
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='1.8'
ac_ct_CC='gcc'
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_alias=''
datadir='${prefix}/share'
exec_prefix='NONE'
host_alias=''
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/usr/share/ike-scan/ike-scan-1.8/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE "ike-scan"
#define PACKAGE_BUGREPORT "ike-scan@nta-monitor.com"
#define PACKAGE_NAME "ike-scan"
#define PACKAGE_STRING "ike-scan 1.8"
#define PACKAGE_TARNAME "ike-scan"
#define PACKAGE_VERSION "1.8"
#define VERSION "1.8"
configure: exit 77
Any help will be appreciated.
THANKS!