Hi Here is the attached config.log file and output from make -j1It appears that configuration was okay, but I cannot get to build. After looking at the config.log file its indicates the following two possible errors. I do not know how to go about solving then Please help. I am using gcc-g++3.3.3 compiler and SLES9 on hp pavilion a305w (i686-pc). I am going a native build
Thx conftest.c:2: error: parse error before "me" configure:3636: $? = 1 configure: failed program was: | #ifndef __cplusplus | choke me | #endif conftest.cc:13: error: `exit' undeclared (first use this function) conftest.cc:13: error: (Each undeclared identifier is reported only once for each function it appears in.) configure:4088: $? = 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 () | { | exit (42); | ; | return 0; | }
Attachment:
config.log
Description: Binary data
[ -f stage_final ] || echo stage3 > stage_final make[1]: Entering directory `/usr/local/gcc-4.3.2' make[2]: Entering directory `/usr/local/gcc-4.3.2' make[3]: Entering directory `/usr/local/gcc-4.3.2' rm -f stage_current make[3]: Leaving directory `/usr/local/gcc-4.3.2' make[2]: Leaving directory `/usr/local/gcc-4.3.2' make[2]: Entering directory `/usr/local/gcc-4.3.2' make[3]: Entering directory `/usr/local/gcc-4.3.2/libiberty' make[4]: Entering directory `/usr/local/gcc-4.3.2/libiberty/testsuite' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/usr/local/gcc-4.3.2/libiberty/testsuite' make[3]: Leaving directory `/usr/local/gcc-4.3.2/libiberty' make[3]: Entering directory `/usr/local/gcc-4.3.2/intl' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/usr/local/gcc-4.3.2/intl' make[3]: Entering directory `/usr/local/gcc-4.3.2/binutils' make[4]: Entering directory `/usr/local/gcc-4.3.2/binutils' make[5]: Entering directory `/usr/local/gcc-4.3.2/binutils/libiberty' make[6]: Entering directory `/usr/local/gcc-4.3.2/binutils/libiberty/testsuite' make[6]: Nothing to be done for `all'. make[6]: Leaving directory `/usr/local/gcc-4.3.2/binutils/libiberty/testsuite' make[5]: Leaving directory `/usr/local/gcc-4.3.2/binutils/libiberty' make[5]: Entering directory `/usr/local/gcc-4.3.2/binutils/intl' make[5]: Nothing to be done for `all'. make[5]: Leaving directory `/usr/local/gcc-4.3.2/binutils/intl' make[5]: Entering directory `/usr/local/gcc-4.3.2/binutils/bfd' Making info in doc make[6]: Entering directory `/usr/local/gcc-4.3.2/binutils/bfd/doc' make[6]: Nothing to be done for `info'. make[6]: Leaving directory `/usr/local/gcc-4.3.2/binutils/bfd/doc' Making info in po make[6]: Entering directory `/usr/local/gcc-4.3.2/binutils/bfd/po' make[6]: Nothing to be done for `info'. make[6]: Leaving directory `/usr/local/gcc-4.3.2/binutils/bfd/po' make[6]: Entering directory `/usr/local/gcc-4.3.2/binutils/bfd' make[6]: Nothing to be done for `info-am'. make[6]: Leaving directory `/usr/local/gcc-4.3.2/binutils/bfd' make all-recursive make[6]: Entering directory `/usr/local/gcc-4.3.2/binutils/bfd' Making all in doc make[7]: Entering directory `/usr/local/gcc-4.3.2/binutils/bfd/doc' make[7]: Nothing to be done for `all'. make[7]: Leaving directory `/usr/local/gcc-4.3.2/binutils/bfd/doc' Making all in po make[7]: Entering directory `/usr/local/gcc-4.3.2/binutils/bfd/po' make[7]: Nothing to be done for `all'. make[7]: Leaving directory `/usr/local/gcc-4.3.2/binutils/bfd/po' make[7]: Entering directory `/usr/local/gcc-4.3.2/binutils/bfd' make[7]: Leaving directory `/usr/local/gcc-4.3.2/binutils/bfd' make[6]: Leaving directory `/usr/local/gcc-4.3.2/binutils/bfd' make[5]: Leaving directory `/usr/local/gcc-4.3.2/binutils/bfd' make[5]: Entering directory `/usr/local/gcc-4.3.2/binutils/opcodes' make all-recursive make[6]: Entering directory `/usr/local/gcc-4.3.2/binutils/opcodes' Making all in po make[7]: Entering directory `/usr/local/gcc-4.3.2/binutils/opcodes/po' make[7]: Nothing to be done for `all'. make[7]: Leaving directory `/usr/local/gcc-4.3.2/binutils/opcodes/po' make[7]: Entering directory `/usr/local/gcc-4.3.2/binutils/opcodes' make[7]: Leaving directory `/usr/local/gcc-4.3.2/binutils/opcodes' make[6]: Leaving directory `/usr/local/gcc-4.3.2/binutils/opcodes' make[5]: Leaving directory `/usr/local/gcc-4.3.2/binutils/opcodes' make[5]: Entering directory `/usr/local/gcc-4.3.2/binutils/binutils' Making info in doc make[6]: Entering directory `/usr/local/gcc-4.3.2/binutils/binutils/doc' make[6]: Nothing to be done for `info'. make[6]: Leaving directory `/usr/local/gcc-4.3.2/binutils/binutils/doc' Making info in po make[6]: Entering directory `/usr/local/gcc-4.3.2/binutils/binutils/po' make[6]: Nothing to be done for `info'. make[6]: Leaving directory `/usr/local/gcc-4.3.2/binutils/binutils/po' make[6]: Entering directory `/usr/local/gcc-4.3.2/binutils/binutils' make[6]: Nothing to be done for `info-am'. make[6]: Leaving directory `/usr/local/gcc-4.3.2/binutils/binutils' make all-recursive make[6]: Entering directory `/usr/local/gcc-4.3.2/binutils/binutils' Making all in doc make[7]: Entering directory `/usr/local/gcc-4.3.2/binutils/binutils/doc' make[7]: Nothing to be done for `all'. make[7]: Leaving directory `/usr/local/gcc-4.3.2/binutils/binutils/doc' Making all in po make[7]: Entering directory `/usr/local/gcc-4.3.2/binutils/binutils/po' make[7]: Nothing to be done for `all'. make[7]: Leaving directory `/usr/local/gcc-4.3.2/binutils/binutils/po' make[7]: Entering directory `/usr/local/gcc-4.3.2/binutils/binutils' make[7]: Leaving directory `/usr/local/gcc-4.3.2/binutils/binutils' make[6]: Leaving directory `/usr/local/gcc-4.3.2/binutils/binutils' make[5]: Leaving directory `/usr/local/gcc-4.3.2/binutils/binutils' make[5]: Entering directory `/usr/local/gcc-4.3.2/binutils/etc' for f in standards.info configure.info; do \ if test -f /opt/gcc-4.3.2/binutils/etc/`echo $f | sed -e 's/.info$/.texi/'`; then \ if make "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000 --split-size=5000000 --split-size=5000000 --split-size=5000000" $f; then \ true; \ else \ exit 1; \ fi; \ fi; \ done make[6]: Entering directory `/usr/local/gcc-4.3.2/binutils/etc' make[6]: `/opt/gcc-4.3.2/binutils/etc/standards.info' is up to date. make[6]: Leaving directory `/usr/local/gcc-4.3.2/binutils/etc' make[6]: Entering directory `/usr/local/gcc-4.3.2/binutils/etc' make[6]: `/opt/gcc-4.3.2/binutils/etc/configure.info' is up to date. make[6]: Leaving directory `/usr/local/gcc-4.3.2/binutils/etc' make[5]: Leaving directory `/usr/local/gcc-4.3.2/binutils/etc' make[5]: Entering directory `/usr/local/gcc-4.3.2/binutils/gas' Making info in doc make[6]: Entering directory `/usr/local/gcc-4.3.2/binutils/gas/doc' make[6]: Nothing to be done for `info'. make[6]: Leaving directory `/usr/local/gcc-4.3.2/binutils/gas/doc' Making info in po make[6]: Entering directory `/usr/local/gcc-4.3.2/binutils/gas/po' make[6]: Nothing to be done for `info'. make[6]: Leaving directory `/usr/local/gcc-4.3.2/binutils/gas/po' make[6]: Entering directory `/usr/local/gcc-4.3.2/binutils/gas' make[6]: Nothing to be done for `info-am'. make[6]: Leaving directory `/usr/local/gcc-4.3.2/binutils/gas' make all-recursive make[6]: Entering directory `/usr/local/gcc-4.3.2/binutils/gas' Making all in doc make[7]: Entering directory `/usr/local/gcc-4.3.2/binutils/gas/doc' make[7]: Nothing to be done for `all'. make[7]: Leaving directory `/usr/local/gcc-4.3.2/binutils/gas/doc' Making all in po make[7]: Entering directory `/usr/local/gcc-4.3.2/binutils/gas/po' make[7]: Nothing to be done for `all'. make[7]: Leaving directory `/usr/local/gcc-4.3.2/binutils/gas/po' make[7]: Entering directory `/usr/local/gcc-4.3.2/binutils/gas' make[7]: Leaving directory `/usr/local/gcc-4.3.2/binutils/gas' make[6]: Leaving directory `/usr/local/gcc-4.3.2/binutils/gas' make[5]: Leaving directory `/usr/local/gcc-4.3.2/binutils/gas' make[5]: Entering directory `/usr/local/gcc-4.3.2/binutils/gprof' make all-recursive make[6]: Entering directory `/usr/local/gcc-4.3.2/binutils/gprof' Making all in po make[7]: Entering directory `/usr/local/gcc-4.3.2/binutils/gprof/po' make[7]: Nothing to be done for `all'. make[7]: Leaving directory `/usr/local/gcc-4.3.2/binutils/gprof/po' make[7]: Entering directory `/usr/local/gcc-4.3.2/binutils/gprof' make[7]: Leaving directory `/usr/local/gcc-4.3.2/binutils/gprof' make[6]: Leaving directory `/usr/local/gcc-4.3.2/binutils/gprof' make[5]: Leaving directory `/usr/local/gcc-4.3.2/binutils/gprof' make[5]: Entering directory `/usr/local/gcc-4.3.2/binutils/ld' Making info in po make[6]: Entering directory `/usr/local/gcc-4.3.2/binutils/ld/po' make[6]: Nothing to be done for `info'. make[6]: Leaving directory `/usr/local/gcc-4.3.2/binutils/ld/po' make[6]: Entering directory `/usr/local/gcc-4.3.2/binutils/ld' make[6]: Nothing to be done for `info-am'. make[6]: Leaving directory `/usr/local/gcc-4.3.2/binutils/ld' make all-recursive make[6]: Entering directory `/usr/local/gcc-4.3.2/binutils/ld' Making all in po make[7]: Entering directory `/usr/local/gcc-4.3.2/binutils/ld/po' make[7]: Nothing to be done for `all'. make[7]: Leaving directory `/usr/local/gcc-4.3.2/binutils/ld/po' make[7]: Entering directory `/usr/local/gcc-4.3.2/binutils/ld' make[7]: Leaving directory `/usr/local/gcc-4.3.2/binutils/ld' make[6]: Leaving directory `/usr/local/gcc-4.3.2/binutils/ld' make[5]: Leaving directory `/usr/local/gcc-4.3.2/binutils/ld' make[4]: Nothing to be done for `all-target'. make[4]: Leaving directory `/usr/local/gcc-4.3.2/binutils' make[3]: Leaving directory `/usr/local/gcc-4.3.2/binutils' Configuring stage 1 in ./gmp configure: loading cache ./config.cache checking build system type... i686-pc-linux-gnu checking host system type... none-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes make[2]: Leaving directory `/usr/local/gcc-4.3.2' make[1]: Leaving directory `/usr/local/gcc-4.3.2' configure: error: source directory already configured; run "make distclean" there first make[2]: *** [configure-stage1-gmp] Error 1 make[2]: Leaving directory `/usr/local/gcc-4.3.2' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/usr/local/gcc-4.3.2' make: *** [all] Error 2