List:Internals« Previous MessageNext Message »
From:Tor Didriksen Date:April 4 2011 3:06pm
Subject:Re: Problem linking STL::map with mysqld
View as plain text  
On 2011-04-04 16:49, Hiromichi Watari wrote:
> didrik
> Thank you for your suggestion, I tried it but I got the exact same errors.
> Hiromichi
>
>    

Better suggestion:
Remove the '-fno-implicit-templates' flag (easy to find in configure.cmake)
Otherwise you will need explicit instantiation of a *lot* of things..

You will also have to link with g++ (verify that by using 'make 
VERBOSE=1' for the final link step)

-- didrik

> --- On Mon, 4/4/11, Tor Didriksen<tor.didriksen@stripped>  wrote:
>
>    
>> From: Tor Didriksen<tor.didriksen@stripped>
>> Subject: Re: Problem linking STL::map with mysqld
>> To: internals@stripped, hiromichiwatari@stripped
>> Date: Monday, April 4, 2011, 3:15 AM
>> On 2011-04-03 21:54, Hiromichi Watari
>> wrote:
>>      
>>> Hi Magnus,
>>> Thank you for your suggestion, I included the
>>>        
>> following at the end of table.h and I got similar and more
>> errors.
>>      
>>> Looks like I might have to write my own map container
>>>        
>> (oh nooooooooo !).
>>      
>>> Hiromichi
>>>
>>>
>>>
>>>        
>> Hiromichi
>>
>> You are probably linking with gcc rather than g++
>> Doing
>>     'export CXX=g++'
>> before configuring/building will most likely solve your
>> problem.
>>
>> -- didrik
>>
>>
>> -- 
>> MySQL Internals Mailing List
>> For list archives: http://lists.mysql.com/internals
>> To unsubscribe:    http://lists.mysql.com/internals?unsub=1
>>
>>
>>      

Thread
Unable to download the source tree using bazaarKarthik Gurukuntala25 Feb
  • Re: Unable to download the source tree using bazaarGuilhem Bichot25 Feb
    • Re: Unable to download the source tree using bazaarKarthik Gurukuntala26 Feb
      • Re: Unable to download the source tree using bazaarGuilhem Bichot26 Feb
    • bazaar/launchpad down ?Hiromichi Watari10 Mar
      • Re: bazaar/launchpad down ?Lenz Grimmer15 Mar
        • Re: bazaar/launchpad down ?Hiromichi Watari15 Mar
          • Re: bazaar/launchpad down ?Lenz Grimmer15 Mar
            • Re: bazaar/launchpad down ?Hiromichi Watari18 Mar
              • doxygen documentation missing ?Hiromichi Watari10 Jan
              • Problem linking STL::map with mysqldHiromichi Watari2 Apr
                • Re: Problem linking STL::map with mysqldMagnus BlĂ„udd3 Apr
                  • Re: Problem linking STL::map with mysqldHiromichi Watari3 Apr
                    • Re: Problem linking STL::map with mysqldTor Didriksen4 Apr
                      • Re: Problem linking STL::map with mysqldHiromichi Watari4 Apr
                        • Re: Problem linking STL::map with mysqldTor Didriksen4 Apr
                          • Re: Problem linking STL::map with mysqldHiromichi Watari5 Apr
                • Re: Problem linking STL::map with mysqldSergei Golubchik4 Apr