LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Closed Thread
  Search this Thread
Old 08-02-2006, 01:30 PM   #1
jaisol
LQ Newbie
 
Registered: Mar 2006
Posts: 9

Rep: Reputation: 0
C compiler cannot create executables ERROR


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!
 
Old 08-02-2006, 02:05 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

Please see: http://www.linuxquestions.org/questi...te+executables
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error: C compiler cannot create executables jimmax777 Linux - Software 3 12-21-2004 06:52 AM
error: C++ compiler cannot create executables sys7em Slackware 2 10-30-2004 06:38 PM
error: C compiler cannot create executables lopette Linux - Software 4 09-10-2004 04:06 PM
Need help! error: C compiler cannot create executables Aioria Linux - Newbie 4 07-05-2004 01:15 AM
error: C compiler cannot create executables bublebboy Linux - Newbie 8 06-14-2004 10:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration