Thanks Dalibor,<br>
&nbsp;&nbsp; compile is asking me to report some warnings:<br>
<br>
checking for sched_yield... no<br>
checking sched.h usability... no<br>
checking sched.h presence... yes<br>
configure: WARNING: sched.h: present but cannot be compiled<br>
configure: WARNING: sched.h:&nbsp;&nbsp;&nbsp;&nbsp; check for missing prerequisite headers?<br>
configure: WARNING: sched.h: see the Autoconf documentation<br>
configure: WARNING: sched.h:&nbsp;&nbsp;&nbsp;&nbsp; section &quot;Present But Cannot Be Compiled&quot;<br>
configure: WARNING: sched.h: proceeding with the preprocessor's result<br>
configure: WARNING: sched.h: in the future, the compiler will take precedence<br>
configure: WARNING:&nbsp;&nbsp;&nbsp;&nbsp; ## ------------------------------ ##<br>
configure: WARNING:&nbsp;&nbsp;&nbsp;&nbsp; ## Report this to <a href="mailto:kaffe@kaffe.org">kaffe@kaffe.org</a> ##<br>
configure: WARNING:&nbsp;&nbsp;&nbsp;&nbsp; ## ------------------------------ ##<br>
checking for sched.h... yes<br>
checking for getifaddrs... no<br>
checking ifaddrs.h usability... no<br>
checking ifaddrs.h presence... yes<br>
configure: WARNING: ifaddrs.h: present but cannot be compiled<br>
configure: WARNING: ifaddrs.h:&nbsp;&nbsp;&nbsp;&nbsp; check for missing prerequisite headers?<br>
configure: WARNING: ifaddrs.h: see the Autoconf documentation<br>
configure: WARNING: ifaddrs.h:&nbsp;&nbsp;&nbsp;&nbsp; section &quot;Present But Cannot Be Compiled&quot;<br>
configure: WARNING: ifaddrs.h: proceeding with the preprocessor's result<br>
configure: WARNING: ifaddrs.h: in the future, the compiler will take precedence<br>
configure: WARNING:&nbsp;&nbsp;&nbsp;&nbsp; ## ------------------------------ ##<br>
configure: WARNING:&nbsp;&nbsp;&nbsp;&nbsp; ## Report this to <a href="mailto:kaffe@kaffe.org">kaffe@kaffe.org</a> ##<br>
configure: WARNING:&nbsp;&nbsp;&nbsp;&nbsp; ## ------------------------------ ##<br>
checking for ifaddrs.h... yes<br>
checking for inet_ntop... no<br>
checking for inet_pton... no<br>
checking arpa/nameser.h usability... no<br>
checking arpa/nameser.h presence... yes<br>
configure: WARNING: arpa/nameser.h: present but cannot be compiled<br>
configure: WARNING: arpa/nameser.h:&nbsp;&nbsp;&nbsp;&nbsp; check for missing prerequisite headers?<br>
configure: WARNING: arpa/nameser.h: see the Autoconf documentation<br>
configure: WARNING: arpa/nameser.h:&nbsp;&nbsp;&nbsp;&nbsp; section
&quot;Present But Cannot Be Compiled&quot;configure: WARNING: arpa/nameser.h:
proceeding with the preprocessor's result<br>
configure: WARNING: arpa/nameser.h: in the future, the compiler will take precedence<br>
configure: WARNING:&nbsp;&nbsp;&nbsp;&nbsp; ## ------------------------------ ##<br>
configure: WARNING:&nbsp;&nbsp;&nbsp;&nbsp; ## Report this to <a href="mailto:kaffe@kaffe.org">kaffe@kaffe.org</a> ##<br>
configure: WARNING:&nbsp;&nbsp;&nbsp;&nbsp; ## ------------------------------ ##<br>
checking for arpa/nameser.h... yes<br>
checking for memset... no<br>
checking for socklen_t... no<br>
checking for in_port_t... no<br>
checking value of sizeof((((struct sockaddr_in *) 0) -&gt;sin_port)) by analyzing object code... 0<br>
checking value of sizeof(long) by analyzing object code... 0<br>
checking value of sizeof(int) by analyzing object code... 0<br>
checking value of sizeof(short) by analyzing object code... 0<br>
checking value of sizeof(char) by analyzing object code... 0<br>
checking for h_errno declaration in netdb.h... no<br>
checking for getaddrinfo... no<br>
checking for getnameinfo... no<br>
checking for struct in6_addr... no<br>
checking for struct sockaddr_in6... no<br>
checking for struct sockaddr_storage... no<br>
checking for sa_family_t... no<br>
configure: error: Failed to get size of sa_family in struct sockaddr.<br>
<br>
Then it errors as you can see.&nbsp; <br>
Are the warnings and this fail related? Does it look like a problem with my environment or the mipsel compile itself? <br>
<br>
Thanks<br>
<br>
Rich.<br>
<br><div><span class="gmail_quote">On 10/18/05, <b class="gmail_sendername">Dalibor Topic</b> &lt;<a href="mailto:robilad@kaffe.org">robilad@kaffe.org</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;">
Richard Brady wrote:<br>&gt; I've had fun this weekend installing Ubuntu on an old 10GB drive. I'm<br>&gt; guessing Dalibor was joking about that particular Linux flavour but it's<br>&gt; fine for a noob like me. Had to install a couple of extra packages
<br>&gt; (bison/flex/etc) to get the toolchain compiling but it was pretty<br>&gt; straightforward.<br><br>I currently run Ubuntu on my notebook, among other distros. It's nice. I<br>change my distributions regularly, though, so now that Breezy is
<br>released, I guess I'll switch to something else for a while. :)<br><br>&gt; So Michael, what's my next step?&nbsp;&nbsp;The OpenWrt docs are saying I need to<br>&gt; write a Makefile and <a href="http://Config.in">Config.in</a>
 &lt;<a href="http://Config.in">http://Config.in</a>&gt; for the new ipkg but<br>&gt; as I don't really need it packaged up, is there a simpler way to get it<br>&gt; cross compiling?&nbsp;&nbsp;Can I edit the kaffe configure script to use the
<br>&gt; mipsel compiler?<br><br>for cross-compiling you first need a local instance of kaffe built for<br>your OS and installed, since you'll need the kaffeh tool to generate the<br>headers for the native libraries in kaffe.
<br><br>once you've installed kaffe locally, set the environment variable KAFFEH<br>to /full/path/to/wherever/you/installed/kaffeh so that configure can<br>pick it up.<br><br>Finally, tell configure that you're cross compiling for a different
<br>platform, so pass --build='platform-name-prefix-for-gcc' to configure.<br><br>You can find out the platform name prefix by looking sharply at the<br>supplied toolchain for your platform. For example, if your gcc is called
<br>arm-gnu-linux-gcc , then the prefix is arm-gnu-linux :)<br><br>That helps configure find the right tools to end up producing the<br>correct binaries for your platform.<br><br>I hope this helps!<br><br>cheers,<br>dalibor topic
<br><br></blockquote></div><br>