From: Hiromichi Watari Date: April 4 2011 11:39pm Subject: Re: Problem linking STL::map with mysqld List-Archive: http://lists.mysql.com/internals/38287 Message-Id: <735486.20595.qm@web121520.mail.ne1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi didrik and Sergei, Thank you very much for taking time to answer my question. I removed the -fno-implicit-templates flag. Voila ! it works. I owe you guys one, have a nice day ! Hiromichi =20 --- On Mon, 4/4/11, Tor Didriksen wrote: > From: Tor Didriksen > Subject: Re: Problem linking STL::map with mysqld > To: "Hiromichi Watari" > Cc: internals@stripped > Date: Monday, April 4, 2011, 11:06 AM > 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 > > > >=A0 =A0=20 >=20 > 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.. >=20 > You will also have to link with g++ (verify that by using > 'make=20 > VERBOSE=3D1' for the final link step) >=20 > -- didrik >=20 > > --- On Mon, 4/4/11, Tor Didriksen=A0 > wrote: > > > >=A0 =A0=20 > >> From: Tor Didriksen > >> 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: > >>=A0 =A0 =A0=20 > >>> Hi Magnus, > >>> Thank you for your suggestion, I included the > >>>=A0 =A0 =A0 =A0=20 > >> following at the end of table.h and I got similar > and more > >> errors. > >>=A0 =A0 =A0=20 > >>> Looks like I might have to write my own map > container > >>>=A0 =A0 =A0 =A0=20 > >> (oh nooooooooo !). > >>=A0 =A0 =A0=20 > >>> Hiromichi > >>> > >>> > >>> > >>>=A0 =A0 =A0 =A0=20 > >> Hiromichi > >> > >> You are probably linking with gcc rather than g++ > >> Doing > >>=A0 =A0=A0=A0'export CXX=3Dg++' > >> before configuring/building will most likely solve > your > >> problem. > >> > >> -- didrik > >> > >> > >> --=20 > >> MySQL Internals Mailing List > >> For list archives: http://lists.mysql.com/internals > >> To unsubscribe:=A0 =A0 http://lists.mysql.com/internals?unsub=3Dhiromi= chiwatari@stripped > >> > >> > >>=A0 =A0 =A0=20 >=20 >