[coreboot] libplayload and coreinfo
Jordan Crouse
jordan.crouse at amd.com
Thu Mar 6 17:06:29 CET 2008
On 06/03/08 09:27 +0100, Martin Trautmann wrote:
> Jordan Crouse wrote:
>
> > And to celebrate the good start, how about something practical to
> > go with it? Here is something I call coreinfo:
> >
> > http://coreboot.org/~jcrouse/coreinfo_0.1.tar.gz
>
> Thanks!
>
> I'll have to find out about the proper stdio.h include file
> or sprintf declaration.
>
> When I use my /usr/include/stdio.h I get redefinitions of
> typedef ‘FILE’
> and
> struct _IO_FILE
>
> Otherwise without including stdio.h I see
> incompatible implicit declaration of built-in function ‘sprintf’
Oops - yep. sprintf is missing from the header file.
Add:
int sprintf(char * buf, const char *fmt, ...);
to include/libpayload.h
--
Jordan Crouse
Systems Software Development Engineer
Advanced Micro Devices, Inc.
More information about the coreboot
mailing list