[OpenWrt-Devel] How can I include strace into the firmware?

Jeonghum Joh oosaprogrammer at gmail.com
Tue Mar 24 07:35:38 EDT 2020


Hello,

I've successfully added strace!
make menuconfig was what I was supposed to do!

Thank you!
Jeonghum




2020년 3월 24일 (화) 오후 8:08, Jeonghum Joh <oosaprogrammer at gmail.com>님이 작성:

> Hello,
>
> Many reply messages! So quickly! Thank you all!
>
> I tried this way,
>
> root at LEDE:~# opkg install strace
> Unknown package 'strace'.
> Collected errors:
>  * opkg_install_cmd: Cannot install package strace.
>
>
> root at LEDE:~# uname -a
> Linux LEDE 4.4.124 #0 SMP PREEMPT Fri Mar 13 06:40:09 UTC 2020 aarch64
> GNU/Linux
> root at LEDE:~# Linux LEDE 4.4.124 #0 SMP PREEMPT Fri Mar 13 06:40:09 UTC
> 2020 aarc
>
>
> I am using mediatek sdk and it is open -
> https://downloads.openwrt.org/releases/19.07.2/targets/mediatek/mt7622/
>
> I guess I have to copy strace source code from some repo. There is one I
> found.
>
> https://openwrt.org/packages/pkgdata_owrt18_6/strace
> But I am not sure that would work for my Linux LEDE 4.4.124.
>
> Do you have some suggestion for me?
>
> Thank you very much!
> Jeonghum
>
>
>
>
>
>
> 2020년 3월 24일 (화) 오후 7:58, Enrico Mioso <mrkiko.rs at gmail.com>님이 작성:
>
>> you may install strace with opkg from within the running device, assuming
>> it has connectivity to the outside:
>> opkg install strace
>>
>> or, you may select strace itself when building the firmware.
>> or
>>
>>
>> On Tue, 24 Mar 2020, Jeonghum Joh wrote:
>>
>> > Date: Tue, 24 Mar 2020 11:39:05
>> > From: Jeonghum Joh <oosaprogrammer at gmail.com>
>> > To: openwrt-devel at lists.openwrt.org
>> > Subject: [OpenWrt-Devel] How can I include strace into the firmware?
>> >
>> > Hello,
>> > I'd like to use "strace" in openwrt firmware.
>> > As you might know strace uses automake, autoconf and autotools.
>> > It uses configure.ac and Makefile.am.
>> >
>> > If it's just suing simple Makefile, the directory package/ would be good
>> > place to place it, but strace uses automake - Makefile.am and
>> configure.ac,
>> > ...
>> >
>> > How am I supposed to include strace into openwrt source code?
>> >
>> > Thank you in advance!
>> > Jeonghum
>> >
>> >
>>
>> Enrico Mioso
>> Personal Phone Number: +39 3807096934
>> Tox ID is:
>>
>> 7C593F402A3C8632D87AB4B948D492294C39A6A614464ECF843CA3429FB023284180472C7475
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20200324/6eba7046/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list