Hi

 

I have downloaded the latest coreboot source and was able to build and setup the coreboot.rom

And was able to boot on a QEMU emulator.

 

Next I tried to build libpayload and when I do “make install “ it gives the following error

 

/coreboot/payloads/libpayload$ make install

CC   libpci/libpci.libpci.o

In File included from include/libpayload.h:54:0,

                 from libpci/libpci.c:30:

include/x86/arch/types.h:56:22: error: conflicting types for 'size_t'

In file included from include/libpayload.h:49:0,

                 from libpci/libpci.c:30:

/home/pradish/coreboot/util/crossgcc/xgcc/lib/gcc/i386-elf/4.7.2/include/stdded.h:213:23: note: previous declaration of 'size_t' was here

make: ***[build/libpci/libpci.libpci.o] Error 1

 

pradish@pradish-VrtualBox:~/coreboot/paylaods/libpayload$

 

can you tell me, how to resolve this , I have not any changes to the source code. Just performed ‘make’

 

regards

pradish