<div dir="ltr">This might help for debugging. <div><br></div><div>1. Code on which I am building raspberrypi BSP <a href="https://github.com/deval-maker/rtems-libbsd">https://github.com/deval-maker/rtems-libbsd</a> </div><div>2. Testsuits whcih contains #include <rtems/bsd/test/default-network-init.h> or #include <rtems/bsd/test/default-init.h> are having this redefination error. </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 25, 2016 at 1:49 PM, Deval Shah <span dir="ltr"><<a href="mailto:deval.maker@gmail.com" target="_blank">deval.maker@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"><p style="margin:0px;padding:0px;border:0px"><span style="line-height:17.03px;font-family:Arial,sans-serif">I got the following result. </span></p><p style="margin:0px;padding:0px;border:0px"><span style="line-height:17.03px;font-family:Arial,sans-serif">nm: 'a.out': No such file</span></p><div><br></div><p style="margin:0px;padding:0px;border:0px;font-size:13px;line-height:17.03px;font-family:Arial,sans-serif">I searched a bit. And got to know that DWG OTG was already ported to RTEMS by this commit <a href="https://github.com/RTEMS/rtems-libbsd/commit/ba446132d4e9efbc1ffd7f4dc4fbfde7f531b740" target="_blank">https://github.com/RTEMS/rtems-libbsd/commit/ba446132d4e9efbc1ffd7f4dc4fbfde7f531b740</a>. </p><p style="margin:0px;padding:0px;border:0px;font-size:13px;line-height:17.03px;font-family:Arial,sans-serif"><br></p><p style="margin:0px;padding:0px;border:0px;font-size:13px;line-height:17.03px;font-family:Arial,sans-serif">So when I cherry-picked, somewhere, some devices or resources are getting redefined.</p><p style="margin:0px;padding:0px;border:0px;font-size:13px;line-height:17.03px;font-family:Arial,sans-serif">Any suggestion on how to proceed ?</p><div><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 25, 2016 at 1:17 PM, Sebastian Huber <span dir="ltr"><<a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><span><br>
<br>
On 25/05/16 09:12, Deval Shah wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
That is here in this commit <a href="https://github.com/gtament/rtems-libbsd/commit/173af003ef084acd2391269e3dcabb0954053289" rel="noreferrer" target="_blank">https://github.com/gtament/rtems-libbsd/commit/173af003ef084acd2391269e3dcabb0954053289</a>. <br>
</blockquote>
<br>
<br></span>
I don't see an obvious error. What gives an<br>
<br>
nm `find build -name '*bcm283x_dwc_fdt*.o`<br>
<br>
?<div><div><br>
<br>
-- <br>
Sebastian Huber, embedded brains GmbH<br>
<br>
Address : Dornierstr. 4, D-82178 Puchheim, Germany<br>
Phone : +49 89 189 47 41-16<br>
Fax : +49 89 189 47 41-09<br>
E-Mail : <a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a><br>
PGP : Public key available on request.<br>
<br>
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.<br>
<br>
</div></div></blockquote></div><br></div></div></div></div>
</blockquote></div><br></div>