<?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[[ Cross-Compile ] Mipsel-openwrt-linux-gcc : Command Not Found]]></title><description><![CDATA[<p dir="auto">Followed instructions Cross-Compiling for the Omega. Unfortunately the "c-cross-compile-example" will not build as the mipsel-openwrt-linux-gcc : Command not Found</p>
<p dir="auto">Here is the error  :</p>
<p dir="auto">Compiling C program<br />
/home/volkan/source//staging_dir/toolchain-mipsel_24kc_gcc-5.4.0_musl-1.1.16/bin/mipsel-openwrt-linux-gcc -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I /home/volkan/source//staging_dir/toolchain-mipsel_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I /home/volkan/source//staging_dir/toolchain-mipsel_24kc_gcc-5.4.0_musl-1.1.16/include -I /home/volkan/source//staging_dir/target-mipsel_24kc_musl-1.1.16/usr/include -I /home/volkan/source//staging_dir/target-mipsel_24kc_musl-1.1.16/include gpioRead.c -o gpioRead -L/home/volkan/source//staging_dir/toolchain-mipsel_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/home/volkan/source//staging_dir/toolchain-mipsel_24kc_gcc-5.4.0_musl-1.1.16/lib -L/home/volkan/source//staging_dir/target-mipsel_24kc_musl-1.1.16/usr/lib -L/home/volkan/source//staging_dir/target-mipsel_24kc_musl-1.1.16/lib -lugpio<br />
make: /home/volkan/source//staging_dir/toolchain-mipsel_24kc_gcc-5.4.0_musl-1.1.16/bin/mipsel-openwrt-linux-gcc: Command not found<br />
makefile:9: recipe for target 'gpioRead' failed<br />
make: *** [gpioRead] Error 127</p>
<p dir="auto">Am i miss something ?<br />
Best Regards.</p>
]]></description><link>http://community.onion.io/topic/3889/cross-compile-mipsel-openwrt-linux-gcc-command-not-found</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Apr 2026 16:38:56 GMT</lastBuildDate><atom:link href="http://community.onion.io/topic/3889.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 10 Dec 2019 14:07:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [ Cross-Compile ] Mipsel-openwrt-linux-gcc : Command Not Found on Tue, 10 Dec 2019 14:07:16 GMT]]></title><description><![CDATA[<p dir="auto">Followed instructions Cross-Compiling for the Omega. Unfortunately the "c-cross-compile-example" will not build as the mipsel-openwrt-linux-gcc : Command not Found</p>
<p dir="auto">Here is the error  :</p>
<p dir="auto">Compiling C program<br />
/home/volkan/source//staging_dir/toolchain-mipsel_24kc_gcc-5.4.0_musl-1.1.16/bin/mipsel-openwrt-linux-gcc -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I /home/volkan/source//staging_dir/toolchain-mipsel_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I /home/volkan/source//staging_dir/toolchain-mipsel_24kc_gcc-5.4.0_musl-1.1.16/include -I /home/volkan/source//staging_dir/target-mipsel_24kc_musl-1.1.16/usr/include -I /home/volkan/source//staging_dir/target-mipsel_24kc_musl-1.1.16/include gpioRead.c -o gpioRead -L/home/volkan/source//staging_dir/toolchain-mipsel_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/home/volkan/source//staging_dir/toolchain-mipsel_24kc_gcc-5.4.0_musl-1.1.16/lib -L/home/volkan/source//staging_dir/target-mipsel_24kc_musl-1.1.16/usr/lib -L/home/volkan/source//staging_dir/target-mipsel_24kc_musl-1.1.16/lib -lugpio<br />
make: /home/volkan/source//staging_dir/toolchain-mipsel_24kc_gcc-5.4.0_musl-1.1.16/bin/mipsel-openwrt-linux-gcc: Command not found<br />
makefile:9: recipe for target 'gpioRead' failed<br />
make: *** [gpioRead] Error 127</p>
<p dir="auto">Am i miss something ?<br />
Best Regards.</p>
]]></description><link>http://community.onion.io/post/20748</link><guid isPermaLink="true">http://community.onion.io/post/20748</guid><dc:creator><![CDATA[volkan ünal]]></dc:creator><pubDate>Tue, 10 Dec 2019 14:07:16 GMT</pubDate></item><item><title><![CDATA[Reply to [ Cross-Compile ] Mipsel-openwrt-linux-gcc : Command Not Found on Tue, 10 Dec 2019 14:59:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/5730">@volkan-ünal</a>  Look at my response here:</p>
<p dir="auto"><a href="https://community.onion.io/topic/3737/totally-newbie-i-can-t-still-cross-compile-gpio-example/5" rel="nofollow">https://community.onion.io/topic/3737/totally-newbie-i-can-t-still-cross-compile-gpio-example/5</a></p>
]]></description><link>http://community.onion.io/post/20750</link><guid isPermaLink="true">http://community.onion.io/post/20750</guid><dc:creator><![CDATA[crispyoz]]></dc:creator><pubDate>Tue, 10 Dec 2019 14:59:21 GMT</pubDate></item><item><title><![CDATA[Reply to [ Cross-Compile ] Mipsel-openwrt-linux-gcc : Command Not Found on Tue, 10 Dec 2019 15:08:54 GMT]]></title><description><![CDATA[<p dir="auto">Here is my part of this</p>
<h1>define the toolchain and target names</h1>
<p dir="auto">TOOLCHAIN_NAME="toolchain-mipsel_24kc_gcc-5.4.0_musl-1.1.16"<br />
TOOLCHAIN_NAME_FOR_GCC="toolchain-mipsel_24kc_gcc-7.3.0_musl"<br />
TARGET_NAME="target-mipsel_24kc_musl"</p>
<p dir="auto">i added myself TOOLCHAIN_NAME_FOR_GCC because of could not find the corresponding directory.</p>
<p dir="auto">But now it gives me error</p>
<p dir="auto">gpioRead.c:7:10: fatal error: ugpio/ugpio.h: No such file or directory<br />
#include &lt;ugpio/ugpio.h&gt;<br />
^~~~~~~~~~~~~~~<br />
compilation terminated.<br />
makefile:9: recipe for target 'gpioRead' failed</p>
]]></description><link>http://community.onion.io/post/20751</link><guid isPermaLink="true">http://community.onion.io/post/20751</guid><dc:creator><![CDATA[volkan ünal]]></dc:creator><pubDate>Tue, 10 Dec 2019 15:08:54 GMT</pubDate></item><item><title><![CDATA[Reply to [ Cross-Compile ] Mipsel-openwrt-linux-gcc : Command Not Found on Tue, 10 Dec 2019 15:18:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/5730">@volkan-ünal</a> if you have the full build system installed you need to install the ugpio library like so:</p>
<p dir="auto">scripts/feeds install libugpio</p>
]]></description><link>http://community.onion.io/post/20752</link><guid isPermaLink="true">http://community.onion.io/post/20752</guid><dc:creator><![CDATA[crispyoz]]></dc:creator><pubDate>Tue, 10 Dec 2019 15:18:35 GMT</pubDate></item><item><title><![CDATA[Reply to [ Cross-Compile ] Mipsel-openwrt-linux-gcc : Command Not Found on Tue, 10 Dec 2019 15:23:32 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for ur quick reply,</p>
<p dir="auto">i tried it before. Here is the output</p>
<p dir="auto">./scripts/feeds install libugpio<br />
WARNING: Makefile 'package/utils/busybox/Makefile' has a dependency on 'libpam', which does not exist<br />
WARNING: Makefile 'package/utils/busybox/Makefile' has a build dependency on 'libpam', which does not exist<br />
WARNING: Makefile 'package/network/utils/curl/Makefile' has a dependency on 'libgnutls', which does not exist<br />
WARNING: Makefile 'package/network/utils/curl/Makefile' has a dependency on 'libopenldap', which does not exist<br />
WARNING: Makefile 'package/network/utils/curl/Makefile' has a dependency on 'libidn2', which does not exist<br />
WARNING: Makefile 'package/network/utils/curl/Makefile' has a dependency on 'libssh2', which does not exist<br />
WARNING: Makefile 'package/boot/kexec-tools/Makefile' has a dependency on 'liblzma', which does not exist<br />
WARNING: Makefile 'package/network/services/lldpd/Makefile' has a dependency on 'libnetsnmp', which does not exist<br />
Ignoring feed 'packages' - index missing<br />
Ignoring feed 'luci' - index missing<br />
Ignoring feed 'routing' - index missing<br />
Ignoring feed 'telephony' - index missing<br />
Ignoring feed 'onion' - index missing</p>
]]></description><link>http://community.onion.io/post/20753</link><guid isPermaLink="true">http://community.onion.io/post/20753</guid><dc:creator><![CDATA[volkan ünal]]></dc:creator><pubDate>Tue, 10 Dec 2019 15:23:32 GMT</pubDate></item><item><title><![CDATA[Reply to [ Cross-Compile ] Mipsel-openwrt-linux-gcc : Command Not Found on Tue, 10 Dec 2019 15:30:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/5730">@volkan-ünal</a></p>
<p dir="auto">./scripts/feeds clean<br />
./scripts/feeds update -a<br />
./scripts/feeds install -a</p>
<p dir="auto">sh scripts/onion-feed-setup.sh</p>
]]></description><link>http://community.onion.io/post/20754</link><guid isPermaLink="true">http://community.onion.io/post/20754</guid><dc:creator><![CDATA[crispyoz]]></dc:creator><pubDate>Tue, 10 Dec 2019 15:30:26 GMT</pubDate></item><item><title><![CDATA[Reply to [ Cross-Compile ] Mipsel-openwrt-linux-gcc : Command Not Found on Tue, 10 Dec 2019 16:04:32 GMT]]></title><description><![CDATA[<p dir="auto">i did and after</p>
<p dir="auto">scripts/feeds install libugpio</p>
<p dir="auto">volkan@ubuntu:~/source$ ./scripts/feeds install libugpio<br />
Collecting package info: done<br />
WARNING: Makefile 'package/feeds/onion/transmission-console-app/Makefile' has a dependency on 'Onion-Console', which does not exist<br />
WARNING: Makefile 'package/feeds/onion/transmission-console-app/Makefile' has a dependency on 'transmission-daemon', which does not exist<br />
WARNING: Makefile 'package/feeds/onion/zeromq/Makefile' has a build dependency on 'libuuid', which does not exist<br />
volkan@ubuntu:~/source$ cd -<br />
/home/volkan<br />
volkan@ubuntu:~$ cd oniongit/<br />
volkan@ubuntu:~/oniongit$ cd c-cross-compile-example/<br />
volkan@ubuntu:~/oniongit/c-cross-compile-example$ sh <a href="http://xCompile.sh" rel="nofollow">xCompile.sh</a> -buildroot ~/source/ -lib ugpio<br />
Compiling C program<br />
/home/volkan/source//staging_dir/toolchain-mipsel_24kc_gcc-7.3.0_musl/bin//mipsel-openwrt-linux-gcc -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I /home/volkan/source//staging_dir/toolchain-mipsel_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I /home/volkan/source//staging_dir/toolchain-mipsel_24kc_gcc-5.4.0_musl-1.1.16/include -I /home/volkan/source//staging_dir/target-mipsel_24kc_musl/usr/include -I /home/volkan/source//staging_dir/target-mipsel_24kc_musl/include gpioRead.c -o gpioRead -L/home/volkan/source//staging_dir/toolchain-mipsel_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/home/volkan/source//staging_dir/toolchain-mipsel_24kc_gcc-5.4.0_musl-1.1.16/lib -L/home/volkan/source//staging_dir/target-mipsel_24kc_musl/usr/lib -L/home/volkan/source//staging_dir/target-mipsel_24kc_musl/lib -lugpio<br />
gpioRead.c:7:10: fatal error: ugpio/ugpio.h: No such file or directory<br />
#include &lt;ugpio/ugpio.h&gt;<br />
^~~~~~~~~~~~~~~<br />
compilation terminated.<br />
makefile:9: recipe for target 'gpioRead' failed<br />
make: *** [gpioRead] Error 1</p>
<p dir="auto">i think, .sh file is wrong<br />
volkan@ubuntu:~/source$ ./scripts/feeds install libugpio<br />
Collecting package info: done<br />
WARNING: Makefile 'package/feeds/onion/transmission-console-app/Makefile' has a dependency on 'Onion-Console', which does not exist<br />
WARNING: Makefile 'package/feeds/onion/transmission-console-app/Makefile' has a dependency on 'transmission-daemon', which does not exist<br />
WARNING: Makefile 'package/feeds/onion/zeromq/Makefile' has a build dependency on 'libuuid', which does not exist<br />
volkan@ubuntu:~/source$ cd -<br />
/home/volkan<br />
volkan@ubuntu:~$ cd oniongit/<br />
volkan@ubuntu:~/oniongit$ cd c-cross-compile-example/<br />
volkan@ubuntu:~/oniongit/c-cross-compile-example$ sh <a href="http://xCompile.sh" rel="nofollow">xCompile.sh</a> -buildroot ~/source/ -lib ugpio<br />
Compiling C program<br />
/home/volkan/source//staging_dir/toolchain-mipsel_24kc_gcc-7.3.0_musl/bin//mipsel-openwrt-linux-gcc -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I /home/volkan/source//staging_dir/toolchain-mipsel_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I /home/volkan/source//staging_dir/toolchain-mipsel_24kc_gcc-5.4.0_musl-1.1.16/include -I /home/volkan/source//staging_dir/target-mipsel_24kc_musl/usr/include -I /home/volkan/source//staging_dir/target-mipsel_24kc_musl/include gpioRead.c -o gpioRead -L/home/volkan/source//staging_dir/toolchain-mipsel_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/home/volkan/source//staging_dir/toolchain-mipsel_24kc_gcc-5.4.0_musl-1.1.16/lib -L/home/volkan/source//staging_dir/target-mipsel_24kc_musl/usr/lib -L/home/volkan/source//staging_dir/target-mipsel_24kc_musl/lib -lugpio<br />
gpioRead.c:7:10: fatal error: ugpio/ugpio.h: No such file or directory<br />
#include &lt;ugpio/ugpio.h&gt;<br />
^~~~~~~~~~~~~~~<br />
compilation terminated.<br />
makefile:9: recipe for target 'gpioRead' failed<br />
make: *** [gpioRead] Error 1</p>
<p dir="auto">I really don't understand why the company doesn't update its documentation.</p>
]]></description><link>http://community.onion.io/post/20755</link><guid isPermaLink="true">http://community.onion.io/post/20755</guid><dc:creator><![CDATA[volkan ünal]]></dc:creator><pubDate>Tue, 10 Dec 2019 16:04:32 GMT</pubDate></item><item><title><![CDATA[Reply to [ Cross-Compile ] Mipsel-openwrt-linux-gcc : Command Not Found on Tue, 10 Dec 2019 16:35:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/5730">@volkan-ünal</a></p>
<p dir="auto">It looks like your xCompile is not quite correct, check you have this:</p>
<h1>define the toolchain and target names</h1>
<p dir="auto">#TOOLCHAIN_NAME="toolchain-mipsel_24kc_gcc-5.4.0_musl-1.1.16"<br />
TOOLCHAIN_NAME="toolchain-mipsel_24kc_gcc-7.3.0_musl"<br />
#TARGET_NAME="target-mipsel_24kc_musl-1.1.16"<br />
TARGET_NAME="target-mipsel_24kc_musl"</p>
]]></description><link>http://community.onion.io/post/20756</link><guid isPermaLink="true">http://community.onion.io/post/20756</guid><dc:creator><![CDATA[crispyoz]]></dc:creator><pubDate>Tue, 10 Dec 2019 16:35:09 GMT</pubDate></item><item><title><![CDATA[Reply to [ Cross-Compile ] Mipsel-openwrt-linux-gcc : Command Not Found on Tue, 10 Dec 2019 18:10:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/5730">@volkan-ünal</a> your xCompile has been modified here:</p>
<h1>define the compilers and such</h1>
<p dir="auto">TOOLCHAIN_CC="$TOOLCHAIN_BIN/mipsel-openwrt-linux-gcc"</p>
<p dir="auto">yours has:</p>
<p dir="auto">TOOLCHAIN_CC="$BUILDROOT_PATH/mipsel-openwrt-linux-gcc"</p>
]]></description><link>http://community.onion.io/post/20758</link><guid isPermaLink="true">http://community.onion.io/post/20758</guid><dc:creator><![CDATA[crispyoz]]></dc:creator><pubDate>Tue, 10 Dec 2019 18:10:21 GMT</pubDate></item><item><title><![CDATA[Reply to [ Cross-Compile ] Mipsel-openwrt-linux-gcc : Command Not Found on Wed, 11 Dec 2019 05:20:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/6184">@crispyoz</a> Firstly, thanks for your support. I'm looking for the relevant library on my computer, but it doesn't exist.</p>
]]></description><link>http://community.onion.io/post/20760</link><guid isPermaLink="true">http://community.onion.io/post/20760</guid><dc:creator><![CDATA[volkan ünal]]></dc:creator><pubDate>Wed, 11 Dec 2019 05:20:24 GMT</pubDate></item><item><title><![CDATA[Reply to [ Cross-Compile ] Mipsel-openwrt-linux-gcc : Command Not Found on Wed, 11 Dec 2019 07:17:21 GMT]]></title><description><![CDATA[<p dir="auto">Okey, it works.</p>
<p dir="auto">check these links if you have problems.<br />
<a href="https://community.onion.io/topic/2101/from-cross-compiling-for-the-omega-i-cannot-successfully-build-the-gpioread-example/10" rel="nofollow">https://community.onion.io/topic/2101/from-cross-compiling-for-the-omega-i-cannot-successfully-build-the-gpioread-example/10</a></p>
<p dir="auto"><a href="https://community.onion.io/topic/2101/from-cross-compiling-for-the-omega-i-cannot-successfully-build-the-gpioread-example/25" rel="nofollow">https://community.onion.io/topic/2101/from-cross-compiling-for-the-omega-i-cannot-successfully-build-the-gpioread-example/25</a></p>
]]></description><link>http://community.onion.io/post/20761</link><guid isPermaLink="true">http://community.onion.io/post/20761</guid><dc:creator><![CDATA[volkan ünal]]></dc:creator><pubDate>Wed, 11 Dec 2019 07:17:21 GMT</pubDate></item><item><title><![CDATA[Reply to [ Cross-Compile ] Mipsel-openwrt-linux-gcc : Command Not Found on Wed, 11 Dec 2019 18:50:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/5730">@volkan-ünal</a>, If you post same error, you are newbie in cross-compilation. It's thorny way but you choose right direction for it. You can take my template to start create your own applications, then translate and publish my <a href="https://bitbucket.org/hlorka/myapptemplate/src/master/README.md" rel="nofollow">README.md</a> file from Russian into English for a someone else, because my English is poor. Follow to the <a href="https://community.onion.io/topic/3879/manual-how-to-make-native-c-c-application-step-by-step" rel="nofollow">link about</a>.</p>
]]></description><link>http://community.onion.io/post/20764</link><guid isPermaLink="true">http://community.onion.io/post/20764</guid><dc:creator><![CDATA[Modest Polykarpovich]]></dc:creator><pubDate>Wed, 11 Dec 2019 18:50:04 GMT</pubDate></item></channel></rss>