<div dir="ltr"><div style="font-size:small" class="gmail_default">Hi Sylvain,<br><br></div><div style="font-size:small" class="gmail_default">I didn't realize it when you responded, but <sys/_types.h> is a toolchain problem, and you just nailed it.<br></div><div style="font-size:small" class="gmail_default">Cool:)<br></div><div style="font-size:small" class="gmail_default"><br></div><div style="font-size:small" class="gmail_default">Early on, before it was pointed to me to use the Getting Started wiki, I used the src/README.building file,<br></div><div style="font-size:small" class="gmail_default">which is a normal practice for all unix developers/admins. When I couldn't find the <a href="http://gnuarm.com">gnuarm.com</a> toolchain, I searched the web<br></div><div style="font-size:small" class="gmail_default">for ubuntu toolchains and found the linaro one, gcc-arm-linux-gnueabi, which doesn't provide <sys_types.h>.<br></div><div style="font-size:small" class="gmail_default">No dev version either:(<br></div><div style="font-size:small" class="gmail_default">So, when using that toolchain, I had to come up with the missing <sys/_types.h>, and the only one I could find<br></div><div style="font-size:small" class="gmail_default">was from vivado:(<br><br></div><div style="font-size:small" class="gmail_default">Is there a point to my life's story? Just to pont out into how much problems one can get with the wrong README file.<br></div><div style="font-size:small" class="gmail_default">I realize that building procedure must be defined and maintained in 1 place, either the wiki or the README file.<br></div><div style="font-size:small" class="gmail_default">The wiki is a non standard unix location, but a more convenient one. I propose to fix the info in README.building,<br>to avoid future issues. The fix can be as simple as "Prerequisite is the armel toolchain. Check the <wiki url> for installation"<br><br></div><div style="font-size:small" class="gmail_default">HTH<br></div><div style="font-size:small" class="gmail_default">Nikos <br> </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, May 13, 2018 at 12:11 PM, Nikos Balkanas <span dir="ltr"><<a href="mailto:nbalkanas@gmail.com" target="_blank">nbalkanas@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:small">Thx Sylvain,<br><br></div><div class="gmail_default" style="font-size:small">For your fast response. <br>This turned out not to be the problem, since I did several times make clean & make distclean, after I created the toolchain, before posting:)<br></div><div class="gmail_default" style="font-size:small">But your response helped, in that this isn't a usual problem. Therefore smt in my setup.<br><br></div><div class="gmail_default" style="font-size:small">Turned out problem was in my CPPFLAGS include dir.<br></div><div class="gmail_default" style="font-size:small">Early on, I faced a few problems with missing include files. 1 in particular <sys/_types.h> was nowhere in my system other than in Xilinx vivado,<br></div><div class="gmail_default" style="font-size:small">under /gcc-arm-none-eabi/.<br></div><div class="gmail_default" style="font-size:small">Once I removed it from CPPFLAGS osmocom-bb compiled fine (with a few warnings)<br><br></div><div class="gmail_default" style="font-size:small">Problem solved:)<br></div><div class="gmail_default" style="font-size:small"><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, May 13, 2018 at 10:15 AM, Sylvain Munaut <span dir="ltr"><<a href="mailto:246tnt@gmail.com" target="_blank">246tnt@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>> I've been following the installation directions from the wiki, Getting<br>
> Started.<br>
> After generating the arm-none-eabi toolchain, I proceeded with make.<br>
<br>
</span>My guess is you first tried compiling without an arm toolchain<br>
installed and then installed the arm toolchain and didn't do a 'make<br>
clean' when retrying.<br>
<br>
<br>
Cheers,<br>
<br>
   Sylvain<br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>