Hi,<br><br>To add a new server; for example (server name=haha):<br><br>---projects/iguana/SConstruct-<div id="mb_4">----<br>.<br>.<br>iguana_object_env = {<br>&nbsp;&nbsp;&nbsp; &#39;naming_server&#39;&nbsp; : 0x100,
<br>&nbsp;&nbsp;&nbsp; &#39;trace_server&#39;&nbsp;&nbsp; : 0x101,<br>&nbsp;&nbsp;&nbsp; &#39;serial_server&#39;&nbsp; : 0x102,<br>&nbsp;&nbsp;&nbsp; &#39;timer_server&#39;&nbsp;&nbsp; : 0x103,<br>&nbsp;&nbsp;&nbsp; &#39;haha_server&#39; : 0x104,&nbsp;&nbsp;&nbsp; #added line<br>&nbsp;&nbsp;&nbsp; &#39;wombat_vmalloc&#39; : 0x1111,<br>

&nbsp;&nbsp;&nbsp; &#39;wombat_rootfs&#39;&nbsp; : 0x1112,<br>&nbsp;&nbsp;&nbsp; &#39;wombat_vmlinux&#39; : 0x1113,<br>&nbsp;&nbsp;&nbsp; &#39;vga_area&#39;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 0x1114,<br>&nbsp;&nbsp;&nbsp; } <br>.<br>.<br>.<br>iguana_haha = ig_env.Package(&quot;iguana/haha&quot;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; idl_server_headers = naming_headers,
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; idl_server_src = naming_servers)<br>apps += [iguana_haha]<br>----------------------------------------<br><br>You should also provide an SConscript at iguana/haha where you set server priority, you&nbsp; must return an object, something like:
<br><br>obj = env.KengeProgram(&quot;ig_haha&quot;,weaver = <br>env.WeaverIguanaProgramServer(server_name = <br>iguana_object_env[&#39;haha_server&#39;], priority=238),}&nbsp; <br><br>Hope it helps.<br><br>Jorge<br></div><br>
<br><div><span class="gmail_quote">On 10/11/07, <b class="gmail_sendername"><a href="mailto:j_hieb@insightbb.com">j_hieb@insightbb.com</a></b> &lt;<a href="mailto:j_hieb@insightbb.com">j_hieb@insightbb.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I am working on adding a new server to iguana. <br><br>libs/newserver/includes/interfaces/newserver.idl4&nbsp; has the following:
<br><br>import &quot;iguana/types.h&quot;<br><br>[uuid(45)]<br>interface newserver_read<br>{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int test_op(in int input);<br>};<br><br>and &nbsp; iguana/newserver/src/main.c&nbsp; has <br>int<br>main(int argc, char **argv)
<br>{<br>&nbsp;&nbsp;&nbsp; printf(&quot;starting newserver main \n&quot;);<br>&nbsp;&nbsp;&nbsp; server_loop();<br>&nbsp;&nbsp;&nbsp; assert(!&quot;Shouldn&#39;t reach here\n&quot;);<br>}<br><br>I have the newserver tied in in the SConstruct in /projects/iguana/ <br>
<br>without&nbsp; int test_op(in int input);<br>everything builds fine.<br><br>But when I add the int test_op(...)&nbsp; I need to include &lt;interfaces/newserver_serverdecls.h&gt;<br>in iguana/newserver/src/main.c<br><br>to get the declaration of 
<br><br>int newserver_read_test_op_impl(L4_ThreadId_t caller, int input, idl4_server_environment *env)<br><br>but newserver_serverdecls.h is not created.<br><br>Do I need to add something to the libs/newserver/SConstruct&nbsp; ?? 
<br><br>How do I get magpie to create the newserver_serverdecls.h ??<br><br>Thanks, jlh<br><br><br><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>
<br>_______________________________________________<br>Developer mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Developer@okl4.org">Developer@okl4.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.okl4.org/mailman/listinfo/developer" target="_blank">
https://lists.okl4.org/mailman/listinfo/developer</a><br><br></blockquote></div><br>