List:Internals« Previous MessageNext Message »
From:Thomas Jones-Low Date:November 11 2009 3:23pm
Subject:RE: Error compiling MySQL
View as plain text  
	I just ran across a similar problem. _db_pop is defined in dbug/dbug.c, as part of the
debug messages. We found that mixing the -DDBUG_ON and -DDBUG_OFF definitions during the
compile causes this confusion. There is an override in include/my_global.h and you may
need -DFORCE_DBUG_OFF. 

> -----Original Message-----
> From: Amila Liyanaarachchi [mailto:amila.uoc@stripped]
> Sent: Wednesday, November 11, 2009 10:17 AM
> To: internals@stripped
> Subject: Error compiling MySQL
> 
> 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
> 
> 
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 9.0.704 / Virus Database: 270.14.59/2494 - Release Date:
> 11/11/09 02:40:00
Thread
Error compiling MySQLAmila Liyanaarachchi11 Nov
  • RE: Error compiling MySQLThomas Jones-Low11 Nov
  • Re: Error compiling MySQLDavi Arnaut11 Nov
  • Re: Error compiling MySQLMats Kindahl11 Nov
    • Re: Error compiling MySQLAmila Liyanaarachchi12 Nov
      • Re: Error compiling MySQLMats Kindahl13 Nov
        • Re: Error compiling MySQLMats Kindahl13 Nov
  • Re: Error compiling MySQLPaul McCullagh11 Nov