|
-
Sep 7th, 2009, 07:46 AM
#1
Thread Starter
Member
debian compile error ?!
hello , im gettin an error while compiling source or package
see pic below it gave me C compile error im updated my GCC but still getting this error in every sources.
-
Sep 7th, 2009, 10:09 AM
#2
Re: debian compile error ?!
Hey,
Have you checked the config.log?
Are there any more details in there?
Gary
-
Sep 7th, 2009, 12:49 PM
#3
Thread Starter
Member
Re: debian compile error ?!
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 = debian
uname -m = i686
uname -r = 2.6.18-6-686
uname -s = Linux
uname -v = #1 SMP Fri Dec 12 16:48:28 UTC 2008
/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/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/bin/X11
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1588: checking build system type
configure:1606: result: i686-pc-linux-gnulibc1
configure:1614: checking host system type
configure:1628: result: i686-pc-linux-gnulibc1
configure:1655: checking for a BSD-compatible install
configure:1710: result: /usr/bin/install -c
configure:1721: checking whether build environment is sane
configure:1764: result: yes
configure:1829: checking for gawk
configure:1858: result: no
configure:1829: checking for mawk
configure:1845: found /usr/bin/mawk
configure:1855: result: mawk
configure:1865: checking whether make sets $(MAKE)
configure:1885: result: yes
configure:2125: checking for xmms
configure:2158: result: no
configure:2244: checking for gcc
configure:2260: found /usr/bin/gcc
configure:2270: result: gcc
configure:2514: checking for C compiler version
configure:2517: gcc --version </dev/null >&5
gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
Copyright (C) 2006 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:2520: $? = 0
configure:2522: gcc -v </dev/null >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --with-tune=i686 --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
configure:2525: $? = 0
configure:2527: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2530: $? = 1
configure:2553: checking for C compiler default output file name
configure:2556: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:2559: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "xmms"
| #define VERSION "1.2.11"
| #define DEV_DSP "/dev/dsp"
| #define DEV_MIXER "/dev/mixer"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2598: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=i686-pc-linux-gnulibc1
ac_cv_build_alias=i686-pc-linux-gnulibc1
ac_cv_env_CCASFLAGS_set=
ac_cv_env_CCASFLAGS_value=
ac_cv_env_CCAS_set=
ac_cv_env_CCAS_value=
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_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_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_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_host=i686-pc-linux-gnulibc1
ac_cv_host_alias=i686-pc-linux-gnulibc1
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=mawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /home/afshin/src/xmms/missing --run aclocal-1.9'
ALLOCA=''
ALSA_CFLAGS=''
ALSA_LIBS=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /home/afshin/src/xmms/missing --run tar'
AR=''
ARCH_DEFINES=''
ARCH_X86_FALSE=''
ARCH_X86_TRUE=''
AUTOCONF='${SHELL} /home/afshin/src/xmms/missing --run autoconf'
AUTOHEADER='${SHELL} /home/afshin/src/xmms/missing --run autoheader'
AUTOMAKE='${SHELL} /home/afshin/src/xmms/missing --run automake-1.9'
AWK='mawk'
BUILD_INCLUDED_LIBINTL=''
CATOBJEXT=''
CC='gcc'
CCAS=''
CCASFLAGS=''
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DATADIRNAME=''
DEFS=''
DEPDIR=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EFFECT_PLUGINS=''
EFFECT_PLUGIN_DIR=''
EGREP=''
ESD_CFLAGS=''
ESD_CONFIG=''
ESD_LIBS=''
EXEEXT=''
F77=''
FFLAGS=''
GENCAT=''
GENERAL_PLUGINS=''
GENERAL_PLUGIN_DIR=''
GLIBC21=''
GLIBC2=''
GLIB_CFLAGS=''
GLIB_CONFIG=''
GLIB_LIBS=''
GMSGFMT=''
GTK_CFLAGS=''
GTK_CONFIG=''
GTK_LIBS=''
HAVE_ALSA_FALSE=''
HAVE_ALSA_TRUE=''
HAVE_ASPRINTF=''
HAVE_CDROM_FALSE=''
HAVE_CDROM_TRUE=''
HAVE_ESD_FALSE=''
HAVE_ESD_TRUE=''
HAVE_LINUX_JOYSTICK_FALSE=''
HAVE_LINUX_JOYSTICK_TRUE=''
HAVE_MIKMOD_FALSE=''
HAVE_MIKMOD_TRUE=''
HAVE_OGGVORBIS_FALSE=''
HAVE_OGGVORBIS_TRUE=''
HAVE_OPENGL_FALSE=''
HAVE_OPENGL_TRUE=''
HAVE_OSS_FALSE=''
HAVE_OSS_TRUE=''
HAVE_POSIX_PRINTF=''
HAVE_SNPRINTF=''
HAVE_SOLARIS_FALSE=''
HAVE_SOLARIS_TRUE=''
HAVE_SUN_FALSE=''
HAVE_SUN_TRUE=''
HAVE_WPRINTF=''
INPUT_PLUGINS=''
INPUT_PLUGIN_DIR=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
INSTOBJEXT=''
INTLBISON=''
INTLLIBS=''
INTLOBJS=''
INTL_LIBTOOL_SUFFIX_PREFIX=''
INTL_MACOSX_LIBS=''
LDFLAGS=''
LIBICONV=''
LIBINTL=''
LIBMIKMOD_CFLAGS=''
LIBMIKMOD_CONFIG=''
LIBMIKMOD_LDADD=''
LIBMIKMOD_LIBS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBICONV=''
LTLIBINTL=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/afshin/src/xmms/missing --run makeinfo'
MKINSTALLDIRS=''
MSGFMT=''
MSGMERGE=''
OBJEXT=''
OGG_CFLAGS=''
OGG_LIBS=''
OPENGL_LIBS=''
OUTPUT_PLUGINS=''
OUTPUT_PLUGIN_DIR=''
PACKAGE='xmms'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PLUGIN_LDFLAGS=''
POSIX_LIBS=''
POSUB=''
PTHREAD_LIBS=''
RANLIB=''
SET_MAKE=''
SHELL='/bin/sh'
SM_LIBS=''
STRIP=''
USE_INCLUDED_LIBINTL=''
USE_IPV6=''
USE_IPV6_FALSE=''
USE_IPV6_TRUE=''
USE_NLS=''
USE_SIMD_FALSE=''
USE_SIMD_TRUE=''
USE_X86ASM_FALSE=''
USE_X86ASM_TRUE=''
VERSION='1.2.11'
VISUALIZATION_PLUGINS=''
VISUALIZATION_PLUGIN_DIR=''
VM_LIBS=''
VORBISENC_LIBS=''
VORBISFILE_LIBS=''
VORBIS_CFLAGS=''
VORBIS_LIBS=''
XGETTEXT=''
XMMS_DEFINES=''
XMMS_PATH=''
Z_LIBS=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_F77=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
ac_prefix_program=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnulibc1'
build_alias=''
build_cpu='i686'
build_os='linux-gnulibc1'
build_vendor='pc'
datadir='${prefix}/share'
exec_prefix='NONE'
host='i686-pc-linux-gnulibc1'
host_alias=''
host_cpu='i686'
host_os='linux-gnulibc1'
host_vendor='pc'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/home/afshin/src/xmms/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir=''
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
plugindir=''
pluginsubs=''
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=''
sysconfdir='${prefix}/etc'
target_alias=''
xmmsdir=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define DEV_DSP "/dev/dsp"
#define DEV_MIXER "/dev/mixer"
#define PACKAGE "xmms"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define VERSION "1.2.11"
configure: exit 77
-
Sep 8th, 2009, 10:27 PM
#4
Re: debian compile error ?!
apt-get install libc6-dev
-
Sep 9th, 2009, 12:51 AM
#5
Re: debian compile error ?!
Hey penagate,
I am still getting used to the output of compile scripts, so wasn't able to help the OP in this case, and I am curious...
Where did you pull that from? What made you suggest that they install that?
Gary
-
Sep 9th, 2009, 12:56 AM
#6
Re: debian compile error ?!
Experience. 
A message like "C compiler cannot create executables" suggests something is broken with the host system. Usually on Linux this means packages are missing.
I then Googled to find the Debian package for gcc compilation.
On Red Hat-based systems the equivalent would be something like
# yum install glibc-devel
When installing a Linux distro you are usually given an option to install packages required for compiling programs from source.
-
Sep 9th, 2009, 01:12 AM
#7
Re: debian compile error ?!
Ah, I see what you mean.
I run a Centos system so the gcc devel package is different to the one you posted for Debian, hence why I didn't click.
Still getting used to Linux, it is a steep learning curve, especially when you start compiling from source.
Thanks for the tip!!
Gary
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|