List:Internals« Previous MessageNext Message »
From:Amila Liyanaarachchi Date:November 12 2009 5:29pm
Subject:Re: Error compiling MySQL
View as plain text  
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?

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
>
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