From: Date: November 23 2005 8:57pm Subject: Re: Possible mistake in file `libmysqlclient.def' List-Archive: http://lists.mysql.com/plusplus/5191 Message-Id: <4384C99D.9060903@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit dengxy wrote: > emit an error for an unresolve external symbol named: > > mysql_more_results@4 > mysql_next_result@4 > > when building examples. However, libmysqlclient.def contains: > > ... > mysql_more_results > mysql_next_result > ... > > After changes these 2 lines to the version above(append "@4"), the examples can be built successfully. Is this strange? Since > the original one can use with MySQL 4.1, or the .def file need > patched against MySQL 5.0? The lines without @X (where X is some number) are all technically mistakes. We add the proper @X value whenever we need it. You are simply discovering a new case where another @X is needed. You may want to join with "Death Gauge" in his thread to get MySQL++ working with MinGW. He is already working on this sort of problem.