On Fri, Dec 28, 2012 at 4:30 AM, GOPIKRISHNAN S <gopikrishn...@pec.edu> wrote: > I am getting some errors while building hiawatha(using recipe from > openembedded). In investigation I found all return \type and parameter type > seems to be same & in all /usr/include/*.h files in declared as extern was > added before to make it visible in global. I wonder no problem was not > raised while compiling for my host platform (Debian 6 on x86), and getting > problem only doing it for my freescale board > > /media/sdk/3.1/QorIQ-SDK-V1.3-20121114-yocto/build_p2041rdb_release/tmp/work/ppce500mc-fsl-linux/hiawatha-8.6-r2/hiawatha-8.6/src/alternative.c:39:5: > error: conflictin > g types for 'unsetenv' > /media/sdk/3.1/QorIQ-SDK-V1.3-20121114-yocto/build_p2041rdb_release/tmp/sysroots/p2041rdb/usr/include/stdlib.h:589:12: > note: previous declaration of 'unsetenv' was her > e > /media/sdk/3.1/QorIQ-SDK-V1.3-20121114-yocto/build_p2041rdb_release/tmp/work/ppce500mc-fsl-linux/hiawatha-8.6-r2/hiawatha-8.6/src/alternative.c:49:6: > error: conflictin > g types for 'clearenv' > /media/sdk/3.1/QorIQ-SDK-V1.3-20121114-yocto/build_p2041rdb_release/tmp/sysroots/p2041rdb/usr/include/stdlib.h:596:12: > note: previous declaration of 'clearenv' was her > e > /media/sdk/3.1/QorIQ-SDK-V1.3-20121114-yocto/build_p2041rdb_release/tmp/work/ppce500mc-fsl-linux/hiawatha-8.6-r2/hiawatha-8.6/src/alternative.c:39:5: > error: conflictin > g types for 'unsetenv' > /media/sdk/3.1/QorIQ-SDK-V1.3-20121114-yocto/build_p2041rdb_release/tmp/sysroots/p2041rdb/usr/include/stdlib.h:589:12: > note: previous declaration of 'unsetenv' was her > e > /media/sdk/3.1/QorIQ-SDK-V1.3-20121114-yocto/build_p2041rdb_release/tmp/work/ppce500mc-fsl-linux/hiawatha-8.6-r2/hiawatha-8.6/src/alternative.c: > In function 'strcasecm > p':/media/sdk/3.1/QorIQ-SDK-V1.3-20121114-yocto/build_p2041rdb_release/tmp/work/ppce500mc-fsl-linux/hiawatha-8.6-r2/hiawatha-8.6/src/alternative.c:49:6: > error: conflic > ting types for 'clearenv' > /media/sdk/3.1/QorIQ-SDK-V1.3-20121114-yocto/build_p2041rdb_release/tmp/sysroots/p2041rdb/usr/include/stdlib.h:596:12: > note: previous declaration of 'clearenv' was her > e
Please report this to meta-openembedded mailing list as this is not BSP specific. It might be due the newer GCC used in Yocto. Someone in meta-openembedded mailing list might have a patch for it ready and then avoid work duplication. Regards, -- Otavio Salvador O.S. Systems E-mail: ota...@ossystems.com.br http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto