Hi all.
I'm running into an error when running ./configure (I can post the file if that helps) and getting the entertaining message:
checking for g++... g++
checking whether the C++ compiler (g++ -s) works... no
configure: error: installation or configuration problem: C++ compiler cannot create executables.
Do any of you have suggestions on what steps to take from here? I'm new to OSX, and have only limited development experience on Linux, so don't be afraid to get pedantic

(I'd search the darwin lists, but Apple hasn't made them searchable yet, and I haven't found this in any other searches)
I copied the config.guess and .sub files over from /usr/libexec/, and have symlinked /usr/bin/cc to /usr/bin/gcc, and /usr/bin/c++ to /usr/bin/g++.
Finally, the config.log ends with the following:
configure:1180: checking how to run the C preprocessor
configure:1201: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1197: undefined type, found `Syntax'
configure:1197: illegal external declaration, missing `;' after `Error'
cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode
configure: failed program was:
#line 1195 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
configure:1218: gcc -E -traditional-cpp conftest.c >/dev/null 2>conftest.out
configure:1242: checking for a C++-Compiler
configure:1248: checking for g++
configure:1364: checking whether the C++ compiler (g++ -s) works
configure:1380: g++ -o conftest -s conftest.C 1>&5
/usr/bin/ld: can't use -s with input files containg indirect symbols (output fil
e must contain at least global symbols, for maximum stripping use -x)
configure: failed program was:
#line 1375 "configure"
#include "confdefs.h"
int main(){return(0);}
Just so you know, the software I'm trying to compile is a really impressive 3d skeleton animation program (http://prdownloads.sourceforge.net/cal3d/cal3d-0.5.tar.gz).
Here's the blurb from the developer's home page (www.beosil.com)
<blockquote>Cal3d is a skeletal based 3d character animation library written in C++ in a platform-/graphic API-independent way. Originally designed to be used in a 3d client for Worldforge, it evolved into a stand-alone product which can be used in many different kinds of projects.</blockquote>
Sincere thanks for your time,
anubis