<div dir="ltr"><br><br><div class="gmail_quote">On Tue, Oct 21, 2008 at 8:53 AM, Jordan Crouse <span dir="ltr"><<a href="mailto:jordan.crouse@amd.com">jordan.crouse@amd.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">On 21/10/08 07:28 -0600, Myles Watson wrote:<br>
><br>
><br>
> > -----Original Message-----<br>
> > From: Uwe Hermann [mailto:<a href="mailto:uwe@hermann-uwe.de">uwe@hermann-uwe.de</a>]<br>
> > Sent: Tuesday, October 21, 2008 4:01 AM<br>
> > To: Stefan Reinauer<br>
> > Cc: Myles Watson; Coreboot<br>
> > Subject: Re: [coreboot] tinycurses log file option<br>
> ><br>
> > On Tue, Oct 21, 2008 at 10:20:05AM +0200, Stefan Reinauer wrote:<br>
> > > On 20.10.2008, at 19:48, "Myles Watson" <<a href="mailto:mylesgw@gmail.com">mylesgw@gmail.com</a>> wrote:<br>
> > ><br>
> > >> This patch creates a config option which allows you to see libpayload<br>
> > >> output without escape sequences.  It's useful for getting readable<br>
> > >> output from an emulator whose serial port is redirected to a file.<br>
> > >><br>
> > >> Signed-off-by: Myles Watson <<a href="mailto:mylesgw@gmail.com">mylesgw@gmail.com</a>><br>
> > >><br>
> > >> A related note: coreinfo's make menuconfig doesn't work for me.  It<br>
> > >> can't find its include files:<br>
> > >>  make menuconfig<br>
> > >>   CC      build/util/kconfig/lxdialog/checklist.o<br>
> > >> In file included from /home/myles/buildrom/buildrom-devel/work/<br>
> > >> libpayload/svn/util/kconfig/lxdialog/checklist.c:24:<br>
> > >> /home/myles/buildrom/buildrom-devel/work/libpayload/svn/util/kconfig/<br>
> > >> lxdialog/dialog.h:21:23: error: sys/types.h: No such file or directory<br>
> > >> /home/myles/buildrom/buildrom-devel/work/libpayload/svn/util/kconfig/<br>
> > >> lxdialog/dialog.h:22:19: error: fcntl.h: No such file or directory<br>
> > >> /home/myles/buildrom/buildrom-devel/work/libpayload/svn/util/kconfig/<br>
> > >> lxdialog/dialog.h:23:20: error: unistd.h: No such file or directory<br>
> > >> /home/myles/buildrom/buildrom-devel/work/libpayload/svn/util/kconfig/<br>
> > >> lxdialog/dialog.h:24:19: error: ctype.h: No such file or directory<br>
> > >><br>
> > > Did you install build-essentials?<br>
><br>
> I don't know what that is.  menuconfig works for all the other projects.<br>
><br>
> > This seems to be a build from within buildrom, so maybe it's kconfig<br>
> > related. I think we fixed one such issue a while ago in buildrom<br>
> > (unset/unexport some variables).<br>
> ><br>
> > Is this latest svn of buildrom?<br>
> Yes<br>
><br>
> > Does a manual libpayload build<br>
> > yield the same error?<br>
><br>
> This is done manually.  Libpayload builds fine, manually or with buildrom.<br>
> The problem is when I want to run menuconfig.  make oldconfig worked,<br>
> though.<br>
<br>
</div></div>Clean everything, and run with make V=1 - keep a special eye on how mconf<br>
is built</blockquote><div><br>Here's the part that stands out to me:<br><br>gcc -m32 -Wall -Werror   -fno-stack-protector -nostdinc -Iinclude
-Ibuild -I/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include -ffreestanding
-c -o
/home/myles/buildrom/buildrom-devel/work/libpayload/svn/build/util/kconfig/lxdialog/checklist.o
/home/myles/buildrom/buildrom-devel/work/libpayload/svn/util/kconfig/lxdialog/checklist.c<br><br>Why does it use -m32 and x86_64 includes?  That seems wrong.  That's why I asked about the 64-bit machine.<br><br>Thanks,<br>
Myles<br><br>Here's the rest:<br>make menuconfig V=1<br></div></div>mkdir -p /home/myles/buildrom/buildrom-devel/work/libpayload/svn/build/util/kconfig/lxdialog<br>mkdir -p /home/myles/buildrom/buildrom-devel/work/libpayload/svn/build/crypto /home/myles/buildrom/buildrom-devel/work/libpayload/svn/build/curses /home/myles/buildrom/buildrom-devel/work/libpayload/svn/build/drivers/video<br>
mkdir -p /home/myles/buildrom/buildrom-devel/work/libpayload/svn/build/drivers/usb<br>mkdir -p /home/myles/buildrom/buildrom-devel/work/libpayload/svn/build/i386 /home/myles/buildrom/buildrom-devel/work/libpayload/svn/build/lib/i386 /home/myles/buildrom/buildrom-devel/work/libpayload/svn/build/libc <br>
mkdir -p /home/myles/buildrom/buildrom-devel/work/libpayload/svn/lib/i386<br>gcc -I/home/myles/buildrom/buildrom-devel/work/libpayload/svn/util/kconfig -I/home/myles/buildrom/buildrom-devel/work/libpayload/svn/build/util/kconfig -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" -DLOCALE  -c -o /home/myles/buildrom/buildrom-devel/work/libpayload/svn/build/util/kconfig/mconf.o /home/myles/buildrom/buildrom-devel/work/libpayload/svn/util/kconfig/mconf.c<br>
cp /home/myles/buildrom/buildrom-devel/work/libpayload/svn/util/kconfig/zconf.tab.c_shipped /home/myles/buildrom/buildrom-devel/work/libpayload/svn/build/util/kconfig/zconf.tab.c<br>cp /home/myles/buildrom/buildrom-devel/work/libpayload/svn/util/kconfig/lex.zconf.c_shipped /home/myles/buildrom/buildrom-devel/work/libpayload/svn/build/util/kconfig/lex.zconf.c<br>
cp /home/myles/buildrom/buildrom-devel/work/libpayload/svn/util/kconfig/zconf.hash.c_shipped /home/myles/buildrom/buildrom-devel/work/libpayload/svn/build/util/kconfig/zconf.hash.c<br>gcc -I/home/myles/buildrom/buildrom-devel/work/libpayload/svn/util/kconfig -I/home/myles/buildrom/buildrom-devel/work/libpayload/svn/build/util/kconfig -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" -DLOCALE  -c -o /home/myles/buildrom/buildrom-devel/work/libpayload/svn/build/util/kconfig/zconf.tab.o /home/myles/buildrom/buildrom-devel/work/libpayload/svn/build/util/kconfig/zconf.tab.c<br>
printf "  CC      build/util/kconfig/lxdialog/checklist.o\n"<br>  CC      build/util/kconfig/lxdialog/checklist.o<br>gcc -m32 -Wall -Werror   -fno-stack-protector -nostdinc -Iinclude -Ibuild -I/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include -ffreestanding -c -o /home/myles/buildrom/buildrom-devel/work/libpayload/svn/build/util/kconfig/lxdialog/checklist.o /home/myles/buildrom/buildrom-devel/work/libpayload/svn/util/kconfig/lxdialog/checklist.c<br>
In file included from /home/myles/buildrom/buildrom-devel/work/libpayload/svn/util/kconfig/lxdialog/checklist.c:24:<br>/home/myles/buildrom/buildrom-devel/work/libpayload/svn/util/kconfig/lxdialog/dialog.h:21:23: error: sys/types.h: No such file or directory<br>
<br></div>