[coreboot] coreboot-libpayload 'size_t' conflicting type error

Pradish Moorkkth Puttan Vettil pradishmp at gmail.com
Thu Mar 21 11:01:45 CET 2013


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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20130321/2f8c6723/attachment.html>


More information about the coreboot mailing list