[oe] error building PXA270 target with oe-core/angstrom
Phil Blundell
philb at gnu.org
Tue Aug 16 19:44:36 UTC 2011
On Tue, 2011-08-16 at 15:32 -0400, Cliff Brake wrote:
> | ../libcpp/libcpp.a(files.o): In function `validate_pch':
> | files.c:(.text+0x1978): undefined reference to `fprintf_unlocked'
> | ../libcpp/libcpp.a(line-map.o): In function `linemap_check_files_exited':
> | line-map.c:(.text+0xfa): undefined reference to `fprintf_unlocked'
> | ../libcpp/libcpp.a(line-map.o): In function `linemap_add':
> | line-map.c:(.text+0x258): undefined reference to `fprintf_unlocked'
> | line-map.c:(.text+0x308): undefined reference to `fprintf_unlocked'
> | ../libcpp/libcpp.a(symtab.o): In function `ht_dump_statistics':
> | symtab.c:(.text+0x1cc): undefined reference to `fprintf_unlocked'
That looks rather like something is wrong with your host's build
environment. Apparently gcc has decided that you have fprintf_unlocked
and using it would be a good idea. AFAIK, there are no glibcs in the
wild which do actually implement fprintf_unlocked so it seems that gcc
must be mistaken in its belief.
I think you might need to do a bit of poking at config.log to see what's
up.
p.
More information about the Openembedded-devel
mailing list