[coreboot] payload bayou can not be compiled.
caibaiyin.pku at gmail.com
Tue Jul 6 17:48:58 CEST 2010
-Werror -Os -DCONFIG_BUILTIN_LAR -DCONFIG_LZMA -DCONFIG_NRV2B
-I/home/work/coreboot-work/payloads/bayou/build/libpayload/include -c -o
basename: missing operand
Try `basename --help' for more information.
In file included from main.c:20:
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...
More information about the coreboot