title: asm/socket.h: No such file or directory cross compiling Dart for Raspberry pi
body: <p>I'm cross-compiling the Dart runtime using the instruction <a href="https://code.google.com/p/dart/wiki/RaspberryPi" rel="noreferrer">here</a>.</p>
  
  <p>I've installed all the dependencies as specified. I've also cloned the git repository with the necessary tool chain.</p>
  
  <p>I'm running the runtime compilation with this command:</p>
  
  <pre><code>./tools/build.py -m release -a arm --toolchain=../tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf runtime
  </code></pre>
  
  <p>The compilation starts with no problem then it stops with this error:</p>
  
  <pre><code>  LINK(target) out/ReleaseXARM/libdart_dependency_helper.target
    CXX(host) out/ReleaseXARM/obj.host/libdart_lib_withcore/runtime/vm/bootstrap.o
  In file included from /usr/include/sys/socket.h:38:0,
                   from /usr/include/netinet/in.h:23,
                   from /usr/include/arpa/inet.h:22,
                   from runtime/platform/globals.h:56,
                   from runtime/platform/assert.h:16,
                   from runtime/vm/allocation.h:8,
                   from runtime/vm/bootstrap.h:9,
                   from runtime/vm/bootstrap.cc:5:
  /usr/include/bits/socket.h:345:24: fatal error: asm/socket.h: No such file or directory
   #include &lt;asm/socket.h&gt;
                          ^
  compilation terminated.
    CXX(host) out/ReleaseXARM/obj.host/libdart_lib_withcore/gen/async_gen.o
  In file included from /usr/include/sys/socket.h:38:0,
                   from /usr/include/netinet/in.h:23,
                   from /usr/include/arpa/inet.h:22,
                   from runtime/platform/globals.h:56,
                   from runtime/platform/assert.h:16,
                   from runtime/vm/allocation.h:8,
                   from runtime/vm/bootstrap.h:9,
                   from out/ReleaseXARM/obj/gen/async_gen.cc:5:
  /usr/include/bits/socket.h:345:24: fatal error: asm/socket.h: No such file or directory
   #include &lt;asm/socket.h&gt;
                          ^
  compilation terminated.
  runtime/libdart_lib_withcore.host.mk:978: recipe for target 'out/ReleaseXARM/obj.host/libdart_lib_withcore/runtime/vm/bootstrap.o' failed
  make: *** [out/ReleaseXARM/obj.host/libdart_lib_withcore/runtime/vm/bootstrap.o] Error 1
  make: *** Waiting for unfinished jobs....
  runtime/libdart_lib_withcore.host.mk:986: recipe for target 'out/ReleaseXARM/obj.host/libdart_lib_withcore/gen/async_gen.o' failed
  make: *** [out/ReleaseXARM/obj.host/libdart_lib_withcore/gen/async_gen.o] Error 1
  BUILD FAILED
  </code></pre>
  
  <p>Am I missing any dependency or package?</p>