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 On Thu, Dec 27, 2012 at 9:25 PM, GOPIKRISHNAN S <gopikrishn...@pec.edu>wrote: > Thanks. Your link was so helpful. > > > On Fri, Dec 21, 2012 at 10:53 PM, Eric Bénard <e...@eukrea.com> wrote: > >> Hi, >> >> Le Fri, 21 Dec 2012 21:41:38 +0530, >> GOPIKRISHNAN S <gopikrishn...@pec.edu> a écrit : >> > I was trying to install hiawatha on my freescale p2041rdb. But it is >> using >> > cmake to configure and install. >> > How to write recipe for this with cmake. I have writted recipe for >> packages >> > with autotools, and make file. >> > Any Idea??? >> >> by using meta-openembedded/meta-webserver you can get hiawatha running >> in a few minutes : >> >> http://cgit.openembedded.org/meta-openembedded/tree/meta-webserver/recipes-httpd/hiawatha >> >> Best regards >> Eric >> > >
_______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto