LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 02-08-2019, 01:41 AM   #1
peralagar
LQ Newbie
 
Registered: Feb 2019
Posts: 3

Rep: Reputation: Disabled
Debian Linux: GCC-4.9.2 configure: error: C compiler cannot create executables


Hello LQ,

I have recently tried to install FreeSwitch Server build on top of Debian Linux. During compilation, i ran into the gcc error in the title. This is the input/output code:

Code:
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:4321: $? = 4
configure:4341: checking whether the C compiler works
configure:4363: gcc -g -ggdb -l /usr/include/lua5.2   conftest.c  >&5
/usr/bin/ld: cannot find -l/usr/include/lua5.2
collect2: error: ld returned 1 exit status
configure:4367: $? = 1
configure:4405: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "freeswitch"
| #define PACKAGE_TARNAME "freeswitch"
| #define PACKAGE_VERSION "1.8.1"
| #define PACKAGE_STRING "freeswitch 1.8.1"
| #define PACKAGE_BUGREPORT "bugs@freeswitch.org"
| #define PACKAGE_URL ""
| #define PACKAGE "freeswitch"
| #define VERSION "1.8.1"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:4410: error: in `/usr/src/freeswitch.git':
configure:4412: error: C compiler cannot create executables
See `config.log' for more details
The part in bold is the error. Can anybody help me solve this?

thanks, Peralagar

P.S. here is the config.log:

Code:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by freeswitch configure 1.8.1, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var

## --------- ##
## Platform. ##
## --------- ##

hostname = freeswitch-vm
uname -m = x86_64
uname -r = 3.16.0-4-amd64
uname -s = Linux
uname -v = #1 SMP Debian 3.16.36-1+deb8u1 (2016-09-03)

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:3217: checking for a BSD-compatible install
configure:3285: result: /usr/bin/install -c
configure:3296: checking whether build environment is sane
configure:3351: result: yes
configure:3502: checking for a thread-safe mkdir -p
configure:3541: result: /bin/mkdir -p
configure:3548: checking for gawk
configure:3578: result: no
configure:3548: checking for mawk
configure:3564: found /usr/bin/mawk
configure:3575: result: mawk
configure:3586: checking whether make sets $(MAKE)
configure:3608: result: yes
configure:3637: checking whether make supports nested variables
configure:3654: result: yes
configure:3791: checking whether make supports nested variables
configure:3808: result: yes
configure:3831: checking build system type
configure:3845: result: x86_64-unknown-linux-gnu
configure:3865: checking host system type
configure:3878: result: x86_64-unknown-linux-gnu
configure:3946: checking for style of include used by make
configure:3974: result: GNU
configure:4045: checking for gcc
configure:4061: found /usr/bin/gcc
configure:4072: result: gcc
configure:4301: checking for C compiler version
configure:4310: gcc --version >&5
gcc (Debian 4.9.2-10) 4.9.2
Copyright (C) 2014 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:4321: $? = 0
configure:4310: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.9.2-10' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --with-arch-32=i586 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.9.2 (Debian 4.9.2-10) 
configure:4321: $? = 0
configure:4310: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:4321: $? = 4
configure:4310: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:4321: $? = 4
configure:4341: checking whether the C compiler works
configure:4363: gcc -g -ggdb -l /usr/include/lua5.2   conftest.c  >&5
/usr/bin/ld: cannot find -l/usr/include/lua5.2
collect2: error: ld returned 1 exit status
configure:4367: $? = 1
configure:4405: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "freeswitch"
| #define PACKAGE_TARNAME "freeswitch"
| #define PACKAGE_VERSION "1.8.1"
| #define PACKAGE_STRING "freeswitch 1.8.1"
| #define PACKAGE_BUGREPORT "bugs@freeswitch.org"
| #define PACKAGE_URL ""
| #define PACKAGE "freeswitch"
| #define VERSION "1.8.1"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:4410: error: in `/usr/src/freeswitch.git':
configure:4412: error: C compiler cannot create executables
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-g -ggdb -l /usr/include/lua5.2'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_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_host=x86_64-unknown-linux-gnu
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=mawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
am_cv_make_support_nested_variables=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /usr/src/freeswitch.git/build/config/missing aclocal-1.14'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMQP_CFLAGS=''
AMQP_LIBS=''
AMRWB_CFLAGS=''
AMRWB_LIBS=''
AMR_CFLAGS=''
AMR_LIBS=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='0'
AM_MAKEFLAGS=''
AM_MOD_AVMD_CXXFLAGS=''
AM_V='$(V)'
AR=''
ATTR_UNUSED=''
AUTOCONF='${SHELL} /usr/src/freeswitch.git/build/config/missing autoconf'
AUTOHEADER='${SHELL} /usr/src/freeswitch.git/build/config/missing autoheader'
AUTOMAKE='${SHELL} /usr/src/freeswitch.git/build/config/missing automake-1.14'
AVCODEC_CFLAGS=''
AVCODEC_LIBS=''
AVFORMAT_CFLAGS=''
AVFORMAT_LIBS=''
AVRESAMPLE_CFLAGS=''
AVRESAMPLE_LIBS=''
AVUTIL_CFLAGS=''
AVUTIL_LIBS=''
AWK='mawk'
BROADVOICE_CFLAGS=''
BROADVOICE_LIBS=''
BROTLIDEC_CFLAGS=''
BROTLIDEC_LIBS=''
BROTLIENC_CFLAGS=''
BROTLIENC_LIBS=''
BZIP=''
CC='gcc'
CCDEPMODE=''
CC_FOR_BUILD=''
CFLAGS='-g -ggdb -l /usr/include/lua5.2'
CODEC2_CFLAGS=''
CODEC2_LIBS=''
CONF_DISABLED_MODULES=''
CONF_MODULES=''
CPP=''
CPPFLAGS=''
CURL=''
CURL_CFLAGS=''
CURL_LIBS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DIRECTORY_SEPARATOR=''
DISABLE_CC_FALSE=''
DISABLE_CC_TRUE=''
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_CPP_FALSE=''
ENABLE_CPP_TRUE=''
ENABLE_LIBVPX_FALSE=''
ENABLE_LIBVPX_TRUE=''
ENABLE_LIBYUV_FALSE=''
ENABLE_LIBYUV_TRUE=''
ENABLE_SRTP_FALSE=''
ENABLE_SRTP_TRUE=''
ENABLE_ZRTP_FALSE=''
ENABLE_ZRTP_TRUE=''
ERLANG=''
ERLANG_CFLAGS=''
ERLANG_LDFLAGS=''
ESL_LDFLAGS=''
EXEEXT=''
FGREP=''
FLITE_CFLAGS=''
FLITE_LIBS=''
FREETYPE_CFLAGS=''
FREETYPE_LIBS=''
FVAD_CFLAGS=''
FVAD_LIBS=''
G7221_CFLAGS=''
G7221_LIBS=''
GETG729=''
GETLIB=''
GETSOUNDS=''
GREP=''
GUMBO_CFLAGS=''
GUMBO_LIBS=''
H2O_CFLAGS=''
H2O_LIBS=''
HAVE_AMQP_FALSE=''
HAVE_AMQP_TRUE=''
HAVE_AMRWB_FALSE=''
HAVE_AMRWB_TRUE=''
HAVE_AMR_FALSE=''
HAVE_AMR_TRUE=''
HAVE_AVCODEC_FALSE=''
HAVE_AVCODEC_TRUE=''
HAVE_AVFORMAT_FALSE=''
HAVE_AVFORMAT_TRUE=''
HAVE_AVRESAMPLE_FALSE=''
HAVE_AVRESAMPLE_TRUE=''
HAVE_AVUTIL_FALSE=''
HAVE_AVUTIL_TRUE=''
HAVE_BROADVOICE_FALSE=''
HAVE_BROADVOICE_TRUE=''
HAVE_BROTLIDEC_FALSE=''
HAVE_BROTLIDEC_TRUE=''
HAVE_BROTLIENC_FALSE=''
HAVE_BROTLIENC_TRUE=''
HAVE_CODEC2_FALSE=''
HAVE_CODEC2_TRUE=''
HAVE_ERLANG_FALSE=''
HAVE_ERLANG_TRUE=''
HAVE_FLITE_FALSE=''
HAVE_FLITE_TRUE=''
HAVE_FREETYPE_FALSE=''
HAVE_FREETYPE_TRUE=''
HAVE_FVAD_FALSE=''
HAVE_FVAD_TRUE=''
HAVE_G7221_FALSE=''
HAVE_G7221_TRUE=''
HAVE_G723_1_FALSE=''
HAVE_G723_1_TRUE=''
HAVE_G729_FALSE=''
HAVE_G729_TRUE=''
HAVE_GUMBO_FALSE=''
HAVE_GUMBO_TRUE=''
HAVE_H2O_FALSE=''
HAVE_H2O_TRUE=''
HAVE_HIREDIS_FALSE=''
HAVE_HIREDIS_TRUE=''
HAVE_ILBC_FALSE=''
HAVE_ILBC_TRUE=''
HAVE_LDAP_FALSE=''
HAVE_LDAP_TRUE=''
HAVE_LDNS_FALSE=''
HAVE_LDNS_TRUE=''
HAVE_LIBWWW_SSL_DEFINE=''
HAVE_MAGICK7_FALSE=''
HAVE_MAGICK7_TRUE=''
HAVE_MAGICK_FALSE=''
HAVE_MAGICK_TRUE=''
HAVE_MEMCACHED_FALSE=''
HAVE_MEMCACHED_TRUE=''
HAVE_MONGOC_FALSE=''
HAVE_MONGOC_TRUE=''
HAVE_MP3LAME_FALSE=''
HAVE_MP3LAME_TRUE=''
HAVE_MPG123_FALSE=''
HAVE_MPG123_TRUE=''
HAVE_MYSQL_FALSE=''
HAVE_MYSQL_TRUE=''
HAVE_ODBC_FALSE=''
HAVE_ODBC_TRUE=''
HAVE_OPENAL_FALSE=''
HAVE_OPENAL_TRUE=''
HAVE_OPENCV_FALSE=''
HAVE_OPENCV_TRUE=''
HAVE_OPUS_FALSE=''
HAVE_OPUS_TRUE=''
HAVE_PERL_FALSE=''
HAVE_PERL_TRUE=''
HAVE_PGSQL_FALSE=''
HAVE_PGSQL_TRUE=''
HAVE_PHP_FALSE=''
HAVE_PHP_TRUE=''
HAVE_PNG_FALSE=''
HAVE_PNG_TRUE=''
HAVE_PORTAUDIO_FALSE=''
HAVE_PORTAUDIO_TRUE=''
HAVE_SHOUT_FALSE=''
HAVE_SHOUT_TRUE=''
HAVE_SILK_FALSE=''
HAVE_SILK_TRUE=''
HAVE_SMPP34_FALSE=''
HAVE_SMPP34_TRUE=''
HAVE_SNDFILE_FALSE=''
HAVE_SNDFILE_TRUE=''
HAVE_SOUNDTOUCH_FALSE=''
HAVE_SOUNDTOUCH_TRUE=''
HAVE_SWSCALE_FALSE=''
HAVE_SWSCALE_TRUE=''
HAVE_SYS_FILIO_H_DEFINE=''
HAVE_SYS_IOCTL_H_DEFINE=''
HAVE_SYS_SELECT_H_DEFINE=''
HAVE_TAP_FALSE=''
HAVE_TAP_TRUE=''
HAVE_TLS_FALSE=''
HAVE_TLS_TRUE=''
HAVE_V8FS_FALSE=''
HAVE_V8FS_TRUE=''
HAVE_VLC_FALSE=''
HAVE_VLC_TRUE=''
HAVE_WCHAR_H_DEFINE=''
HAVE_X264_FALSE=''
HAVE_X264_TRUE=''
HAVE_YAML_FALSE=''
HAVE_YAML_TRUE=''
HIREDIS_CFLAGS=''
HIREDIS_LIBS=''
HasJava_FALSE=''
HasJava_TRUE=''
ILBC_CFLAGS=''
ILBC_LIBS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
IS64BITLINUX_FALSE=''
IS64BITLINUX_TRUE=''
ISFREEBSD_FALSE=''
ISFREEBSD_TRUE=''
ISLINUX_FALSE=''
ISLINUX_TRUE=''
ISMAC_FALSE=''
ISMAC_TRUE=''
JACK_CFLAGS=''
JACK_LIBS=''
JAVA_FLAGS=''
JAVA_HOME=''
LD=''
LDFLAGS=''
LDNS_CFLAGS=''
LDNS_LIBS=''
LIBEDIT_CFLAGS=''
LIBEDIT_LIBS=''
LIBOBJS=''
LIBPNG_CFLAGS=''
LIBPNG_LIBS=''
LIBS=''
LIBTOOL=''
LIBTOOL_LIB_EXTEN=''
LIBUUID_CFLAGS=''
LIBUUID_LIBS=''
LIB_JAVA=''
LIB_SUBDIR=''
LIPO=''
LN_S=''
LTLIBOBJS=''
LUA_CFLAGS=''
LUA_LIBS=''
MAGICK7_CFLAGS=''
MAGICK7_LIBS=''
MAGICK_CFLAGS=''
MAGICK_LIBS=''
MAKEINFO='${SHELL} /usr/src/freeswitch.git/build/config/missing makeinfo'
MANIFEST_TOOL=''
MEMCACHED_CFLAGS=''
MEMCACHED_LIBS=''
MKDIR_P='/bin/mkdir -p'
MONGOC_CFLAGS=''
MONGOC_LIBS=''
MP3LAME_CFLAGS=''
MP3LAME_LIBS=''
MPG123_CFLAGS=''
MPG123_LIBS=''
NET_SNMP_CONFIG=''
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
ODBC_INC_DIR=''
ODBC_INC_FLAGS=''
ODBC_LIB_DIR=''
ODBC_LIB_FLAGS=''
OPENCV_CFLAGS=''
OPENCV_LIBS=''
OPENLDAP_LIBS=''
OPUS_CFLAGS=''
OPUS_LIBS=''
OTOOL64=''
OTOOL=''
OUR_CLEAN_MODS=''
OUR_DISABLED_CLEAN_MODS=''
OUR_DISABLED_INSTALL_MODS=''
OUR_DISABLED_MODS=''
OUR_DISABLED_UNINSTALL_MODS=''
OUR_INSTALL_MODS=''
OUR_MODS=''
OUR_UNINSTALL_MODS=''
PACKAGE='freeswitch'
PACKAGE_BUGREPORT='bugs@freeswitch.org'
PACKAGE_NAME='freeswitch'
PACKAGE_STRING='freeswitch 1.8.1'
PACKAGE_TARNAME='freeswitch'
PACKAGE_URL=''
PACKAGE_VERSION='1.8.1'
PATH_SEPARATOR=':'
PA_LIBS=''
PCRE_CFLAGS=''
PCRE_LIBS=''
PERL=''
PERL_CFLAGS=''
PERL_INC=''
PERL_LDFLAGS=''
PERL_LIBDIR=''
PERL_LIBS=''
PERL_SITEDIR=''
PG_CONFIG=''
PHP=''
PHP_CFLAGS=''
PHP_CONFIG=''
PHP_EXT_DIR=''
PHP_INC_DIR=''
PHP_INI_DIR=''
PHP_LDFLAGS=''
PHP_LIBS=''
PKG_CONFIG=''
PLATFORM_CORE_LDFLAGS=''
PLATFORM_CORE_LIBS=''
PORTAUDIO_CFLAGS=''
PORTAUDIO_LIBS=''
PRTDIAG=''
PYTHON=''
PYTHON_CFLAGS=''
PYTHON_LDFLAGS=''
PYTHON_SITE_DIR=''
RANLIB=''
SED=''
SET_MAKE=''
SHELL='/bin/bash'
SHOUT_CFLAGS=''
SHOUT_LIBS=''
SILK_CFLAGS=''
SILK_LIBS=''
SMPP34_CFLAGS=''
SMPP34_LIBS=''
SNDFILE_CFLAGS=''
SNDFILE_LIBS=''
SNMP_LIBS=''
SOLINK=''
SOUNDTOUCH_CFLAGS=''
SOUNDTOUCH_LIBS=''
SPANDSP_LA_JBIG=''
SPANDSP_LA_LZMA=''
SPEEX_CFLAGS=''
SPEEX_LIBS=''
SQLITE_CFLAGS=''
SQLITE_LIBS=''
STRIP=''
SWITCH_AM_CFLAGS=''
SWITCH_AM_CPPFLAGS=''
SWITCH_AM_CXXFLAGS=''
SWITCH_AM_LDFLAGS=''
SWITCH_ANSI_CFLAGS=''
SWITCH_VERSION_MAJOR='1'
SWITCH_VERSION_MICRO='1'
SWITCH_VERSION_MINOR='8'
SWITCH_VERSION_REVISION=''
SWITCH_VERSION_REVISION_HUMAN=''
SWSCALE_CFLAGS=''
SWSCALE_LIBS=''
SYSTEM_APRUTIL_FALSE=''
SYSTEM_APRUTIL_TRUE=''
SYSTEM_APR_FALSE=''
SYSTEM_APR_TRUE=''
SYSTEM_XMLRPCC_FALSE=''
SYSTEM_XMLRPCC_TRUE=''
SYS_XMLRPC_CFLAGS=''
SYS_XMLRPC_LDFLAGS=''
TAP_CFLAGS=''
TAP_LIBS=''
TAR=''
TOUCH_TARGET=''
V8FS_STATIC_CFLAGS=''
V8FS_STATIC_LIBS=''
VA_LIST_IS_ARRAY_DEFINE=''
VERSION='1.8.1'
VISIBILITY_FLAG=''
VLC_CFLAGS=''
VLC_LIBS=''
WANT_DEBUG_FALSE=''
WANT_DEBUG_TRUE=''
WGET=''
X264_CFLAGS=''
X264_LIBS=''
XZ=''
YAML_CFLAGS=''
YAML_LIBS=''
ZCAT=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
cachedir=''
certsdir=''
confdir=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
dbdir=''
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
fontsdir=''
grammardir=''
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
htdocsdir=''
htmldir='${docdir}'
imagesdir=''
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /usr/src/freeswitch.git/build/config/install-sh'
int64_t_fmt=''
int64_value=''
int_value=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var'
logfiledir=''
long_value=''
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
modulesdir=''
oldincludedir='/usr/include'
openssl_CFLAGS=''
openssl_LIBS=''
pdfdir='${docdir}'
pkgconfigdir=''
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
recordingsdir=''
runtimedir=''
sbindir='${exec_prefix}/sbin'
scriptdir=''
sharedstatedir='${prefix}/com'
short_value=''
size_t_fmt=''
size_t_value=''
soundsdir=''
ssize_t_fmt=''
ssize_t_value=''
storagedir=''
subdirs=''
switch_builddir='/usr/src/freeswitch.git'
switch_srcdir='/usr/src/freeswitch.git'
sysconfdir='/etc'
target_alias=''
uint64_t_fmt=''
voidp_size=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "freeswitch"
#define PACKAGE_TARNAME "freeswitch"
#define PACKAGE_VERSION "1.8.1"
#define PACKAGE_STRING "freeswitch 1.8.1"
#define PACKAGE_BUGREPORT "bugs@freeswitch.org"
#define PACKAGE_URL ""
#define PACKAGE "freeswitch"
#define VERSION "1.8.1"

configure: exit 77

Last edited by peralagar; 02-12-2019 at 01:04 AM. Reason: modified with code tags
 
Old 02-10-2019, 06:25 PM   #2
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
To start off please use code tags, second ask a mod to move this thread to the debian forum where it belongs
 
Old 02-11-2019, 09:52 AM   #3
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Install the build-essential package that should get you the binutils package which is required to make executables.
 
Old 02-12-2019, 01:09 AM   #4
peralagar
LQ Newbie
 
Registered: Feb 2019
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thanks for your suggestion, HappyTux.

"apt-get install build-essential" command exited saying that the package is already available in my environment. (snapshot of command line response is attached)
Hence still stuck with reported issue. Please help.
Attached Thumbnails
Click image for larger version

Name:	SIP Fax_Issue.PNG
Views:	26
Size:	18.0 KB
ID:	29772  
 
Old 02-12-2019, 06:58 AM   #5
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,792

Rep: Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306
for me it looks like there is a problem with your gcc. probably it is not the official one, but something else??
 
Old 02-12-2019, 11:25 AM   #6
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,564
Blog Entries: 19

Rep: Reputation: 4446Reputation: 4446Reputation: 4446Reputation: 4446Reputation: 4446Reputation: 4446Reputation: 4446Reputation: 4446Reputation: 4446Reputation: 4446Reputation: 4446
Quote:
Originally Posted by peralagar View Post
Hello LQ,

