<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comentarios en: Tutorial de OpenEmbedded</title>
	<atom:link href="http://biestado.kraptor.com/2006/03/15/tutorial-de-openembedded-2/feed" rel="self" type="application/rss+xml" />
	<link>http://biestado.kraptor.com/2006/03/15/tutorial-de-openembedded-2</link>
	<description>Al fin y al cabo todo es cuestión de unos y ceros...</description>
	<lastBuildDate>Tue, 19 Jul 2011 22:39:14 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Por: Gaby</title>
		<link>http://biestado.kraptor.com/2006/03/15/tutorial-de-openembedded-2/comment-page-1#comment-1782</link>
		<dc:creator>Gaby</dc:creator>
		<pubDate>Mon, 10 Mar 2008 17:46:38 +0000</pubDate>
		<guid isPermaLink="false">http://biestado.kraptor.com/?p=35#comment-1782</guid>
		<description>Gracias por tu ayuda, ya quedo solucionado</description>
		<content:encoded><![CDATA[<p>Gracias por tu ayuda, ya quedo solucionado</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: Kraptor</title>
		<link>http://biestado.kraptor.com/2006/03/15/tutorial-de-openembedded-2/comment-page-1#comment-1779</link>
		<dc:creator>Kraptor</dc:creator>
		<pubDate>Tue, 04 Mar 2008 09:02:18 +0000</pubDate>
		<guid isPermaLink="false">http://biestado.kraptor.com/?p=35#comment-1779</guid>
		<description>Hola.

Te falta establecer el entorno de compilación antes de llamar a bitbake.

Aquí tienes un ejemplo de cómo lo hacen para compilar Angstrom usando OpenEmbedded: http://www.angstrom-distribution.org/building-angstrom

Lo importante es la parte de &quot;make a file to setup the environment variables&quot; que tienes que escribir en un fichero (modificando lo necesario, claro) y, cada vez que vayas a compilar algo escribir en el shell:

$ source nombre_del_fichero

Un saludo.</description>
		<content:encoded><![CDATA[<p>Hola.</p>
<p>Te falta establecer el entorno de compilación antes de llamar a bitbake.</p>
<p>Aquí tienes un ejemplo de cómo lo hacen para compilar Angstrom usando OpenEmbedded: <a href="http://www.angstrom-distribution.org/building-angstrom" rel="nofollow">http://www.angstrom-distribution.org/building-angstrom</a></p>
<p>Lo importante es la parte de &#8220;make a file to setup the environment variables&#8221; que tienes que escribir en un fichero (modificando lo necesario, claro) y, cada vez que vayas a compilar algo escribir en el shell:</p>
<p>$ source nombre_del_fichero</p>
<p>Un saludo.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: Gaby</title>
		<link>http://biestado.kraptor.com/2006/03/15/tutorial-de-openembedded-2/comment-page-1#comment-1778</link>
		<dc:creator>Gaby</dc:creator>
		<pubDate>Tue, 04 Mar 2008 03:04:35 +0000</pubDate>
		<guid isPermaLink="false">http://biestado.kraptor.com/?p=35#comment-1778</guid>
		<description>El log del ejemplo de myhelloworld es el siguiente:
/home/gabriela/familiar-build/build-h3900-opie/tmp/work/arm-linux/myhelloworld-0.1-r0/myhelloworld.c:1:19: stdio.h: No such file or directory
/home/gabriela/familiar-build/build-h3900-opie/tmp/work/arm-linux/myhelloworld-0.1-r0/myhelloworld.c: In function `main&#039;:
/home/gabriela/familiar-build/build-h3900-opie/tmp/work/arm-linux/myhelloworld-0.1-r0/myhelloworld.c:4: error: `true&#039; undeclared (first use in this function)
/home/gabriela/familiar-build/build-h3900-opie/tmp/work/arm-linux/myhelloworld-0.1-r0/myhelloworld.c:4: error: (Each undeclared identifier is reported only once
/home/gabriela/familiar-build/build-h3900-opie/tmp/work/arm-linux/myhelloworld-0.1-r0/myhelloworld.c:4: error: for each function it appears in.)</description>
		<content:encoded><![CDATA[<p>El log del ejemplo de myhelloworld es el siguiente:<br />
/home/gabriela/familiar-build/build-h3900-opie/tmp/work/arm-linux/myhelloworld-0.1-r0/myhelloworld.c:1:19: stdio.h: No such file or directory<br />
/home/gabriela/familiar-build/build-h3900-opie/tmp/work/arm-linux/myhelloworld-0.1-r0/myhelloworld.c: In function `main&#8217;:<br />
/home/gabriela/familiar-build/build-h3900-opie/tmp/work/arm-linux/myhelloworld-0.1-r0/myhelloworld.c:4: error: `true&#8217; undeclared (first use in this function)<br />
/home/gabriela/familiar-build/build-h3900-opie/tmp/work/arm-linux/myhelloworld-0.1-r0/myhelloworld.c:4: error: (Each undeclared identifier is reported only once<br />
/home/gabriela/familiar-build/build-h3900-opie/tmp/work/arm-linux/myhelloworld-0.1-r0/myhelloworld.c:4: error: for each function it appears in.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: Gaby</title>
		<link>http://biestado.kraptor.com/2006/03/15/tutorial-de-openembedded-2/comment-page-1#comment-1777</link>
		<dc:creator>Gaby</dc:creator>
		<pubDate>Tue, 04 Mar 2008 03:00:21 +0000</pubDate>
		<guid isPermaLink="false">http://biestado.kraptor.com/?p=35#comment-1777</guid>
		<description>Nuevamente yo, 

El problema del ejemplo de nano, presentaba problemas con el SHELL, puesto q&#039; hacia referencia SHELL=bin/csh y yo tenia SHELL=bin/sh. Depués de modificar lo anterior me marco bastantes errores en el programa nano, así que decidi hacer el ejemplo de myhelloworld.c el cual es el siguiente:
#include 

int main(int argc, char** argv)
{
        printf(&quot;Hello world!\n&quot;);
        return 0;
} 
(liga http://www.openembedded.org/user-manual&amp;dpage=recipes_examples#recipes_helloworld_example)
 
después cree el archivo myhelloworld.bb con lo siguiente:
DESCRIPTION = &quot;Hello world program&quot;
PR = &quot;r0&quot;

SRC_URI = &quot;file://myhelloworld.c \
           file://README.txt&quot;

do_compile() {
        ${CC} ${CFLAGS} ${LDFLAGS} {WORKDIR}/myhelloworld.c -o myhelloworld
}

do_install() {
        install -m 0755 -d ${D}${bindir} ${D}${docdir}/myhelloworld
        install -m 0644 ${S}/myhelloworld ${D}${bindir}
        install -m 0644 ${WORKDIR}/README.txt ${D}${docdir}/myhelloworld
}

y por ultimo ejecuto lo siguiente:
bitbake -b familiar-build/org.handhelds.familiar/packages/myhelloworld/myhelloworld_0.1.bb

Obtengo la siguiente salida 
NOTE: package myhelloworld-0.1: started
NOTE: package myhelloworld-0.1-r0: task do_fetch: started
NOTE: package myhelloworld-0.1-r0: task do_fetch: completed
NOTE: package myhelloworld-0.1-r0: task do_compile: started
ERROR: function do_compile failed
ERROR: log data follows (/home/gabriela/familiar-build/build-h3900-opie/tmp/work/arm-linux/myhelloworld-0.1-r0/temp/log.do_compile.6135)
&#124; arm-linux-gcc: No such file or directory
NOTE: Task failed: /home/gabriela/familiar-build/build-h3900-opie/tmp/work/arm-linux/myhelloworld-0.1-r0/temp/log.do_compile.6135
NOTE: package myhelloworld-0.1-r0: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package myhelloworld-0.1: failed
ERROR: Build of &#039;myhelloworld&#039; failed
Build statistics:
  Attempted builds: 1
  Failed builds: 1

Entiendo que no encuentra &quot;arm-linux-gcc&quot;, asi q&#039; localice el compilador y le hice una liga a el y volvi a ejecutarlo y ahora encuentro el siguiente error:

NOTE: package myhelloworld-0.1: started
NOTE: package myhelloworld-0.1-r0: task do_fetch: started
NOTE: package myhelloworld-0.1-r0: task do_fetch: completed
NOTE: package myhelloworld-0.1-r0: task do_compile: started
ERROR: function do_compile failed
ERROR: log data follows (/home/gabriela/familiar-build/build-h3900-opie/tmp/work/arm-linux/myhelloworld-0.1-r0/temp/log.do_compile.6196)
&#124; /home/gabriela/familiar-build/build-h3900-opie/tmp/work/arm-linux/myhelloworld-0.1-r0/myhelloworld.c:1:19: stdio.h: No such file or directory
&#124; /home/gabriela/familiar-build/build-h3900-opie/tmp/work/arm-linux/myhelloworld-0.1-r0/myhelloworld.c: In function `main&#039;:
&#124; /home/gabriela/familiar-build/build-h3900-opie/tmp/work/arm-linux/myhelloworld-0.1-r0/myhelloworld.c:4: error: `true&#039; undeclared (first use in this function)
&#124; /home/gabriela/familiar-build/build-h3900-opie/tmp/work/arm-linux/myhelloworld-0.1-r0/myhelloworld.c:4: error: (Each undeclared identifier is reported only once
&#124; /home/gabriela/familiar-build/build-h3900-opie/tmp/work/arm-linux/myhelloworld-0.1-r0/myhelloworld.c:4: error: for each function it appears in.)
NOTE: Task failed: /home/gabriela/familiar-build/build-h3900-opie/tmp/work/arm-linux/myhelloworld-0.1-r0/temp/log.do_compile.6196
NOTE: package myhelloworld-0.1-r0: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package myhelloworld-0.1: failed
ERROR: Build of &#039;myhelloworld&#039; failed
Build statistics:
  Attempted builds: 1
  Failed builds: 1

Por lo que veo es que no encuentra el STDIO.h, ya intente ponerle una liga pero no funciona.

Tienes alguna idea de que estoy haciendo mal??</description>
		<content:encoded><![CDATA[<p>Nuevamente yo, </p>
<p>El problema del ejemplo de nano, presentaba problemas con el SHELL, puesto q&#8217; hacia referencia SHELL=bin/csh y yo tenia SHELL=bin/sh. Depués de modificar lo anterior me marco bastantes errores en el programa nano, así que decidi hacer el ejemplo de myhelloworld.c el cual es el siguiente:<br />
#include </p>
<p>int main(int argc, char** argv)<br />
{<br />
        printf(&#8220;Hello world!\n&#8221;);<br />
        return 0;<br />
}<br />
(liga <a href="http://www.openembedded.org/user-manual&#038;dpage=recipes_examples#recipes_helloworld_example" rel="nofollow">http://www.openembedded.org/user-manual&#038;dpage=recipes_examples#recipes_helloworld_example</a>)</p>
<p>después cree el archivo myhelloworld.bb con lo siguiente:<br />
DESCRIPTION = &#8220;Hello world program&#8221;<br />
PR = &#8220;r0&#8243;</p>
<p>SRC_URI = &#8220;file://myhelloworld.c \<br />
           file://README.txt&#8221;</p>
<p>do_compile() {<br />
        ${CC} ${CFLAGS} ${LDFLAGS} {WORKDIR}/myhelloworld.c -o myhelloworld<br />
}</p>
<p>do_install() {<br />
        install -m 0755 -d ${D}${bindir} ${D}${docdir}/myhelloworld<br />
        install -m 0644 ${S}/myhelloworld ${D}${bindir}<br />
        install -m 0644 ${WORKDIR}/README.txt ${D}${docdir}/myhelloworld<br />
}</p>
<p>y por ultimo ejecuto lo siguiente:<br />
bitbake -b familiar-build/org.handhelds.familiar/packages/myhelloworld/myhelloworld_0.1.bb</p>
<p>Obtengo la siguiente salida<br />
NOTE: package myhelloworld-0.1: started<br />
NOTE: package myhelloworld-0.1-r0: task do_fetch: started<br />
NOTE: package myhelloworld-0.1-r0: task do_fetch: completed<br />
NOTE: package myhelloworld-0.1-r0: task do_compile: started<br />
ERROR: function do_compile failed<br />
ERROR: log data follows (/home/gabriela/familiar-build/build-h3900-opie/tmp/work/arm-linux/myhelloworld-0.1-r0/temp/log.do_compile.6135)<br />
| arm-linux-gcc: No such file or directory<br />
NOTE: Task failed: /home/gabriela/familiar-build/build-h3900-opie/tmp/work/arm-linux/myhelloworld-0.1-r0/temp/log.do_compile.6135<br />
NOTE: package myhelloworld-0.1-r0: task do_compile: failed<br />
ERROR: TaskFailed event exception, aborting<br />
NOTE: package myhelloworld-0.1: failed<br />
ERROR: Build of &#8216;myhelloworld&#8217; failed<br />
Build statistics:<br />
  Attempted builds: 1<br />
  Failed builds: 1</p>
<p>Entiendo que no encuentra &#8220;arm-linux-gcc&#8221;, asi q&#8217; localice el compilador y le hice una liga a el y volvi a ejecutarlo y ahora encuentro el siguiente error:</p>
<p>NOTE: package myhelloworld-0.1: started<br />
NOTE: package myhelloworld-0.1-r0: task do_fetch: started<br />
NOTE: package myhelloworld-0.1-r0: task do_fetch: completed<br />
NOTE: package myhelloworld-0.1-r0: task do_compile: started<br />
ERROR: function do_compile failed<br />
ERROR: log data follows (/home/gabriela/familiar-build/build-h3900-opie/tmp/work/arm-linux/myhelloworld-0.1-r0/temp/log.do_compile.6196)<br />
| /home/gabriela/familiar-build/build-h3900-opie/tmp/work/arm-linux/myhelloworld-0.1-r0/myhelloworld.c:1:19: stdio.h: No such file or directory<br />
| /home/gabriela/familiar-build/build-h3900-opie/tmp/work/arm-linux/myhelloworld-0.1-r0/myhelloworld.c: In function `main&#8217;:<br />
| /home/gabriela/familiar-build/build-h3900-opie/tmp/work/arm-linux/myhelloworld-0.1-r0/myhelloworld.c:4: error: `true&#8217; undeclared (first use in this function)<br />
| /home/gabriela/familiar-build/build-h3900-opie/tmp/work/arm-linux/myhelloworld-0.1-r0/myhelloworld.c:4: error: (Each undeclared identifier is reported only once<br />
| /home/gabriela/familiar-build/build-h3900-opie/tmp/work/arm-linux/myhelloworld-0.1-r0/myhelloworld.c:4: error: for each function it appears in.)<br />
NOTE: Task failed: /home/gabriela/familiar-build/build-h3900-opie/tmp/work/arm-linux/myhelloworld-0.1-r0/temp/log.do_compile.6196<br />
NOTE: package myhelloworld-0.1-r0: task do_compile: failed<br />
ERROR: TaskFailed event exception, aborting<br />
NOTE: package myhelloworld-0.1: failed<br />
ERROR: Build of &#8216;myhelloworld&#8217; failed<br />
Build statistics:<br />
  Attempted builds: 1<br />
  Failed builds: 1</p>
<p>Por lo que veo es que no encuentra el STDIO.h, ya intente ponerle una liga pero no funciona.</p>
<p>Tienes alguna idea de que estoy haciendo mal??</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: Kraptor</title>
		<link>http://biestado.kraptor.com/2006/03/15/tutorial-de-openembedded-2/comment-page-1#comment-1776</link>
		<dc:creator>Kraptor</dc:creator>
		<pubDate>Thu, 28 Feb 2008 09:15:51 +0000</pubDate>
		<guid isPermaLink="false">http://biestado.kraptor.com/?p=35#comment-1776</guid>
		<description>Necesito el final del log, para saber qué ha pasado con el configure. Generalmente son problemas de falta de dependencias (de librerías) o problemas con el toolchain. Si me pones el final del log (/home/gabriela/stuff/build/tmp/work/arm-linux/nano-1.3.5-r0/temp/log.do_configure.19689) lo miramos en detalle.</description>
		<content:encoded><![CDATA[<p>Necesito el final del log, para saber qué ha pasado con el configure. Generalmente son problemas de falta de dependencias (de librerías) o problemas con el toolchain. Si me pones el final del log (/home/gabriela/stuff/build/tmp/work/arm-linux/nano-1.3.5-r0/temp/log.do_configure.19689) lo miramos en detalle.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: Gaby</title>
		<link>http://biestado.kraptor.com/2006/03/15/tutorial-de-openembedded-2/comment-page-1#comment-1775</link>
		<dc:creator>Gaby</dc:creator>
		<pubDate>Wed, 27 Feb 2008 19:12:41 +0000</pubDate>
		<guid isPermaLink="false">http://biestado.kraptor.com/?p=35#comment-1775</guid>
		<description>Je, je, tienes razón. Bueno ahora ejecute nano y no me fue nada bien. Puse lo siguiente:
 
bitbake -n nano
NOTE: Using cache in &#039;/home/gabriela/stuff/build/tmp/cache&#039;
NOTE: Parsing finished. 2839 cached, 0 parsed, 77 skipped, 0 masked.
NOTE: build 200802271237: started
.... (me salto lo de aqui, para llegar al error)
....
NOTE: package nano-1.3.5-r0: task do_patch: started
NOTE: package nano-1.3.5-r0: task do_patch: completed
NOTE: package nano-1.3.5-r0: task do_configure: started
ERROR: function do_configure failed
ERROR: log data follows (/home/gabriela/stuff/build/tmp/work/arm-linux/nano-1.3.5-r0/temp/log.do_configure.19689)
&#124; automake (GNU automake) 1.9.3
&#124; Written by Tom Tromey .
&#124; 
&#124; Copyright 2004 Free Software Foundation, Inc.
&#124; This is free software; see the source for copying conditions.  There is NO
&#124; warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
&#124; AUTOV is 1.9
&#124; NOTE: Executing autoreconf --verbose --install --force --exclude=autopoint -I /home/gabriela/stuff/build/tmp/work/arm-linux/nano-1.3.5-r0/nano-1.3.5/m4/ -I /home/gabriela/stuff/build/tmp/staging/arm-linux/share/aclocal-1.9 -I /home/gabriela/stuff/build/tmp/staging/arm-linux/share/aclocal
&#124; autoreconf: Entering directory `.&#039;
&#124; autoreconf: running: aclocal -I /home/gabriela/stuff/build/tmp/work/arm-linux/nano-1.3.5-r0/nano-1.3.5/m4/ -I /home/gabriela/stuff/build/tmp/staging/arm-linux/share/aclocal-1.9 -I /home/gabriela/stuff/build/tmp/staging/
......

No se tengas una idea??</description>
		<content:encoded><![CDATA[<p>Je, je, tienes razón. Bueno ahora ejecute nano y no me fue nada bien. Puse lo siguiente:</p>
<p>bitbake -n nano<br />
NOTE: Using cache in &#8216;/home/gabriela/stuff/build/tmp/cache&#8217;<br />
NOTE: Parsing finished. 2839 cached, 0 parsed, 77 skipped, 0 masked.<br />
NOTE: build 200802271237: started<br />
&#8230;. (me salto lo de aqui, para llegar al error)<br />
&#8230;.<br />
NOTE: package nano-1.3.5-r0: task do_patch: started<br />
NOTE: package nano-1.3.5-r0: task do_patch: completed<br />
NOTE: package nano-1.3.5-r0: task do_configure: started<br />
ERROR: function do_configure failed<br />
ERROR: log data follows (/home/gabriela/stuff/build/tmp/work/arm-linux/nano-1.3.5-r0/temp/log.do_configure.19689)<br />
| automake (GNU automake) 1.9.3<br />
| Written by Tom Tromey .<br />
|<br />
| Copyright 2004 Free Software Foundation, Inc.<br />
| This is free software; see the source for copying conditions.  There is NO<br />
| warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.<br />
| AUTOV is 1.9<br />
| NOTE: Executing autoreconf &#8211;verbose &#8211;install &#8211;force &#8211;exclude=autopoint -I /home/gabriela/stuff/build/tmp/work/arm-linux/nano-1.3.5-r0/nano-1.3.5/m4/ -I /home/gabriela/stuff/build/tmp/staging/arm-linux/share/aclocal-1.9 -I /home/gabriela/stuff/build/tmp/staging/arm-linux/share/aclocal<br />
| autoreconf: Entering directory `.&#8217;<br />
| autoreconf: running: aclocal -I /home/gabriela/stuff/build/tmp/work/arm-linux/nano-1.3.5-r0/nano-1.3.5/m4/ -I /home/gabriela/stuff/build/tmp/staging/arm-linux/share/aclocal-1.9 -I /home/gabriela/stuff/build/tmp/staging/<br />
&#8230;&#8230;</p>
<p>No se tengas una idea??</p>
]]></content:encoded>
	</item>
</channel>
</rss>

