I would be interested to know if you are using the --with-debug option.
If you are not sure what configure options were used, open up
config.log, and copy the line containing ./configure.
However, if you have re-configured (run configure more than once on
the code), then it may mean some of the sources are compiled with
different options.
Try "make clean", then run configure again (just to make sure), and
then "make".
On Nov 11, 2009, at 4:16 PM, Amila Liyanaarachchi wrote:
> Hi,
>
> I'm getting the following error while trying to build the MySQL server
> 5.1.38 source on Kubuntu 9.10.
>
>
> -------------------------------------------------------------------------------------------------------------------------------
> + for file in include/mysql/plugin.h include/mysql.h
> + gcc -E -nostdinc -dI -I./include -I./include/mysql -I./sql
> -I./include -I./include/mysql -I./sql include/mysql/plugin.h
> + /bin/sed -e '/^# /d' -e '/^[ ]*$/d' -e '/^#pragma GCC
> set_debug_pwd/d' -e '/^#ident/d'
> + /usr/bin/diff -w include/mysql/plugin.h.pp ./abi_check.out
> + /bin/rm ./abi_check.out
> + for file in include/mysql/plugin.h include/mysql.h
> + gcc -E -nostdinc -dI -I./include -I./include/mysql -I./sql
> -I./include -I./include/mysql -I./sql include/mysql.h
> + /bin/sed -e '/^# /d' -e '/^[ ]*$/d' -e '/^#pragma GCC
> set_debug_pwd/d' -e '/^#ident/d'
> + /usr/bin/diff -w include/mysql.h.pp ./abi_check.out
> + /bin/rm ./abi_check.out
> ../mysys/libmysys.a(my_thr_init.o): In function `my_thread_end':
> /home/amila/mysql-5.1.38/mysql-5.1.38/mysys/my_thr_init.c:335:
> undefined reference to `_db_pop_'
> collect2: ld returned 1 exit status
> make[1]: *** [factorial] Error 1
> make: *** [all-recursive] Error 1
>
> -------------------------------------------------------------------------------------------------------------------------------
>
>
> Any ideas ??
>
> --
> MySQL Internals Mailing List
> For list archives: http://lists.mysql.com/internals
> To unsubscribe: http://lists.mysql.com/internals?unsub=1
>