<div>I finally could make it work taking 'rewrite timestamp' regression test as a reference.</div><div>The makefile of this module shows how one can use parser as a library, and 'main.c' contains all stubs that needed.</div><div> </div><div>Ilya</div><div><br /></div><div><br /></div><div>10.04.2017, 01:25, "Мотроскин Илья" &lt;motr-ilya@yandex.ru&gt;:</div><blockquote type="cite"><div>Hello to everyone!</div><div> </div><div>I am trying to build test parser module on the master branch, but it seems outdated.</div><div>I <a href="https://gist.github.com/Smesharikable/7e5b4c35fa50e33ddfa6a11f7ef4168a">fix non-existing header includes and function usage</a>, but I can't fix Makefile.</div><div> </div><div>I added missed directories to includes (../../include, /usr/include/postgresql), but got tons of undefined references.</div><div>I tried manually add some object files with no success.</div><div> </div><div>I also <a href="https://gist.github.com/Smesharikable/7f1645f97f5c138697fb931750815c30">tried to link against libsql-parser.a</a>, but <a href="https://gist.github.com/Smesharikable/e468c2ecf5e0f14bc15389af6127b891">came to the same</a>.</div><div> </div><div>Does anyone know how to compile parser as stand-alone library (Is it even possible?), or at least how to build parser test module?</div><div> </div><div>Ilya</div>
,<p>_______________________________________________<br />pgpool-general mailing list<br /><a href="mailto:pgpool-general@pgpool.net">pgpool-general@pgpool.net</a><br /><a href="http://www.pgpool.net/mailman/listinfo/pgpool-general">http://www.pgpool.net/mailman/listinfo/pgpool-general</a><br /></p></blockquote>