libmysqld/examples/mysqltest.c still won"t compile on Jaguar
am 28.12.2002 20:01:14 von Paul DuBois
I reported a while back that libmysqld/examples/mysqltest.c won't
compile under Jaguar. Sinisa suggested adding -DDEFINE_CXA_PURE_VIRTUAL
to the build, but it still fails the same way.
How-to-repeat:
gcc -O -DDBUG_OFF -DDEFINE_CXA_PURE_VIRTUAL -traditional-cpp
-DHAVE_DARWIN_THREADS -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE
-DSIGNALS_DONT_BREAK_READ -DHAVE_BROKEN_REALPATH -DFN_NO_CASE_SENCE
-o mysqltest mysqltest.o ../libmysqld.a -lz -lm
ld: Undefined symbols:
operator delete(void*)
operator new(unsigned long)
operator delete[](void*)
operator new[](unsigned long)
make[3]: *** [mysqltest] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
Anything else I should try? For now, I do "touch mysqltest" and restart
the build, and then it goes to completion.
------------------------------------------------------------ ---------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail bugs-thread13371@lists.mysql.com
To unsubscribe, e-mail
Re: libmysqld/examples/mysqltest.c still won"t compile on Jaguar
am 28.12.2002 20:15:31 von Sinisa Milivojevic
Paul DuBois writes:
> I reported a while back that libmysqld/examples/mysqltest.c won't
> compile under Jaguar. Sinisa suggested adding -DDEFINE_CXA_PURE_VIRTUAL
> to the build, but it still fails the same way.
>
> How-to-repeat:
>
> gcc -O -DDBUG_OFF -DDEFINE_CXA_PURE_VIRTUAL -traditional-cpp
> -DHAVE_DARWIN_THREADS -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE
> -DSIGNALS_DONT_BREAK_READ -DHAVE_BROKEN_REALPATH -DFN_NO_CASE_SENCE
> -o mysqltest mysqltest.o ../libmysqld.a -lz -lm
> ld: Undefined symbols:
> operator delete(void*)
> operator new(unsigned long)
> operator delete[](void*)
> operator new[](unsigned long)
> make[3]: *** [mysqltest] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
>
This one is easy.
Add -DUSE_MYSYS_NEW to CFLAGS and CXXFLAGS.
But a real fix is to find out why Jaguar does not recognize that you
are using GCC 3.*
--
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Fulltime Developer
/_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
<___/ www.mysql.com
Join MySQL Users Conference and Expo:
http://www.mysql.com/events/uc2003/
------------------------------------------------------------ ---------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail bugs-thread13372@lists.mysql.com
To unsubscribe, e-mail
Re: libmysqld/examples/mysqltest.c still won"t compile on Jaguar
am 28.12.2002 22:16:17 von Paul DuBois
At 21:15 +0200 12/28/02, Sinisa Milivojevic wrote:
>Paul DuBois writes:
>> I reported a while back that libmysqld/examples/mysqltest.c won't
>> compile under Jaguar. Sinisa suggested adding -DDEFINE_CXA_PURE_VIRTUAL
>> to the build, but it still fails the same way.
>>
>> How-to-repeat:
>>
>> gcc -O -DDBUG_OFF -DDEFINE_CXA_PURE_VIRTUAL -traditional-cpp
>> -DHAVE_DARWIN_THREADS -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE
>> -DSIGNALS_DONT_BREAK_READ -DHAVE_BROKEN_REALPATH -DFN_NO_CASE_SENCE
>> -o mysqltest mysqltest.o ../libmysqld.a -lz -lm
>> ld: Undefined symbols:
>> operator delete(void*)
>> operator new(unsigned long)
>> operator delete[](void*)
>> operator new[](unsigned long)
>> make[3]: *** [mysqltest] Error 1
>> make[2]: *** [all-recursive] Error 1
>> make[1]: *** [all-recursive] Error 1
>>
>
>This one is easy.
>
>Add -DUSE_MYSYS_NEW to CFLAGS and CXXFLAGS.
It worked, thanks!
>
>But a real fix is to find out why Jaguar does not recognize that you
>are using GCC 3.*
If there's something you want me to try, let me know.
>--
> __ ___ ___ ____ __
> / |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic
> / /|_/ / // /\ \/ /_/ / /__ MySQL AB, Fulltime Developer
>/_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
> <___/ www.mysql.com
>
>Join MySQL Users Conference and Expo:
>http://www.mysql.com/events/uc2003/
>
>
>----------------------------------------------------------- ----------
>Before posting, please check:
> http://www.mysql.com/manual.php (the manual)
> http://lists.mysql.com/ (the list archive)
>
>To request this thread, e-mail bugs-thread13372@lists.mysql.com
>To unsubscribe, e-mail
------------------------------------------------------------ ---------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail bugs-thread13373@lists.mysql.com
To unsubscribe, e-mail