[meta-freescale] hiawatha-8.6 using Yocto

GOPIKRISHNAN S gopikrishnans at pec.edu
Thu Dec 27 22:30:33 PST 2012


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 <gopikrishnans at pec.edu>wrote:

> Thanks. Your link was so helpful.
>
>
> On Fri, Dec 21, 2012 at 10:53 PM, Eric Bénard <eric at eukrea.com> wrote:
>
>> Hi,
>>
>> Le Fri, 21 Dec 2012 21:41:38 +0530,
>> GOPIKRISHNAN S <gopikrishnans at 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
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20121228/172a6dfa/attachment.html>


More information about the meta-freescale mailing list