David Megginson writes:

> With the latest SimGear CVS, I'm getting this in config.log:
>
>   configure:8649: checking for ftime
>   configure:8699: gcc-3.2 -o
conftest -g -O1 -finline-limit=6 -finline-functions -D_REENTRANT -I/usr/X11R6/include 
-L/usr/X11R6/lib conftest.c -lm -ljpeg  -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

those are all C++ symbols
you need to either
1) use g++ instead of gcc
or
2) link with -lsupc++ <  -lstdc++ if you don't have libsupc++.a >

But my question is
  "Where is the requirement for -lmk coming from"

this is the only reference to metakit in configure.ac
and it only checks for the header

dnl Check for system installed metakit
AC_CHECK_HEADER(mk4.h)
if test "x$ac_cv_header_mk4_h" != "xyes"; then
    echo
    echo "Metakit not found, you will need to install this first."
    echo "Please read the README.metakit for more information."
    exit
fi

Are you explicitly adding -lmk to your $LIBS ??

Norman


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

Reply via email to