<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Peter Korsgaard wrote:
<blockquote cite="mid:87d42wtq7n.fsf@macbook.be.48ers.dk" type="cite">
  <blockquote type="cite">
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">"Nicholas" == Nicholas Kinar <a class="moz-txt-link-rfc2396E" href="mailto:n.kinar@usask.ca">&lt;n.kinar@usask.ca&gt;</a> writes:
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->
 Nicholas&gt; Hello--
 Nicholas&gt; I've now added these entries to the Buildroot .config file:

 Nicholas&gt; BR2_ENABLE_LOCALE=no
 Nicholas&gt; BR2_BUILD_SUFFIX=apple-darwin9
 Nicholas&gt; BR2_EXTRA_GCC_CONFIG_OPTIONS="--host=i686-apple-darwin9
 Nicholas&gt; --build=i686-apple-darwin9"

BR2_BUILD_SUFFIX should be enough (it's used to set --host / --build).

 Nicholas&gt; lsmod.c:28:24: error: asm/unistd.h: No such file or directory
 Nicholas&gt; insmod.c:29:24: error: asm/unistd.h: No such file or directory
 Nicholas&gt; make[1]: *** [lsmod.o] Error 1
 Nicholas&gt; make[1]: *** Waiting for unfinished jobs....
 Nicholas&gt; modprobe.c:35:17: error: elf.h: No such file or directory
 Nicholas&gt; modprobe.c:38:24: error: asm/unistd.h: No such file or directory

That looks to me like a bug. It should look or headers in
STAGING_DIR/usr/include and not on your host.

I don't normally use module-init-tools, but I'll take a look.

  </pre>
</blockquote>
Thanks, Peter.&nbsp;&nbsp; This is greatly appreciated.<br>
<br>
<br>
Nicholas<br>
<br>
<br>
<br>
</body>
</html>