I have recently tried to install FreeSwitch Server build on top of Debian Linux. During compilation, i ran into the gcc error in the title. This is the input/output code:

Code:
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:4321: $? = 4
configure:4341: checking whether the C compiler works
configure:4363: gcc -g -ggdb -l /usr/include/lua5.2   conftest.c  >&5
/usr/bin/ld: cannot find -l/usr/include/lua5.2
collect2: error: ld returned 1 exit status
configure:4367: $? = 1
configure:4405: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "freeswitch"
| #define PACKAGE_TARNAME "freeswitch"
| #define PACKAGE_VERSION "1.8.1"
| #define PACKAGE_STRING "freeswitch 1.8.1"
| #define PACKAGE_BUGREPORT "bugs@freeswitch.org"
| #define PACKAGE_URL ""
| #define PACKAGE "freeswitch"
| #define VERSION "1.8.1"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:4410: error: in `/usr/src/freeswitch.git':
configure:4412: error: C compiler cannot create executables
See `config.log' for more details
Code:
configure:4341: checking whether the C compiler works
configure:4363: gcc -g -ggdb -l /usr/include/lua5.2   conftest.c  >&5
/usr/bin/ld: cannot find -l/usr/include/lua5.2
collect2: error: ld returned 1 exit status
configure:4367: $? = 1
configure:4405: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "freeswitch"
| #define PACKAGE_TARNAME "freeswitch"
| #define PACKAGE_VERSION "1.8.1"
| #define PACKAGE_STRING "freeswitch 1.8.1"
| #define PACKAGE_BUGREPORT "bugs@freeswitch.org"
| #define PACKAGE_URL ""
| #define PACKAGE "freeswitch"
| #define VERSION "1.8.1"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:4410: error: in `/usr/src/freeswitch.git':
configure:4412: error: C compiler cannot create executables
See `config.log' for more details
configure: exit 77
This looks like the culprit to me:
/usr/bin/ld: cannot find -l/usr/include/lua5.2
Your program needs the lua headers and can't find them. The package should be called something like lua5.2-dev.

Last edited by hazel; 02-12-2019 at 11:32 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GCC First Pass Error: C Compiler cannot create executables firephyz Linux From Scratch 4 01-09-2017 09:37 AM
[SOLVED] GCC-4.6.2 configure: error: C compiler cannot create executables Andy45 Linux From Scratch 2 03-25-2012 06:34 PM
gcc gives error C compiler cannot create executables ADD Linux - Newbie 6 01-03-2006 05:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 07:36 PM.

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