[coreboot] tinycurses log file option
Jordan Crouse
jordan.crouse at amd.com
Tue Oct 21 18:11:18 CEST 2008
On 21/10/08 09:31 -0600, Myles Watson wrote:
> On Tue, Oct 21, 2008 at 8:53 AM, Jordan Crouse <jordan.crouse at amd.com>wrote:
>
> > On 21/10/08 07:28 -0600, Myles Watson wrote:
> > >
> > >
> > > > -----Original Message-----
> > > > From: Uwe Hermann [mailto:uwe at hermann-uwe.de]
> > > > Sent: Tuesday, October 21, 2008 4:01 AM
> > > > To: Stefan Reinauer
> > > > Cc: Myles Watson; Coreboot
> > > > Subject: Re: [coreboot] tinycurses log file option
> > > >
> > > > On Tue, Oct 21, 2008 at 10:20:05AM +0200, Stefan Reinauer wrote:
> > > > > On 20.10.2008, at 19:48, "Myles Watson" <mylesgw at gmail.com> wrote:
> > > > >
> > > > >> This patch creates a config option which allows you to see
> > libpayload
> > > > >> output without escape sequences. It's useful for getting readable
> > > > >> output from an emulator whose serial port is redirected to a file.
> > > > >>
> > > > >> Signed-off-by: Myles Watson <mylesgw at gmail.com>
> > > > >>
> > > > >> A related note: coreinfo's make menuconfig doesn't work for me. It
> > > > >> can't find its include files:
> > > > >> make menuconfig
> > > > >> CC build/util/kconfig/lxdialog/checklist.o
> > > > >> In file included from /home/myles/buildrom/buildrom-devel/work/
> > > > >> libpayload/svn/util/kconfig/lxdialog/checklist.c:24:
> > > > >>
> > /home/myles/buildrom/buildrom-devel/work/libpayload/svn/util/kconfig/
> > > > >> lxdialog/dialog.h:21:23: error: sys/types.h: No such file or
> > directory
> > > > >>
> > /home/myles/buildrom/buildrom-devel/work/libpayload/svn/util/kconfig/
> > > > >> lxdialog/dialog.h:22:19: error: fcntl.h: No such file or directory
> > > > >>
> > /home/myles/buildrom/buildrom-devel/work/libpayload/svn/util/kconfig/
> > > > >> lxdialog/dialog.h:23:20: error: unistd.h: No such file or directory
> > > > >>
> > /home/myles/buildrom/buildrom-devel/work/libpayload/svn/util/kconfig/
> > > > >> lxdialog/dialog.h:24:19: error: ctype.h: No such file or directory
> > > > >>
> > > > > Did you install build-essentials?
> > >
> > > I don't know what that is. menuconfig works for all the other projects.
> > >
> > > > This seems to be a build from within buildrom, so maybe it's kconfig
> > > > related. I think we fixed one such issue a while ago in buildrom
> > > > (unset/unexport some variables).
> > > >
> > > > Is this latest svn of buildrom?
> > > Yes
> > >
> > > > Does a manual libpayload build
> > > > yield the same error?
> > >
> > > This is done manually. Libpayload builds fine, manually or with
> > buildrom.
> > > The problem is when I want to run menuconfig. make oldconfig worked,
> > > though.
> >
> > Clean everything, and run with make V=1 - keep a special eye on how mconf
> > is built
>
>
> Here's the part that stands out to me:
>
> 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
>
> Why does it use -m32 and x86_64 includes? That seems wrong. That's why I
> asked about the 64-bit machine.
Okay - I see why. the files in lxdialog/* are being built by the default
target in Makefile and not by the special target in util/kconfig/Makefile.
Uwe - this is your area, can you figure out a solution?
Jordan
More information about the coreboot
mailing list