Hi&nbsp;  <span class="e" id="q_1158fad7a1e551f5_5">Jeffrey,<br><br><br></span><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><span class="q">
&gt; iguana_haha = ig_env.Package(&quot;iguana/haha&quot;,<br>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; idl_server_headers = naming_headers,<br>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; idl_server_src = naming_servers)<br>&gt; apps += [iguana_haha]</span> <br></blockquote>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Why naming_headers and naming_servers and not haha_headers and haha_servers ??</blockquote><div>
<br>&nbsp;</div><div>Correct If you have headers for haha (libs/haha):<br>Add:<br>(haha_lib, haha_headers, haha_servers)&nbsp;&nbsp;&nbsp; = ig_env.Package(&quot;libs/haha&quot;)<br><br>, I included just for the example naming headers so things could work easier.
<br></div><br><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><span class="e" id="q_1158fad7a1e551f5_5">&gt; ----------------------------------------
<br>&gt; <br>&gt; You should also provide an SConscript at iguana/haha where you <br>&gt; set server<br>&gt; priority, you&nbsp; must return an object, something like:<br>&gt; <br>&gt; obj = env.KengeProgram(&quot;ig_haha&quot;,weaver =
<br>&gt; env.WeaverIguanaProgramServer(server_name =<br>&gt; iguana_object_env[&#39;haha_server&#39;], priority=238),}<br>&gt; <br>&gt; Hope it helps.<br>&gt; <br>&gt; Jorge<br>&gt; <br>&gt; <br>&gt; On 10/11/07, <a href="mailto:j_hieb@insightbb.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
j_hieb@insightbb.com</a> &lt;<a href="mailto:j_hieb@insightbb.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">j_hieb@insightbb.com</a>&gt; wrote:<br>&gt; &gt;<br>&gt; &gt; I am working on adding a new server to iguana.
<br>&gt; &gt;<br>&gt; &gt; libs/newserver/includes/interfaces/newserver.idl4&nbsp; has <br>&gt; the following:<br>&gt; &gt;<br>&gt; &gt; import &quot;iguana/types.h&quot;<br>&gt; &gt;<br>&gt; &gt; [uuid(45)]<br>&gt; &gt; interface newserver_read
<br>&gt; &gt; {<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int test_op(in <br>&gt; int input);<br>&gt; &gt; };<br>&gt; &gt;<br>&gt; &gt; and&nbsp;&nbsp; iguana/newserver/src/main.c&nbsp; has<br>&gt; &gt; int<br>&gt; &gt; main(int argc, char **argv)<br>&gt; &gt; {
<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; printf(&quot;starting newserver main \n&quot;);<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; server_loop();<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; assert(!&quot;Shouldn&#39;t reach here\n&quot;);<br>&gt; &gt; }<br>&gt; &gt;<br>&gt; &gt; I have the newserver tied in in the SConstruct in /projects/iguana/
<br>&gt; &gt;<br>&gt; &gt; without&nbsp; int test_op(in int input);<br>&gt; &gt; everything builds fine.<br>&gt; &gt;<br>&gt; &gt; But when I add the int test_op(...)&nbsp; I need to include<br>&gt; &gt; &lt;interfaces/newserver_serverdecls.h&gt;
<br>&gt; &gt; in iguana/newserver/src/main.c<br>&gt; &gt;<br>&gt; &gt; to get the declaration of<br>&gt; &gt;<br>&gt; &gt; int newserver_read_test_op_impl(L4_ThreadId_t caller, int input,<br>&gt; &gt; idl4_server_environment *env)
<br>&gt; &gt;<br>&gt; &gt; but newserver_serverdecls.h is not created.<br>&gt; &gt;<br>&gt; &gt; Do I need to add something to the <br>&gt; libs/newserver/SConstruct&nbsp; ??<br>&gt; &gt;<br>&gt; &gt; How do I get magpie to create the newserver_serverdecls.h ??
<br>&gt; &gt;<br>&gt; &gt; Thanks, jlh<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; Jeffrey L. Hieb<br>&gt; &gt;<br>&gt; &gt; Doctoral Candidate<br>&gt; &gt; Computer Science and Computer Engineering
<br>&gt; &gt; J. B. Speed School of Engineering<br>&gt; &gt; University of Louisville<br>&gt; &gt;<br>&gt; &gt; <a href="mailto:j_hieb@insightbb.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
j_hieb@insightbb.com</a><br>&gt; &gt; <a href="mailto:jlhieb01@louisville.edu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">jlhieb01@louisville.edu</a><br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; _______________________________________________
<br>&gt; &gt; Developer mailing list<br>&gt; &gt; <a href="mailto:Developer@okl4.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Developer@okl4.org</a><br>&gt; &gt; <a href="https://lists.okl4.org/mailman/listinfo/developer" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
https://lists.okl4.org/mailman/listinfo/developer</a><br>&gt; &gt;<br>&gt; &gt;<br>&gt;<br><br></span></div>Thanks,<br>Jeff<div><span class="e" id="q_1158fad7a1e551f5_7"><br><br><br> Jeffrey L. Hieb<br><br>Doctoral Candidate
<br>Computer Science and Computer Engineering<br>J. B. Speed School of Engineering<br>University of Louisville<br><br><a href="mailto:j_hieb@insightbb.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
j_hieb@insightbb.com</a><br><a href="mailto:jlhieb01@louisville.edu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">jlhieb01@louisville.edu</a><br><br>
</span></div></blockquote></div><br>