ke...@us... (Ken Yap) writes:
> >DVERSION=\"5.0.7rc2\" -DRELOC=0x94000 -o bin32/linuxbios.o -c linuxbios.c
> >In file included from linuxbios_tables.h:4,
> > from linuxbios.c:2:
> >/usr/include/stdint.h:37: warning: redefinition of `int8_t'
> >stdint.h:9: warning: `int8_t' previously declared here
>
> I think this is my fault. I included stdint.h in osdep.h and osdep.h is
> included by etherboot.h so linuxbios.c includes it twice, the other
> place from linuxbios_tables.h. Just remove the include of stdint.h from
> linuxbios_tables.h.
Backporting my small changes from 5.1.x looks like.
Actually just include "stdint.h" instead of <stdint.h> in
linuxbios_tables.h
However we work it the fewer external headers we include by accident
or on purpose the more reproducible the build of etherboot will be.
Eric
|