/home/work/coreboot-work/payloads/bayou/build/libpayload/bin/lpgcc -Wall -Werror -Os -DCONFIG_BUILTIN_LAR -DCONFIG_LZMA -DCONFIG_NRV2B -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 ?
-- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot