<div dir="ltr"><div>Hello Rag,</div><div><br></div>I'll try shot in The Absolute Dark. I have inspected your log. And strange things cot my eye.<div><br></div><div>Here: </div><div><b><i><u><font color="#ff0000">./autogen.sh</font></u></i></b></div><div><div>Importing unicode...</div><div>Importing libgcrypt...</div><div>WARNING: grub-core/lib/libgcrypt-grub already exists</div><div>WARNING: grub-core/lib/libgcrypt-grub/<wbr>cipher already exists</div><div>WARNING: grub-core/lib/libgcrypt-grub/<wbr>mpi already exists</div><div>WARNING: grub-core/lib/libgcrypt-grub/<wbr>src already exists</div><div><b><i><u><font color="#ff0000">Generating Automake input...</font></u></i></b></div><div><b><i><u><font color="#ff0000">Saving timestamps...</font></u></i></b></div><div><b><i><u><font color="#ff0000">Running autoreconf...</font></u></i></b></div><div><b><i><u><font color="#ff0000">cd grub2/build && ../configure BUILD_CC="" CC="" \</font></u></i></b></div><div><b><i><u><font color="#ff0000">TARGET_CC="cc" \</font></u></i></b></div><div><b><i><u><font color="#ff0000">TARGET_OBJCOPY="" TARGET_STRIP="" CFLAGS=-O2 TARGET_CFLAGS=-Os --with-platform=coreboot</font></u></i></b></div><div><b><i><u><font color="#ff0000">checking build system type... x86_64-pc-linux-gnu</font></u></i></b></div><div><b><i><u><font color="#ff0000">checking host system type... x86_64-pc-linux-gnu</font></u></i></b></div><div><b><i><u><font color="#ff0000">checking target system type... x86_64-pc-linux-gnu</font></u></i></b></div><div><b><i><u><font color="#ff0000">checking for a BSD-compatible install... /usr/bin/install -c</font></u></i></b></div><div>checking whether build environment is sane... yes</div><div>checking for a thread-safe mkdir -p... /bin/mkdir -p</div></div><div><br></div><div>[snap]</div><div><br></div><div><div>config.status: creating config.h</div><div>config.status: creating config-util.h</div><div><b><i><u><font color="#ff0000">config.status: linking ../include/grub/i386 to include/grub/cpu</font></u></i></b></div><div><b><i><u><font color="#ff0000">config.status: linking ../include/grub/i386/coreboot to include/grub/machine</font></u></i></b></div><div>config.status: executing depfiles commands</div><div>config.status: executing po-directories commands</div><div>config.status: creating po/POTFILES</div><div>config.status: creating po/Makefile</div><div>*******************************************************</div><div>GRUB2 will be compiled with following components:</div><div>Platform: i386-coreboot</div><div>With devmapper support: No (need libdevmapper header)</div></div><div>_______</div><div><br></div><div>So, target system is 64bit. Build system (tools) is configured as 64bit. Target system is 64bit. So, seems configuration is 64 bit...</div><div><br></div><div>Should GRUB2 be build for 64bit platform? Not sure if here it is meant to be build as 32bit, according Coreboot, which is always 32bit???</div><div>_______</div><div><br></div><div>No idea, but something seems fishy in your environment setup. :-(</div><div><br></div><div>Zoran</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 1, 2017 at 11:50 AM, chitgope raghuveer <span dir="ltr"><<a href="mailto:raghurampage@gmail.com" target="_blank">raghurampage@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><div>Hello Zoran,<br><br></div>I could be sure I havent used YOCTO. I have attached the complete log for the compilation.<br></div>The output for $git describe is <b>"</b><span style="font-size:12.8px"><b>4.5-897-gdcad289".</b><br></span></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Wed, Feb 1, 2017 at 12:19 PM, Zoran Stojsavljevic <span dir="ltr"><<a href="mailto:zoran.stojsavljevic@gmail.com" target="_blank">zoran.stojsavljevic@gmail.com</a><wbr>></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>Hello Rag,</div><div><br></div>Not sure what you are trying to do here?<div><br></div><div>Did you compile using YOCTO (<span style="font-size:12.8px">Makefile:1375: <b><i><u><font color="#ff0000">recipe</font></u></i></b> for target 'argp-ba.o' failed)?</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Or some other Linux distro? Please, we need here Linux distro with more info and at least 200 lines of compilation log.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Did you compile Coreboot source? Which version (please, execute $ git describe in Coreboot root)?!</span><br></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Thank you,</span></div><div><span style="font-size:12.8px">Zoran</span></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_-8722192905455199111h5">On Wed, Feb 1, 2017 at 5:10 AM, chitgope raghuveer <span dir="ltr"><<a href="mailto:raghurampage@gmail.com" target="_blank">raghurampage@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_-8722192905455199111h5"><div dir="ltr"><div>Hello,<br><br></div>I am facing a compilation issue with GRUB2. Below is the snippet. <br><br>mv -f $depbase.Tpo $depbase.Po<br>/bin/bash: line 1: -DHAVE_CONFIG_H: command not found<br>Makefile:1375: recipe for target 'argp-ba.o' failed<br>make[5]: *** [argp-ba.o] Error 127<span class="m_-8722192905455199111m_-7014872358360647415HOEnZb"><font color="#888888"><br><br clear="all"><div><div><br>-- <br><div class="m_-8722192905455199111m_-7014872358360647415m_4412974376749561592gmail_signature"><div dir="ltr"><div><div dir="ltr">Raghuveer Chitgope.</div></div></div></div>
</div></div></font></span></div>
<br></div></div><span class="m_-8722192905455199111HOEnZb"><font color="#888888">--<br>
coreboot mailing list: <a href="mailto:coreboot@coreboot.org" target="_blank">coreboot@coreboot.org</a><br>
<a href="https://www.coreboot.org/mailman/listinfo/coreboot" rel="noreferrer" target="_blank">https://www.coreboot.org/mailm<wbr>an/listinfo/coreboot</a><br></font></span></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><br></div></div><span class="HOEnZb"><font color="#888888">-- <br><div class="m_-8722192905455199111gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">Raghuveer Chitgope.</div></div></div></div>
</font></span></div>
</blockquote></div><br></div>