At 9:09 -0400 5/9/03, NetAmeng@stripped wrote:
>Hi, all,
>
>I am try to install embedded mysql on OSX from source code. I failed :(
>It report errors:
> ld: Undefined symbols:
>operator delete(void*)
>operator new(unsigned long)
>___cxa_pure_virtual
>operator delete[](void*)
>operator new[](unsigned long)
>make[3]: *** [mysqltest] Error 1
>make[2]: *** [all-recursive] Error 1
>make[1]: *** [all-recursive] Error 1
>make: *** [all] Error 2
When you run configure, set a couple of variables first (sh syntax):
CFLAGS="-DUSE_MYSYS_NEW -DDEFINE_CXA_PURE_VIRTUAL" \
CXXFLAGS="-DUSE_MYSYS_NEW -DDEFINE_CXA_PURE_VIRTUAL" \
./configure [configure arguments]
>
>Same errors has report on Linux and solved by upgrading libstdc++ to v3.
>But I think on OSX 10.2, libstdc++ has been v3.
>if I switch from gcc 3.1 to gcc 2.95, even more errors occured.
>Are there any guys who have idea on this problem? please help!
>
>Thanks in advanced!
>
>//Meng
--
Paul DuBois
http://www.kitebird.com/
sql, query