List:Internals« Previous MessageNext Message »
From:Mats Kindahl Date:November 13 2009 7:40am
Subject:Re: Error compiling MySQL
View as plain text  

Amila Liyanaarachchi wrote:
> Hi Mats,
> 
> I'm a beginer in this area. What I want is to do a modification on
> query cache, so I'm just compiling the downloaded source to see
> whether it get compiled on my pc without any problem before the
> modification.
> For this purpose I don't know the most suitable configuration for me.
> Could you please advice me?

Hi Amila,

Something like

	./configure
	make

should work.

Interestingly enough, I did just that on a local clone, and got the error you
describe. :)

It is a bug, so I reported it as BUG#48750
(http://bugs.mysql.com/bug.php?id=48750). Thank you for pointing this bug out.

Best wishes,
Mats Kindahl


> 
> Thanks,
> Amila
> 
> On Wed, Nov 11, 2009 at 10:09 PM, Mats Kindahl <mats@stripped> wrote:
>> Hi Amila,
>>
>> I'm building all servers all the time and have specifically done so using
>> Kubuntu 9.10. I have no problems (except what I have introduced myself when
>> changing the code).
>>
>> What configuration options are you using?
>>
>> Best wishes,
>> Mats Kindahl
>>
>> 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 ??
>>>
>> --
>> Mats Kindahl
>> Senior Software Engineer
>> Database Technology Group
>> Sun Microsystems
>>

-- 
Mats Kindahl
Senior Software Engineer
Database Technology Group
Sun Microsystems
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