Hi,

On 12/28/12 06:30, GOPIKRISHNAN S 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


[snip]

I build Hiawatha regularly for ARM on x86_64 and have encountered no issues like the one you have found. Could you check the following for me please:

1) Are you using the latest oe-core
2) Have you changed the recipe in anyway
3) What architecture are you building for

If you satisfy all of these then I would suggest you drop Hugo and email who is the Hiawatha developer, his email can be found on the Hiawatha website. He is fairly friendly and usually responds to querys quickly.

Regards,
Jack.
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to