PDA

View Full Version : C++ compiler cannot create executables



Adeon
11-02-2002, 08:31 AM
Hi All,


Hopeing someone can shed some light on this. Im pretty new to Linux and SEQ. A freind helped me get the previous version running fine (Prior to PoP), using the GCC 2.9.2 Compiler. (I know the docs say 3+ I have upgraded since then)

First got the updates working to show the unknown spawns and such. (Still using 2.9.2)..

Updated to the new Libeq.a and got the decode.cpp errors. Read up about the compiler not supporting 16bit encryption so bit the bullet and upgraded.

When i tried to compile I got this error : C++ compiler cannot create executables

My gcc and g++ -dumpversion both say 3.2

I ran through the FAQ again and downloaded everythign and started from scratch.

Still same error.

I checked the boards and searched for posts in the last 3 months, found no solutions that applied..

I am on Platform : Slackware Linux 8.1

Heres my config.log

Any help would be appreciated.

--- CONFIG.LOG ----

name -m = i686
uname -r = 2.4.18
uname -s = Linux
uname -v = #4 Fri May 31 01:25:31 PDT 2002

/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/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/X11R6/bin
PATH: /usr/games
PATH: /opt/www/htdig/bin
PATH: /opt/kde/bin
PATH: /usr/lib/qt-3.0.4/bin
PATH: /usr/share/texmf/bin


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

configure:1441: checking build system type
configure:1459: result: i686-pc-linux-gnu
configure:1467: checking host system type
configure:1481: result: i686-pc-linux-gnu
configure:1489: checking target system type
configure:1503: result: i686-pc-linux-gnu
configure:1534: checking for a BSD-compatible install
configure:1588: result: /usr/bin/ginstall -c
configure:1599: checking whether build environment is sane
configure:1642: result: yes
configure:1668: WARNING: `missing' script is too old or missing
configure:1676: checking for gawk
configure:1692: found /usr/bin/gawk
configure:1702: result: gawk
configure:1712: checking whether make sets ${MAKE}
configure:1732: result: yes
configure:1834: checking whether to enable maintainer-specific portions of Makefiles
configure:1843: result: no
configure:1865: checking for gcc
configure:1881: found /usr/bin/gcc
configure:1891: result: gcc
configure:1905: checking for g++
configure:1921: found /usr/bin/g++
configure:1931: result: g++
configure:1964: checking for supported compiler version
configure:1981: checking for style of include used by make
configure:2009: result: GNU
configure:2107: checking for C++ compiler version
configure:2110: g++ --version </dev/null >&5
g++ (GCC) 3.2
Copyright (C) 2002 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:2113: $? = 0
configure:2115: g++ -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i386-slackware-linux/3.2/specs
Configured with: ../gcc-3.2/configure --prefix=/usr --enable-shared --enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose --target=i386-slackware-linux --host=i386-slackware-linux
Thread model: posix
gcc version 3.2
configure:2118: $? = 0
configure:2120: g++ -V </dev/null >&5
g++: argument to `-V' missing

configure:2123: $? = 1
configure:2149: checking for C++ compiler default output
configure:2152: g++ conftest.cc >&5
/usr/lib/gcc-lib/i386-slackware-linux/3.2/../../../libstdc++.so: undefined reference to `__ctype_b_loc@GLIBC_2.3'
/usr/lib/gcc-lib/i386-slackware-linux/3.2/../../../libstdc++.so: undefined reference to `__strftime_l@GLIBC_2.3'
/usr/lib/gcc-lib/i386-slackware-linux/3.2/../../../libstdc++.so: undefined reference to `__ctype_toupper_loc@GLIBC_2.3'
/usr/lib/gcc-lib/i386-slackware-linux/3.2/../../../libstdc++.so: undefined reference to `__wcsftime_l@GLIBC_2.3'
/usr/lib/gcc-lib/i386-slackware-linux/3.2/../../../libstdc++.so: undefined reference to `__ctype_tolower_loc@GLIBC_2.3'
/usr/lib/gcc-lib/i386-slackware-linux/3.2/../../../libstdc++.so: undefined reference to `__uselocale@GLIBC_2.3'
collect2: ld returned 1 exit status
configure:2155: $? = 1
configure: failed program was:
#line 2126 "configure"
#include "confdefs.h"

#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{

;
return 0;
}
configure:2182: error: C++ compiler cannot create executables

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

ac_cv_build=i686-pc-linux-gnu
ac_cv_build_alias=i686-pc-linux-gnu
ac_cv_env_CC_set=set
ac_cv_env_CC_value=gcc
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=set
ac_cv_env_CXX_value=g++
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_install='/usr/bin/ginstall -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CCd=gcc
ac_cv_prog_CXXd=g++
ac_cv_prog_make_make_set=yes
ac_cv_target=i686-pc-linux-gnu
ac_cv_target_alias=i686-pc-linux-gnu
lt_cv_sys_path_separator=:

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

#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE "showeq"
#define VERSION "4.3.1"

configure: exit 77

-- EOF --