[coreboot] payload bayou can not be compiled.

baiyin cai caibaiyin.pku at gmail.com
Tue Jul 6 17:48:58 CEST 2010

/home/work/coreboot-work/payloads/bayou/build/libpayload/bin/lpgcc -Wall
-I/home/work/coreboot-work/payloads/bayou/build/libpayload/include -c -o
main.o main.c
basename: missing operand
Try `basename --help' for more information.
In file included from main.c:20:
hi all,
    i am trying to use bayou as an payload. but i find it can not be build.
the error message seems like:

> bayou.h:60: error: field ‘stat’ has incomplete type
> cc1: warnings being treated as errors
> bayou.h:85: error: ‘struct LAR’ declared inside parameter list
> bayou.h:85: error: its scope is only this definition or declaration, which
> is probably not what you want
> main.c: In function ‘main’:
> main.c:34: error: implicit declaration of function ‘openlar’
> main.c:34: error: assignment makes pointer from integer without a cast
> main.c:41: error: passing argument 1 of ‘get_configuration’ from
> incompatible pointer type
> bayou.h:85: note: expected ‘struct LAR *’ but argument is of type ‘struct
> LAR *’
> make: *** [main.o] Error 1
any suggestions ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20100706/f6c1247b/attachment.html>

More information about the coreboot mailing list