--- David Luff <[EMAIL PROTECTED]> wrote:
> Curtis L Olson writes:
> >The best thing to do would be to look at your
> config.log and see
> >exactly why those checks are failing.
> 
> Hmm, why didn't I think of that?  Doh!
> 
> The checks that are unexpectedly failing all have
> references to the Metakit librarys.  The stuff
> included below (for gettimeofday) is typical.  I've
> compiled Metakit with the same compiler (3.2), added
> the install location to ld.so.conf and run ldconfig,
> and have no Metakit package installed, so I'm out of
> ideas :-(
> 
> Cheers - Dave
> 
> configure:8156: checking for gettimeofday
> configure:8199: gcc-3.2 -o conftest -Wall -O2
> -D_REENTRANT -I/usr/X11R6/include -L/usr/X11R6/lib
> conftest.c -lm  -lmk4 >&5
> /usr/local/lib/libmk4.so: undefined reference to
> `operator new[](unsigned)'
> /usr/local/lib/libmk4.so: undefined reference to
> `vtable for __cxxabiv1::__si_class_type_info'
> /usr/local/lib/libmk4.so: undefined reference to
> `operator delete(void*)'
> /usr/local/lib/libmk4.so: undefined reference to
> `__gxx_personality_v0'
> /usr/local/lib/libmk4.so: undefined reference to
> `__cxa_pure_virtual'
> /usr/local/lib/libmk4.so: undefined reference to
> `vtable for __cxxabiv1::__class_type_info'
> /usr/local/lib/libmk4.so: undefined reference to
> `operator delete[](void*)'
> /usr/local/lib/libmk4.so: undefined reference to
> `operator new(unsigned)'
> collect2: ld returned 1 exit status
> configure:8202: $? = 1
> configure: failed program was:
> #line 8161 "configure"
> #include "confdefs.h"
> /* System header to define __stub macros and
> hopefully few prototypes,
>     which can conflict with char gettimeofday ();
> below.  */
> #include <assert.h>
> /* Override any gcc2 internal prototype to avoid an
> error.  */
> #ifdef __cplusplus
> extern "C"
> #endif
> /* We use char because int might match the return
> type of a gcc2
>    builtin and then its argument prototype would
> still apply.  */
> char gettimeofday ();
> char (*f) ();
> 
> #ifdef F77_DUMMY_MAIN
> #  ifdef __cplusplus
>      extern "C"
> #  endif
>    int F77_DUMMY_MAIN() { return 1; }
> #endif
> int
> main ()
> {
> /* The GNU C library defines this for functions
> which it implements
>     to always fail with ENOSYS.  Some functions are
> actually named
>     something starting with __ and the normal name
> is an alias.  */
> #if defined (__stub_gettimeofday) || defined
> (__stub___gettimeofday)
> choke me
> #else
> f = gettimeofday;
> #endif
> 
>   ;
>   return 0;
> }
> configure:8218: result: no
> 
> _______________________________________________
> Flightgear-devel mailing list
> [EMAIL PROTECTED]
>
http://mail.flightgear.org/mailman/listinfo/flightgear-devel



Maybe nothing, but shouldnt you be using g++-3.2 (as
in C++ compiler instead of letting configure decide)
I looks to me you have enviroment variable "CC" set.

That would account why "new" and "delete" are missing,
they are C++ function.

My 2 cents

Leon

=====
My Flight Gear Multiplayer Stuff (work-in-progress):
http://www.kbs.twi.tudelft.nl/People/Students/L.Otte/

OK, I admit it: My girlfriend's just an object to me. 
Unfortunately, there is some information hiding, but 
thankfully, she's fairly encapsulated, nicely modular, and 
has a very well defined interface!

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to