Author: jstephens
Date: 2007-05-09 09:13:07 +0200 (Wed, 09 May 2007)
New Revision: 6391
Log:
Indicated that mysys must be linked (as well as mystring) when building
NDB API apps.
Fixes Docs Bug #27137.
Modified:
trunk/ndbapi/getting-started.xml
Modified: trunk/ndbapi/getting-started.xml
===================================================================
--- trunk/ndbapi/getting-started.xml 2007-05-09 06:55:51 UTC (rev 6390)
+++ trunk/ndbapi/getting-started.xml 2007-05-09 07:13:07 UTC (rev 6391)
Changed blocks: 1, Lines Added: 4, Lines Deleted: 3; 957 bytes
@@ -195,14 +195,15 @@
<para>
To link an NDB API application, it is necessary to add
- <option>-lndbclient</option> and <option>-lmystrings</option> to
- these options. Adding all the required linker flags to the
+ <option>-lndbclient</option>, <option>-lmysys</option>, and
+ <option>-lmystrings</option> to these options, in the order
+ shown. Adding all the required linker flags to the
<literal>LDFLAGS</literal> variable should look something like
this:
<programlisting>
LDFLAGS="$LDFLAGS "`mysql_config --libs_r`
-LDFLAGS="$LDFLAGS -lndbclient -lmystrings"
+LDFLAGS="$LDFLAGS -lndbclient -lmysys -lmystrings"
</programlisting>
</para>
| Thread |
|---|
| • svn commit - mysqldoc@docsrva: r6391 - trunk/ndbapi | jon | 9 May |