<div dir="ltr">Hello,<div><br></div><div>I've successfully added strace!</div><div>make menuconfig was what I was supposed to do!</div><div><br></div><div>Thank you!</div><div>Jeonghum</div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">2020년 3월 24일 (화) 오후 8:08, Jeonghum Joh <<a href="mailto:oosaprogrammer@gmail.com">oosaprogrammer@gmail.com</a>>님이 작성:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello,</div><div><br></div><div>Many reply messages! So quickly! Thank you all!</div><div><br></div><div>I tried this way,</div><div><br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div>root@LEDE:~# opkg install strace</div><div>Unknown package 'strace'.</div><div>Collected errors:</div><div> * opkg_install_cmd: Cannot install package strace.</div></blockquote><div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><br></div><div>root@LEDE:~# uname -a</div><div>Linux LEDE 4.4.124 #0 SMP PREEMPT Fri Mar 13 06:40:09 UTC 2020 aarch64 GNU/Linux</div><div>root@LEDE:~# Linux LEDE 4.4.124 #0 SMP PREEMPT Fri Mar 13 06:40:09 UTC 2020 aarc</div><div><br></div></blockquote></div><div><br></div><div>I am using mediatek sdk and it is open - <a href="https://downloads.openwrt.org/releases/19.07.2/targets/mediatek/mt7622/" target="_blank">https://downloads.openwrt.org/releases/19.07.2/targets/mediatek/mt7622/</a></div><div><br></div><div>I guess I have to copy strace source code from some repo. There is one I found.</div><div><br></div><div><a href="https://openwrt.org/packages/pkgdata_owrt18_6/strace" target="_blank">https://openwrt.org/packages/pkgdata_owrt18_6/strace</a> </div><div>But I am not sure that would work for my Linux LEDE 4.4.124.</div><div><br></div><div>Do you have some suggestion for me?</div><div><br></div><div>Thank you very much!</div><div>Jeonghum <br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">2020년 3월 24일 (화) 오후 7:58, Enrico Mioso <<a href="mailto:mrkiko.rs@gmail.com" target="_blank">mrkiko.rs@gmail.com</a>>님이 작성:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">you may install strace with opkg from within the running device, assuming it has connectivity to the outside:<br>
opkg install strace<br>
<br>
or, you may select strace itself when building the firmware.<br>
or<br>
<br>
<br>
On Tue, 24 Mar 2020, Jeonghum Joh wrote:<br>
<br>
> Date: Tue, 24 Mar 2020 11:39:05<br>
> From: Jeonghum Joh <<a href="mailto:oosaprogrammer@gmail.com" target="_blank">oosaprogrammer@gmail.com</a>><br>
> To: <a href="mailto:openwrt-devel@lists.openwrt.org" target="_blank">openwrt-devel@lists.openwrt.org</a><br>
> Subject: [OpenWrt-Devel] How can I include strace into the firmware?<br>
> <br>
> Hello,<br>
> I'd like to use "strace" in openwrt firmware.<br>
> As you might know strace uses automake, autoconf and autotools.<br>
> It uses <a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> and Makefile.am.<br>
> <br>
> If it's just suing simple Makefile, the directory package/ would be good<br>
> place to place it, but strace uses automake - Makefile.am and <a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a>,<br>
> ...<br>
> <br>
> How am I supposed to include strace into openwrt source code?<br>
> <br>
> Thank you in advance!<br>
> Jeonghum<br>
> <br>
><br>
<br>
Enrico Mioso<br>
Personal Phone Number: +39 3807096934<br>
Tox ID is:<br>
7C593F402A3C8632D87AB4B948D492294C39A6A614464ECF843CA3429FB023284180472C7475<br>
</blockquote></div></div>
</blockquote></div>