gcc missing crt.o . I cannot compile anything.
hi all,
I've tried the configure scripts from Afterstep (1.8 and 2.0.0), aterm, and a bunch of other open-source downloads. All of them get sad when I run them because gcc (or it could be ld, I'm not sure) can't find crt.o . I could be wrong on that file name; I' on Windows at the moment. I can post logs/error output if that helps. How can I fix/workaround this problem to compile my programs? Thanks, -pcweirdo. |
Re: gcc missing crt.o . I cannot compile anything.
Quote:
|
logs and output
hey,
sorry for the delay in my reply, I've had trouble getting my internet connection to work. Here's the output of several things. config.log has info about my system. Feel free to ask for more if it'll help. lame.c: int main() { return 0; } --- In the shell: [pcweirdo@localhost src]$ gcc lame.c /usr/bin/ld: crt1.o: No such file: No such file or directory collect2: ld returned 1 exit status --- In the shell: [root@localhost src]# gcc lame.c > /mnt/winsata/transfer/gcc-basic-err.txt /usr/bin/ld: crt1.o: No such file: No such file or directory collect2: ld returned 1 exit status --- In the shell (attempting to configure the KDE GUI for DHCPd.): [root@localhost kcmdhcpd-0.3.8]# ./configure checking build system type... i686-pc-linux-gnulibc1 checking host system type... i686-pc-linux-gnulibc1 checking target system type... i686-pc-linux-gnulibc1 checking for a BSD-compatible install... /usr/bin/install -c checking for -p flag to install... yes checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU 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. --- config.log: [root@localhost kcmdhcpd-0.3.8]# cat config.log 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 = localhost.localdomain uname -m = i686 uname -r = 2.6.5-1.358smp uname -s = Linux uname -v = #1 SMP Sat May 8 09:25:36 EDT 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/kerberos/sbin PATH: /usr/kerberos/bin PATH: /usr/local/bin PATH: /usr/bin PATH: /bin PATH: /usr/X11R6/bin PATH: /home/pcweirdo/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1559: checking build system type configure:1577: result: i686-pc-linux-gnulibc1 configure:1585: checking host system type configure:1599: result: i686-pc-linux-gnulibc1 configure:1607: checking target system type configure:1621: result: i686-pc-linux-gnulibc1 configure:1668: checking for a BSD-compatible install configure:1723: result: /usr/bin/install -c configure:1738: checking for -p flag to install configure:1751: result: yes configure:1762: checking whether build environment is sane configure:1805: result: yes configure:1825: checking for gawk configure:1841: found /usr/bin/gawk configure:1851: result: gawk configure:1861: checking whether make sets $(MAKE) configure:1881: result: yes configure:2094: checking for style of include used by make configure:2122: result: GNU configure:2269: checking for gcc configure:2285: found /usr/bin/gcc configure:2295: result: gcc configure:2539: checking for C compiler version configure:2542: gcc --version </dev/null >&5 gcc (GCC) 3.3.3 20040412 (Red Hat Linux 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:2545: $? = 0 configure:2547: gcc -v </dev/null >&5 Reading specs from /usr/lib/gcc-lib/i386-redhat-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-redhat-linux Thread model: posix gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7) configure:2550: $? = 0 configure:2552: gcc -V </dev/null >&5 gcc: `-V' option must have argument configure:2555: $? = 1 configure:2578: checking for C compiler default output file name configure:2581: gcc conftest.c >&5 /usr/bin/ld: crt1.o: No such file: No such file or directory collect2: ld returned 1 exit status configure:2584: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "kcmdhcpd-0.3.8" | #define VERSION "3.1.94" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2623: 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_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=gawk ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_make_make_set=yes ac_cv_target=i686-pc-linux-gnulibc1 ac_cv_target_alias=i686-pc-linux-gnulibc1 ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /usr/src/kcmdhcpd-0.3.8/admin/missing --run aclocal-1.7' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='${SHELL} /usr/src/kcmdhcpd-0.3.8/admin/missing --run tar' AR='' ARTSCCONFIG='' AUTOCONF='${SHELL} /usr/src/kcmdhcpd-0.3.8/admin/missing --run autoconf' AUTODIRS='' AUTOHEADER='${SHELL} /usr/src/kcmdhcpd-0.3.8/admin/missing --run autoheader' AUTOMAKE='${SHELL} /usr/src/kcmdhcpd-0.3.8/admin/missing --run automake-1.7' AWK='gawk' CC='gcc' CCDEPMODE='' CFLAGS=' ' CONF_FILES=' $(top_srcdir)/./admin/configure.in.min $(top_srcdir)/configure.in.in $(top_srcdir)/./kcmdhcpd/configure.in.in' CPP='' CPPFLAGS='' CXX='' CXXCPP='' CXXDEPMODE='' CXXFLAGS='' CYGPATH_W='echo' DCOPIDL2CPP='' DCOPIDL='' DCOPIDLNG='' DCOP_DEPENDENCIES='' DEFS='' DEPDIR='.deps' ECHO='echo' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' F77='' FFLAGS='' FRAMEWORK_COREAUDIO='' GMSGFMT='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL} $(INSTALL_STRIP_FLAG)' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s' KCFG_DEPENDENCIES='' KCONFIG_COMPILER='' KDECONFIG='' KDE_EXTRA_RPATH='' KDE_INCLUDES='' KDE_INSTALLED_FALSE='' KDE_INSTALLED_TRUE='' KDE_LDFLAGS='' KDE_MT_LDFLAGS='' KDE_MT_LIBS='' KDE_NO_UNDEFINED='' KDE_PLUGIN='' KDE_RPATH='' KDE_USE_CLOSURE_FALSE='' KDE_USE_CLOSURE_TRUE='' KDE_USE_FINAL_FALSE='' KDE_USE_FINAL_TRUE='' KDE_USE_NMCHECK_FALSE='' KDE_USE_NMCHECK_TRUE='' KDE_XSL_STYLESHEET='' LDFLAGS='' LEX='' LEXLIB='' LEX_OUTPUT_ROOT='' LFLAGS='' LIBCOMPAT='' LIBCRYPT='' LIBDL='' LIBJPEG='' LIBOBJS='' LIBPNG='' LIBPTHREAD='' LIBRESOLV='' LIBS='' LIBSM='' LIBSOCKET='' LIBTOOL='' LIBUCB='' LIBUTIL='' LIBZ='' LIB_KAB='' LIB_KABC='' LIB_KDECORE='' LIB_KDEPIM='' LIB_KDEPRINT='' LIB_KDEUI='' LIB_KFILE='' LIB_KFM='' LIB_KHTML='' LIB_KIO='' LIB_KPARTS='' LIB_KSPELL='' LIB_KSYCOCA='' LIB_KUTILS='' LIB_POLL='' LIB_QPE='' LIB_QT='' LIB_SMB='' LIB_X11='' LIB_XEXT='' LIB_XRENDER='' LN_S='' LTLIBOBJS='' MAKEINFO='${SHELL} /usr/src/kcmdhcpd-0.3.8/admin/missing --run makeinfo' MCOPIDL='' MEINPROC='' MOC='' MSGFMT='' NOOPT_CFLAGS='' NOOPT_CXXFLAGS='' OBJEXT='' PACKAGE='kcmdhcpd-0.3.8' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PATH_SEPARATOR=':' PERL='' QTE_NORTTI='' QT_INCLUDES='' QT_LDFLAGS='' RANLIB='' SET_MAKE='' SHELL='/bin/sh' STRIP='' TOPSUBDIRS='' UIC='' UIC_TR='' USER_INCLUDES='' USER_LDFLAGS='' USE_EXCEPTIONS='' USE_RTTI='' USE_THREADS='' VERSION='3.1.94' WOVERLOADED_VIRTUAL='' XGETTEXT='' XMLLINT='' X_EXTRA_LIBS='' X_INCLUDES='' X_LDFLAGS='' X_PRE_LIBS='' X_RPATH='' ac_ct_AR='' ac_ct_CC='gcc' ac_ct_CXX='' ac_ct_F77='' ac_ct_RANLIB='' ac_ct_STRIP='' all_includes='' all_libraries='' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='' am__fastdepCXX_FALSE='' am__fastdepCXX_TRUE='' am__include='include' am__leading_dot='.' am__quote='' 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' include_ARTS_FALSE='' include_ARTS_TRUE='' includedir='${prefix}/include' infodir='${prefix}/info' install_sh='/usr/src/kcmdhcpd-0.3.8/admin/install-sh' kcmdhcpd_SUBDIR_included_FALSE='' kcmdhcpd_SUBDIR_included_TRUE='' kde_appsdir='' kde_bindir='' kde_confdir='' kde_datadir='' kde_htmldir='' kde_icondir='' kde_includes='' kde_kcfgdir='' kde_libraries='' kde_libs_htmldir='' kde_libs_prefix='' kde_locale='' kde_mimedir='' kde_moduledir='' kde_qtver='' kde_servicesdir='' kde_servicetypesdir='' kde_sounddir='' kde_styledir='' kde_templatesdir='' kde_wallpaperdir='' kde_widgetdir='' kdeinitdir='' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='${prefix}/var' mandir='${prefix}/man' oldincludedir='/usr/include' prefix='/usr' program_transform_name='s,x,x,' qt_includes='' qt_libraries='' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target='i686-pc-linux-gnulibc1' target_alias='' target_cpu='i686' target_os='linux-gnulibc1' target_vendor='pc' x_includes='NONE' x_libraries='NONE' xdg_appsdir='' xdg_directorydir='' xdg_menudir='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE "kcmdhcpd-0.3.8" #define PACKAGE_BUGREPORT "" #define PACKAGE_NAME "" #define PACKAGE_STRING "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define VERSION "3.1.94" configure: exit 77 --- Thanks for your help, -pcweirdo. |
Your problem happened to me a while ago, when I first installed linux. It took weeks of searching and asking around for me to figure it out - I almost completely lost faith in linux.
Anyway, here it goes: 1.) Install 'glibc-devel'. 2.) And thats it! That should fix your problem. |
Cool. I didn't have that package. I went to
ftp://rpmfind.net/linux/fedora/core/....3-68.i386.rpm and got that, but then I needed glibc-headers, and for that I need kernel-headers. I'm currently downloading kernel-headers from http://rpmfind.net//linux/RPM/PLD/di....6-1.i386.html I'm running Fedora Core 2 with kernel 2.6.5-1.358smp. Does it matter that this package is from a different distro? (It's the same kernel, right?) -pcweirdo. |
insane cpp
Now my /lib/cpp is supposedly insane!
Is there a way to fix this short of downloading gcc again? --- config.log: 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 = localhost.localdomain uname -m = i686 uname -r = 2.6.5-1.358smp uname -s = Linux uname -v = #1 SMP Sat May 8 09:25:36 EDT 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/kerberos/sbin PATH: /usr/kerberos/bin PATH: /usr/local/bin PATH: /usr/bin PATH: /bin PATH: /usr/X11R6/bin PATH: /home/pcweirdo/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1559: checking build system type configure:1577: result: i686-pc-linux-gnu configure:1585: checking host system type configure:1599: result: i686-pc-linux-gnu configure:1607: checking target system type configure:1621: result: i686-pc-linux-gnu configure:1668: checking for a BSD-compatible install configure:1723: result: /usr/bin/install -c configure:1738: checking for -p flag to install configure:1751: result: yes configure:1762: checking whether build environment is sane configure:1805: result: yes configure:1825: checking for gawk configure:1841: found /usr/bin/gawk configure:1851: result: gawk configure:1861: checking whether make sets $(MAKE) configure:1881: result: yes configure:2094: checking for style of include used by make configure:2122: result: GNU configure:2269: checking for gcc configure:2285: found /usr/bin/gcc configure:2295: result: gcc configure:2539: checking for C compiler version configure:2542: gcc --version </dev/null >&5 gcc (GCC) 3.3.3 20040412 (Red Hat Linux 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:2545: $? = 0 configure:2547: gcc -v </dev/null >&5 Reading specs from /usr/lib/gcc-lib/i386-redhat-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-redhat-linux Thread model: posix gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7) configure:2550: $? = 0 configure:2552: gcc -V </dev/null >&5 gcc: `-V' option must have argument configure:2555: $? = 1 configure:2578: checking for C compiler default output file name configure:2581: gcc conftest.c >&5 configure:2584: $? = 0 configure:2630: result: a.out configure:2635: checking whether the C compiler works configure:2641: ./a.out configure:2644: $? = 0 configure:2661: result: yes configure:2668: checking whether we are cross compiling configure:2670: result: no configure:2673: checking for suffix of executables configure:2675: gcc -o conftest conftest.c >&5 configure:2678: $? = 0 configure:2703: result: configure:2709: checking for suffix of object files configure:2730: gcc -c conftest.c >&5 configure:2733: $? = 0 configure:2755: result: o configure:2759: checking whether we are using the GNU C compiler configure:2783: gcc -c conftest.c >&5 configure:2789: $? = 0 configure:2793: test -z || test ! -s conftest.err configure:2796: $? = 0 configure:2799: test -s conftest.o configure:2802: $? = 0 configure:2815: result: yes configure:2821: checking whether gcc accepts -g configure:2842: gcc -c -g conftest.c >&5 configure:2848: $? = 0 configure:2852: test -z || test ! -s conftest.err configure:2855: $? = 0 configure:2858: test -s conftest.o configure:2861: $? = 0 configure:2872: result: yes configure:2889: checking for gcc option to accept ANSI C configure:2959: gcc -c conftest.c >&5 configure:2965: $? = 0 configure:2969: test -z || test ! -s conftest.err configure:2972: $? = 0 configure:2975: test -s conftest.o configure:2978: $? = 0 configure:2996: result: none needed configure:3014: gcc -c conftest.c >&5 conftest.c:2: error: syntax error before "me" configure:3020: $? = 1 configure: failed program was: | #ifndef __cplusplus | choke me | #endif configure:3155: checking dependency style of gcc configure:3238: result: gcc3 configure:3261: checking how to run the C preprocessor configure:3296: gcc -E conftest.c In file included from /usr/include/bits/posix1_lim.h:153, from /usr/include/limits.h:144, from /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/limits.h:122, from /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/syslimits.h:7, from /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/limits.h:11, from conftest.c:12: /usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory configure:3302: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "kcmdhcpd-0.3.8" | #define VERSION "3.1.94" | /* end confdefs.h. */ | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | Syntax error configure:3296: gcc -E conftest.c In file included from /usr/include/bits/posix1_lim.h:153, from /usr/include/limits.h:144, from /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/limits.h:122, from /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/syslimits.h:7, from /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/limits.h:11, from conftest.c:12: /usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory configure:3302: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "kcmdhcpd-0.3.8" | #define VERSION "3.1.94" | /* end confdefs.h. */ | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | Syntax error configure:3296: gcc -E -traditional-cpp conftest.c In file included from /usr/include/features.h:296, from /usr/include/assert.h:36, from conftest.c:14: /usr/include/sys/cdefs.h:31: #error "You need a ISO C conforming compiler to use the glibc headers" configure:3302: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "kcmdhcpd-0.3.8" | #define VERSION "3.1.94" | /* end confdefs.h. */ | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | Syntax error configure:3296: gcc -E -traditional-cpp conftest.c In file included from /usr/include/features.h:296, from /usr/include/assert.h:36, from conftest.c:14: /usr/include/sys/cdefs.h:31: #error "You need a ISO C conforming compiler to use the glibc headers" configure:3302: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "kcmdhcpd-0.3.8" | #define VERSION "3.1.94" | /* end confdefs.h. */ | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | Syntax error configure:3296: /lib/cpp conftest.c In file included from /usr/include/bits/posix1_lim.h:153, from /usr/include/limits.h:144, from /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/limits.h:122, from /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/syslimits.h:7, from /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/limits.h:11, from conftest.c:12: /usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory configure:3302: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "kcmdhcpd-0.3.8" | #define VERSION "3.1.94" | /* end confdefs.h. */ | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | Syntax error configure:3296: /lib/cpp conftest.c In file included from /usr/include/bits/posix1_lim.h:153, from /usr/include/limits.h:144, from /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/limits.h:122, from /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/syslimits.h:7, from /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/limits.h:11, from conftest.c:12: /usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory configure:3302: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "kcmdhcpd-0.3.8" | #define VERSION "3.1.94" | /* end confdefs.h. */ | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | Syntax error configure:3379: result: /lib/cpp configure:3403: /lib/cpp conftest.c In file included from /usr/include/bits/posix1_lim.h:153, from /usr/include/limits.h:144, from /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/limits.h:122, from /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/syslimits.h:7, from /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/limits.h:11, from conftest.c:12: /usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory configure:3409: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "kcmdhcpd-0.3.8" | #define VERSION "3.1.94" | /* end confdefs.h. */ | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | Syntax error configure:3403: /lib/cpp conftest.c In file included from /usr/include/bits/posix1_lim.h:153, from /usr/include/limits.h:144, from /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/limits.h:122, from /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/syslimits.h:7, from /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/limits.h:11, from conftest.c:12: /usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory configure:3409: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "kcmdhcpd-0.3.8" | #define VERSION "3.1.94" | /* end confdefs.h. */ | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | Syntax error configure:3478: error: C preprocessor "/lib/cpp" fails sanity check 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_c_compiler_gnu=yes 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_exeext= ac_cv_host=i686-pc-linux-gnu ac_cv_host_alias=i686-pc-linux-gnu ac_cv_objext=o ac_cv_path_install='/usr/bin/install -c' ac_cv_prog_AWK=gawk ac_cv_prog_CPP=/lib/cpp ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_cc_g=yes ac_cv_prog_cc_stdc= ac_cv_prog_make_make_set=yes ac_cv_target=i686-pc-linux-gnu ac_cv_target_alias=i686-pc-linux-gnu am_cv_CC_dependencies_compiler_type=gcc3 ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /usr/src/kcmdhcpd-0.3.8/admin/missing --run aclocal-1.7' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='${SHELL} /usr/src/kcmdhcpd-0.3.8/admin/missing --run tar' AR='' ARTSCCONFIG='' AUTOCONF='${SHELL} /usr/src/kcmdhcpd-0.3.8/admin/missing --run autoconf' AUTODIRS='' AUTOHEADER='${SHELL} /usr/src/kcmdhcpd-0.3.8/admin/missing --run autoheader' AUTOMAKE='${SHELL} /usr/src/kcmdhcpd-0.3.8/admin/missing --run automake-1.7' AWK='gawk' CC='gcc' CCDEPMODE='depmode=gcc3' CFLAGS=' ' CONF_FILES=' $(top_srcdir)/./admin/configure.in.min $(top_srcdir)/configure.in.in $(top_srcdir)/./kcmdhcpd/configure.in.in' CPP='/lib/cpp' CPPFLAGS='' CXX='' CXXCPP='' CXXDEPMODE='' CXXFLAGS='' CYGPATH_W='echo' DCOPIDL2CPP='' DCOPIDL='' DCOPIDLNG='' DCOP_DEPENDENCIES='' DEFS='' DEPDIR='.deps' ECHO='echo' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' F77='' FFLAGS='' FRAMEWORK_COREAUDIO='' GMSGFMT='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL} $(INSTALL_STRIP_FLAG)' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s' KCFG_DEPENDENCIES='' KCONFIG_COMPILER='' KDECONFIG='' KDE_EXTRA_RPATH='' KDE_INCLUDES='' KDE_INSTALLED_FALSE='' KDE_INSTALLED_TRUE='' KDE_LDFLAGS='' KDE_MT_LDFLAGS='' KDE_MT_LIBS='' KDE_NO_UNDEFINED='' KDE_PLUGIN='' KDE_RPATH='' KDE_USE_CLOSURE_FALSE='' KDE_USE_CLOSURE_TRUE='' KDE_USE_FINAL_FALSE='' KDE_USE_FINAL_TRUE='' KDE_USE_NMCHECK_FALSE='' KDE_USE_NMCHECK_TRUE='' KDE_XSL_STYLESHEET='' LDFLAGS='' LEX='' LEXLIB='' LEX_OUTPUT_ROOT='' LFLAGS='' LIBCOMPAT='' LIBCRYPT='' LIBDL='' LIBJPEG='' LIBOBJS='' LIBPNG='' LIBPTHREAD='' LIBRESOLV='' LIBS='' LIBSM='' LIBSOCKET='' LIBTOOL='' LIBUCB='' LIBUTIL='' LIBZ='' LIB_KAB='' LIB_KABC='' LIB_KDECORE='' LIB_KDEPIM='' LIB_KDEPRINT='' LIB_KDEUI='' LIB_KFILE='' LIB_KFM='' LIB_KHTML='' LIB_KIO='' LIB_KPARTS='' LIB_KSPELL='' LIB_KSYCOCA='' LIB_KUTILS='' LIB_POLL='' LIB_QPE='' LIB_QT='' LIB_SMB='' LIB_X11='' LIB_XEXT='' LIB_XRENDER='' LN_S='' LTLIBOBJS='' MAKEINFO='${SHELL} /usr/src/kcmdhcpd-0.3.8/admin/missing --run makeinfo' MCOPIDL='' MEINPROC='' MOC='' MSGFMT='' NOOPT_CFLAGS='' NOOPT_CXXFLAGS='' OBJEXT='o' PACKAGE='kcmdhcpd-0.3.8' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PATH_SEPARATOR=':' PERL='' QTE_NORTTI='' QT_INCLUDES='' QT_LDFLAGS='' RANLIB='' SET_MAKE='' SHELL='/bin/sh' STRIP='' TOPSUBDIRS='' UIC='' UIC_TR='' USER_INCLUDES='' USER_LDFLAGS='' USE_EXCEPTIONS='' USE_RTTI='' USE_THREADS='' VERSION='3.1.94' WOVERLOADED_VIRTUAL='' XGETTEXT='' XMLLINT='' X_EXTRA_LIBS='' X_INCLUDES='' X_LDFLAGS='' X_PRE_LIBS='' X_RPATH='' ac_ct_AR='' ac_ct_CC='gcc' ac_ct_CXX='' ac_ct_F77='' ac_ct_RANLIB='' ac_ct_STRIP='' all_includes='' all_libraries='' am__fastdepCC_FALSE='#' am__fastdepCC_TRUE='' am__fastdepCXX_FALSE='' am__fastdepCXX_TRUE='' am__include='include' am__leading_dot='.' am__quote='' 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' include_ARTS_FALSE='' include_ARTS_TRUE='' includedir='${prefix}/include' infodir='${prefix}/info' install_sh='/usr/src/kcmdhcpd-0.3.8/admin/install-sh' kcmdhcpd_SUBDIR_included_FALSE='' kcmdhcpd_SUBDIR_included_TRUE='' kde_appsdir='' kde_bindir='' kde_confdir='' kde_datadir='' kde_htmldir='' kde_icondir='' kde_includes='' kde_kcfgdir='' kde_libraries='' kde_libs_htmldir='' kde_libs_prefix='' kde_locale='' kde_mimedir='' kde_moduledir='' kde_qtver='' kde_servicesdir='' kde_servicetypesdir='' kde_sounddir='' kde_styledir='' kde_templatesdir='' kde_wallpaperdir='' kde_widgetdir='' kdeinitdir='' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='${prefix}/var' mandir='${prefix}/man' oldincludedir='/usr/include' prefix='/usr' program_transform_name='s,x,x,' qt_includes='' qt_libraries='' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target='i686-pc-linux-gnu' target_alias='' target_cpu='i686' target_os='linux-gnu' target_vendor='pc' x_includes='NONE' x_libraries='NONE' xdg_appsdir='' xdg_directorydir='' xdg_menudir='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE "kcmdhcpd-0.3.8" #define PACKAGE_BUGREPORT "" #define PACKAGE_NAME "" #define PACKAGE_STRING "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define VERSION "3.1.94" configure: exit 1 |
I fixed my "insane" cpp my downloading the following packages:
libstdc++ libstdc++-devel glibc-headers glibc-kernheaders glibc-devel kernel-headers (from rpmfind.net) However, I am still unable to "compile simple C++ programs". It says I need libstd++-dev - i have libstdc++-devel, but apparently that's not enough for this configure script. This is the last part of ./configure 's output: configure: error: Your Installation isn't able to compile simple C++ programs. Check config.log for details - if you're using a Linux distribution you might miss a package named similiar to libstd++-dev. See http://www.soundless-screams.net/pcw...log-24-10-2004 for my config.log Anyone with any ideas or similar experiences, please help. -pcweirdo. |
Success.
My problem was that libstdc++-3.3.3-7 wouldn't work with libstdc++-devel-3.4.2-6
It's now fixed. I'm very happy. http://www.linuxquestions.org/questi...96#post1277196 Thanks for the help, -pcweirdo. |
how to assign the new super block in linux
|
All times are GMT -5. The time now is 01:07 PM. |