<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[添加应用错误]]></title><description><![CDATA[<p dir="auto">$ repo init -u ssh://XXXXX@sdk.allwinnertech.com/git_repo/V85X_TINA/manifest.git -b master -m tina-v853.xml<br />
$ repo sync<br />
$ repo start product-ipc-v853-tina-stable-v1.0 --all<br />
下载代码编译烧入都OK。</p>
<p dir="auto">按照 <a href="https://v853.docs.aw-ol.com/soft/soft_start/" target="_blank" rel="noopener noreferrer nofollow ugc">https://v853.docs.aw-ol.com/soft/soft_start/</a>  描述的步骤增加helloworld。<br />
make menuconfig的时候 没有看到 helloworld 模块。<br />
参考对比allwin目录下的其他模块，我稍微修改了下 helloworld目录下的makefile。</p>
<p dir="auto">include $(TOPDIR)/rules.mk<br />
include $(INCLUDE_DIR)/package.mk  (这个是网页上的写法）<br />
=====&gt;<br />
include $(TOPDIR)/rules.mk<br />
include $(BUILD_DIR)/package.mk  (这个是参考 allwin目录下其他模块的写法）</p>
<p dir="auto">然后在make menuconfig的时候  可以看到 helloworld 模块。选上helloworld，保存。<br />
编译的时候提示错误:</p>
<pre><code>make[3]: Entering directory '/data/xuepy/tinalinux/tina-v853/package/myapp/helloworld'
Makefile:30: *** missing separator.  Stop.
make[3]: Leaving directory '/data/xuepy/tinalinux/tina-v853/package/myapp/helloworld'
make[2]: *** [package/Makefile:193: package/myapp/helloworld/compile] Error 2
make[2]: Leaving directory '/data/xuepy/tinalinux/tina-v853'
make[1]: *** [package/Makefile:189: /data/xuepy/tinalinux/tina-v853/out/v853-vision/staging_dir/target/stamp/.package_compile] Error 2
make[1]: Leaving directory '/data/xuepy/tinalinux/tina-v853'
make: *** [/data/xuepy/tinalinux/tina-v853/build/toplevel.mk:306：world] 错误 2
[2]+  已完成               $T/tools/build/buildserver --path $T 2&gt; /dev/null 1&gt;&amp;2

#### make failed to build some targets (49 seconds) ####
</code></pre>
]]></description><link>https://bbs.aw-ol.com/topic/3421/添加应用错误</link><generator>RSS for Node</generator><lastBuildDate>Sat, 16 May 2026 20:23:33 GMT</lastBuildDate><atom:link href="https://bbs.aw-ol.com/topic/3421.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 28 Apr 2023 03:04:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 添加应用错误 on Fri, 28 Apr 2023 06:24:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://bbs.aw-ol.com/uid/2998">@ms_guest</a></p>
<pre><code>    $(CC) $(LDFLAGS) main.o -o helloworld

</code></pre>
<p dir="auto">前面不是四个空格，是一个TAB</p>
]]></description><link>https://bbs.aw-ol.com/post/15425</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/15425</guid><dc:creator><![CDATA[whycan]]></dc:creator><pubDate>Fri, 28 Apr 2023 06:24:56 GMT</pubDate></item><item><title><![CDATA[Reply to 添加应用错误 on Fri, 28 Apr 2023 04:51:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://bbs.aw-ol.com/uid/2998">@ms_guest</a> makefile直接复制会有问题，可以自己手敲看看</p>
]]></description><link>https://bbs.aw-ol.com/post/15424</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/15424</guid><dc:creator><![CDATA[WhycanService]]></dc:creator><pubDate>Fri, 28 Apr 2023 04:51:45 GMT</pubDate></item></channel></rss>