<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt">Thank you for the response.<br><br>I tried your suggestion by adding:<br><br>#include &lt;boost/regex.hpp&gt;<br>#include &lt;u/libu.h&gt;<br><br>to my test_app and compiling with:<br><br>g++ test_app.cpp -lboost_regex -I/home/daddy/Desktop/klo/klone-2.2.1/build/target/klone-core-2.2.1/libu/include<br><br>and the test_app compiled without error and gave meaningful results on execution.<br><br>However, I shifted the order of the #includes to:<br><br>#include &lt;u/libu.h&gt;<br>#include &lt;boost/regex.hpp&gt;<br><br>and ( ! ) got the very same error as my klone app:<br><br>In file included from /usr/include/boost/regex/v4/regex_traits.hpp:39,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from
 /usr/include/boost/regex/regex_traits.hpp:27,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/include/boost/regex/v4/regex.hpp:39,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/include/boost/regex.hpp:31,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from test_app.cpp:4:<br>/usr/include/boost/regex/v4/cpp_regex_traits.hpp: In member function ‘void boost::re_detail::cpp_regex_traits_char_layer&lt;charT&gt;::init()’:<br>/usr/include/boost/regex/v4/cpp_regex_traits.hpp:288: error: ‘err’ was not declared in this scope<br>/usr/include/boost/regex/v4/cpp_regex_traits.hpp: In member function ‘void boost::re_detail::cpp_regex_traits_implementation&lt;charT&gt;::init()’:<br>/usr/include/boost/regex/v4/cpp_regex_traits.hpp:653: error: ‘err’ was not declared in this
 scope<br><br>and so you are on to something.<br><br>I then tried the same idea in my index.klx file but to no avail. <br><br>My klone makefile is:<br><br>#<br>WEBAPP_CFLAGS ?= -I$(KLONE_APP_TOP) -I$(KLONE_SRC) -I/usr/include<br>WEBAPP_LDADD ?= /usr/lib/libboost_regex.a<br>WEBAPP_LDFLAGS ?= -L/usr/lib -lboost_regex<br>#<br><br>This must be something simple but then I am no expert programmer.<br>Thanks again and I will hammer away at this until I hear from you.<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> thomas fossati &lt;tho@koanlogic.com&gt;<br><b><span style="font-weight: bold;">To:</span></b> Klone users &lt;klone-users@koanlogic.com&gt;<br><b><span style="font-weight: bold;">Sent:</span></b> Sun, December 20, 2009 9:48:57
 AM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [Klone-users] Boost regex<br></font><br><meta http-equiv="x-dns-prefetch-control" content="off">Hi Varg,<div><br><div><div>On Dec 18, 2009, at 1:44 AM, Varg Volk wrote:</div><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Courier; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><div><div style="margin: 0px; font-family: 'times new roman','new york',times,serif; font-size: 12pt;"><div style="margin: 0px;">I am having difficulty linking the Boost regex library to my Klone app.<br></div></div></div></span></blockquote><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family:
 Courier; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><div><div style="margin: 0px; font-family: 'times new roman','new york',times,serif; font-size: 12pt;"><div style="margin: 0px;">[SNIP]</div></div></div></span></blockquote><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Courier; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><div><div style="margin: 0px; font-family: 'times new roman','new york',times,serif; font-size: 12pt;"><div style="margin: 0px;">and get the errors:<br><br>#<br>In file included from
 /usr/include/boost/regex/v4/regex_traits.hpp:39,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/include/boost/regex/regex_traits.hpp:27,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/include/boost/regex/v4/regex.hpp:39,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/include/boost/regex.hpp:31,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /home/daddy/Desktop/klo/webapp/www/index.klx:8:<br>/usr/include/boost/regex/v4/cpp_regex_traits.hpp: In member function ‘void boost::re_detail::cpp_regex_traits_char_layer&lt;charT&gt;::init()’:<br>/usr/include/boost/regex/v4/cpp_regex_traits.hpp:288: error: ‘err’ was not declared in this scope<br>/usr/include/boost/regex/v4/cpp_regex_traits.hpp: In member function
 ‘void boost::re_detail::cpp_regex_traits_implementation&lt;charT&gt;::init()’:<br>/usr/include/boost/regex/v4/cpp_regex_traits.hpp:653: error: ‘err’ was not declared in this scope<br>make[6]: *** [pg_96999b9cde0a341e168e8a972bcdc019.o] Error 1<br></div></div></div></span></blockquote><br></div><div>I haven't dig it, but my "nose" feeling is that the error has something to do with libu's err() function definition. &nbsp;Could you please try to #include &lt;u/libu.h&gt; (together with the appropriate -I/path) in your test application and see if the same error shows up ?</div><div><br></div><div>Thanks, t.</div></div><meta http-equiv="x-dns-prefetch-control" content="on"></div></div>
<!-- cg27.c4.mail.gq1..yahoo.com compressed/chunked Thu Dec 17 20:19:36 PST 2009 -->
</div><br>



      </body></html>