Здравствуйте.
У меня следующая проблема - при попытке выполнить ./configure возникает ошибка с любым исходником. для примера выкладываю текст консоли и config.log:
./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking whether make sets $(MAKE)... yes
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ar... /usr/bin/ar
checking for etags... no
checking for emacs-etags... no
checking for perl5... no
checking for perl... /usr/bin/perl
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.hostname = astracore
uname -m = i686
uname -r = 2.6.9-1.667asp
uname -s = Linux
uname -v = #1 Fri Nov 12 22:29:40 EET 2004
/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/bin
PATH: /bin
PATH: /usr/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1598: checking build system type
configure:1616: result: i686-pc-linux-gnu
configure:1624: checking host system type
configure:1638: result: i686-pc-linux-gnu
configure:1647: checking whether make sets $(MAKE)
configure:1667: result: yes
configure:1717: checking for ranlib
configure:1733: found /usr/bin/ranlib
configure:1744: result: ranlib
configure:1769: checking for a BSD-compatible install
configure:1824: result: /usr/bin/install -c
configure:1835: checking whether ln -s works
configure:1839: result: yes
configure:1862: checking for ar
configure:1880: found /usr/bin/ar
configure:1892: result: /usr/bin/ar
configure:1930: checking for etags
configure:1963: result: no
configure:1930: checking for emacs-etags
configure:1963: result: no
configure:1996: checking for perl5
configure:2029: result: no
configure:1996: checking for perl
configure:2014: found /usr/bin/perl
configure:2026: result: /usr/bin/perl
configure:2191: checking for gcc
configure:2207: found /usr/bin/gcc
configure:2217: result: gcc
configure:2461: checking for C compiler version
configure:2464: gcc --version </dev/null >&5
gcc (GCC) 3.3.3 20040412 (ASPLinux 3.3.3-7)
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:2467: $? = 0
configure:2469: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i386-asplinux-linux/3.3.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --disable-libunwind-exceptions --with-system-zlib --enable-__cxa_atexit --host=i386-asplinux-linux
Thread model: posix
gcc version 3.3.3 20040412 (ASPLinux 3.3.3-7)
configure:2472: $? = 0
configure:2474: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:2477: $? = 1
configure:2500: checking for C compiler default output file name
configure:2503: gcc conftest.c >&5
collect2: cannot find `ld'
configure:2506: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2545: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=i686-pc-linux-gnu
ac_cv_build_alias=i686-pc-linux-gnu
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-gnu
ac_cv_host_alias=i686-pc-linux-gnu
ac_cv_path_AR=/usr/bin/ar
ac_cv_path_PERL=/usr/bin/perl
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_make_make_set=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
A=''
ALWAYS_DEFINES=''
AR='/usr/bin/ar'
ARFLAGS='cruv'
BIND9_BIND9_BUILDINCLUDE=''
BIND9_DNS_BUILDINCLUDE=''
BIND9_ISCCC_BUILDINCLUDE=''
BIND9_ISCCFG_BUILDINCLUDE=''
BIND9_ISC_BUILDINCLUDE=''
BIND9_LWRES_BUILDINCLUDE=''
BIND9_TOP_BUILDDIR=''
BIND9_VERSION=''
BUILD_CC=''
BUILD_CFLAGS=''
BUILD_CPPFLAGS=''
BUILD_LDFLAGS=''
BUILD_LIBS=''
CC='gcc'
CCOPT=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXFLAGS=''
DEFS=''
DLZ_DRIVER_INCLUDES=''
DLZ_DRIVER_LIBS=''
DLZ_DRIVER_OBJS=''
DLZ_DRIVER_SRCS=''
DNS_CRYPTO_LIBS=''
DST_GSSAPI_INC=''
DST_OPENSSL_INC=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ETAGS=''
EXEEXT=''
F77=''
FFLAGS=''
GENRANDOMLIB=''
IDNLIBS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
IRIX_DNSSEC_WARNINGS_HACK=''
ISC_ARCH_DIR=''
ISC_EXTRA_OBJS=''
ISC_EXTRA_SRCS=''
ISC_IPV6_C=''
ISC_IPV6_H=''
ISC_IPV6_O=''
ISC_ISCIPV6_O=''
ISC_LWRES_ENDHOSTENTINT=''
ISC_LWRES_ENDNETENTINT=''
ISC_LWRES_GETADDRINFOPROTO=''
ISC_LWRES_GETHOSTBYADDRVOID=''
ISC_LWRES_GETIPNODEPROTO=''
ISC_LWRES_GETNAMEINFOPROTO=''
ISC_LWRES_GETNETBYADDRINADDR=''
ISC_LWRES_NEEDADDRINFO=''
ISC_LWRES_NEEDHERRNO=''
ISC_LWRES_NEEDRRSETINFO=''
ISC_LWRES_SETHOSTENTINT=''
ISC_LWRES_SETNETENTINT=''
ISC_PLATFORM_BRACEPTHREADONCEINIT=''
ISC_PLATFORM_FIXIN6ISADDR=''
ISC_PLATFORM_HAVEATOMICSTORE=''
ISC_PLATFORM_HAVECMPXCHG=''
ISC_PLATFORM_HAVEIFNAMETOINDEX=''
ISC_PLATFORM_HAVEIF_LADDRCONF=''
ISC_PLATFORM_HAVEIF_LADDRREQ=''
ISC_PLATFORM_HAVEIN6PKTINFO=''
ISC_PLATFORM_HAVEINADDR6=''
ISC_PLATFORM_HAVEIPV6=''
ISC_PLATFORM_HAVELIFCONF=''
ISC_PLATFORM_HAVELONGLONG=''
ISC_PLATFORM_HAVESALEN=''
ISC_PLATFORM_HAVESCOPEID=''
ISC_PLATFORM_HAVESYSUNH=''
ISC_PLATFORM_HAVEXADD=''
ISC_PLATFORM_MSGHDRFLAVOR=''
ISC_PLATFORM_NEEDATON=''
ISC_PLATFORM_NEEDIN6ADDRANY=''
ISC_PLATFORM_NEEDIN6ADDRLOOPBACK=''
ISC_PLATFORM_NEEDMEMMOVE=''
ISC_PLATFORM_NEEDNETINET6IN6H=''
ISC_PLATFORM_NEEDNETINETIN6H=''
ISC_PLATFORM_NEEDNTOP=''
ISC_PLATFORM_NEEDPORTT=''
ISC_PLATFORM_NEEDPTON=''
ISC_PLATFORM_NEEDSPRINTF=''
ISC_PLATFORM_NEEDSTRLCAT=''
ISC_PLATFORM_NEEDSTRLCPY=''
ISC_PLATFORM_NEEDSTRSEP=''
ISC_PLATFORM_NEEDSTRTOUL=''
ISC_PLATFORM_NEEDSYSSELECTH=''
ISC_PLATFORM_NEEDVSNPRINTF=''
ISC_PLATFORM_QUADFORMAT=''
ISC_PLATFORM_RLIMITTYPE=''
ISC_PLATFORM_USEDECLSPEC=''
ISC_PLATFORM_USEGCCASM=''
ISC_PLATFORM_USEMACASM=''
ISC_PLATFORM_USEOSFASM=''
ISC_PLATFORM_USESTDASM=''
ISC_PLATFORM_USETHREADS=''
ISC_SOCKADDR_LEN_T=''
ISC_THREAD_DIR=''
LATEX=''
LDFLAGS=''
LIBBIND=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIBTOOL_ALLOW_UNDEFINED=''
LIBTOOL_IN_MAIN=''
LIBTOOL_MKDEP_SED=''
LIBTOOL_MODE_COMPILE=''
LIBTOOL_MODE_INSTALL=''
LIBTOOL_MODE_LINK=''
LN='ln'
LN_S='ln -s'
LTLIBOBJS=''
LWRES_HAVE_SIN6_SCOPE_ID=''
LWRES_PLATFORM_HAVEINADDR6=''
LWRES_PLATFORM_HAVEIPV6=''
LWRES_PLATFORM_HAVESALEN=''
LWRES_PLATFORM_NEEDIN6ADDRANY=''
LWRES_PLATFORM_NEEDIN6ADDRLOOPBACK=''
LWRES_PLATFORM_NEEDNETINET6IN6H=''
LWRES_PLATFORM_NEEDNETINETIN6H=''
LWRES_PLATFORM_NEEDSPRINTF=''
LWRES_PLATFORM_NEEDSTRTOUL=''
LWRES_PLATFORM_NEEDSYSSELECTH=''
LWRES_PLATFORM_NEEDVSNPRINTF=''
LWRES_PLATFORM_QUADFORMAT=''
LWRES_PLATFORM_USEDECLSPEC=''
MKDEPCC=''
MKDEPCFLAGS=''
MKDEPPROG=''
O=''
OBJEXT=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PDFLATEX=''
PERL='/usr/bin/perl'
PG_CONFIG=''
PURIFY=''
RANLIB='ranlib'
SA=''
SET_MAKE=''
SHELL='/bin/sh'
STD_CDEFINES=''
STD_CINCLUDES=''
STD_CWARNINGS=''
STRIP=''
USE_DLZ=''
USE_GSSAPI=''
USE_OPENSSL=''
W3M=''
XMLLINT=''
XSLTPROC=''
XSLT_DB2LATEX_ADMONITIONS=''
XSLT_DB2LATEX_STYLE=''
XSLT_DOCBOOK_CHUNKTOC_HTML=''
XSLT_DOCBOOK_CHUNKTOC_XHTML=''
XSLT_DOCBOOK_CHUNK_HTML=''
XSLT_DOCBOOK_CHUNK_XHTML=''
XSLT_DOCBOOK_MAKETOC_HTML=''
XSLT_DOCBOOK_MAKETOC_XHTML=''
XSLT_DOCBOOK_STYLE_HTML=''
XSLT_DOCBOOK_STYLE_MAN=''
XSLT_DOCBOOK_STYLE_XHTML=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_F77=''
ac_ct_RANLIB='ranlib'
ac_ct_STRIP=''
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${prefix}/share'
exec_prefix='NONE'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
purify_path=''
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=' lib/bind'
sysconfdir='/etc'
target_alias=''
## ------------- ##
## Output files. ##
## ------------- ##
BIND9_MAKE_INCLUDES=''
BIND9_MAKE_RULES=''
DLZ_DRIVER_RULES=''
LIBBIND9_API=''
LIBDNS_API=''
LIBISCCC_API=''
LIBISCCFG_API=''
LIBISC_API=''
LIBLWRES_API=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
configure: exit 77
Пишет, что не найден линковщик ld, но он-то есть, да и до недавнего времени при первоначальной настройке системы проблем не было. не пойму в чем дело. помогите разобраться