[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Problems in Adding Commands to BusyBox
From:       Ulviyya Mammadzada <katsumi.rei () outlook ! com>
Date:       2016-08-20 9:45:40
Message-ID: AM3PR07MB3086D24AA39CCE8C91BD6EDF0170 () AM3PR07MB308 ! eurprd07 ! prod ! outlook ! com
[Download RAW message or body]

Hello,

I'm trying to add specific Linux commands to BusyBox 1.24.2 using Ubuntu 16.04. I've \
already used the guide \
https://git.busybox.net/busybox/tree/docs/new-applet-HOWTO.txt?h=1_24_stable and \
added a test command (mu), which works perfectly.

The problem arises when I try to add other commands to BusyBox, in this case, the \
"aureport" command. I've downloaded its source code, followed the instructions in the \
above-mentioned guide, however, during compilation, I keep getting errors telling me \
that a certain header file included within the source code of the command does not \
exist.

I keep adding these headers manually, only to continually receive errors saying that \
other included header files in headers that I just added do not exist. This process \
goes on and on, as I add more headers and they keep requiring even more to function \
themselves.

I understand that this is the way things work, nevertheless, I would like to know how \
I could add a command to BusyBox without this problem. How is it possible to obtain \
the source code of a command together with ALL the required headers? If it isn't, is \
there any way to add the source code without requiring these headers?

Overall, how would you add ordinary commands like "aureport" to BusyBox?

Any help would be greatly appreciated!

Thank you for your time and consideration!


[Attachment #3 (text/html)]

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} \
--></style> </head>
<body dir="ltr">
<div id="divtagdefaultwrapper" \
style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
 <p><span id="ms-rterangepaste-start"></span></p>
<p style="margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding: 0px; \
border: 0px; font-size: 15px; clear: both; color: rgb(36, 39, 41); font-family: \
Arial, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; line-height: 19.5px;"> \
<span style="font-family: Calibri, Arial, Helvetica, sans-serif;">Hello,</span></p> \
<p style="margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding: 0px; \
border: 0px; font-size: 15px; clear: both; color: rgb(36, 39, 41); font-family: \
Arial, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; line-height: 19.5px;"> \
<span style="font-family: Calibri, Arial, Helvetica, sans-serif;">I'm trying to add \
specific Linux commands to BusyBox 1.24.2 using Ubuntu 16.04. I've already used the \
guide&nbsp;</span><a \
href="https://git.busybox.net/busybox/tree/docs/new-applet-HOWTO.txt?h=1_24_stable" \
target="_blank" class="x_OWAAutoLink" id="LPlnk872608"><span style="font-family: \
Calibri, Arial, Helvetica, \
sans-serif;">https://git.busybox.net/busybox/tree/docs/new-applet-HOWTO.txt?h=1_24_stable</span></a><span \
style="font-family: Calibri, Arial, Helvetica, sans-serif;">&nbsp;and  added a test \
command (mu), which works perfectly.</span></p> <p style="margin-right: 0px; \
margin-bottom: 1em; margin-left: 0px; padding: 0px; border: 0px; font-size: 15px; \
clear: both; color: rgb(36, 39, 41); font-family: Arial, &quot;Helvetica Neue&quot;, \
Helvetica, sans-serif; line-height: 19.5px;"> <span style="font-family: Calibri, \
Arial, Helvetica, sans-serif;">The problem arises when I try to add other commands to \
BusyBox, in this case, the &quot;aureport&quot; command. I've downloaded its source \
code, followed the instructions in the above-mentioned guide,  however, during \
compilation, I keep getting errors telling me that a certain header file included \
within the source code of the command does not exist.</span></p> <p \
style="margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding: 0px; border: \
0px; font-size: 15px; clear: both; color: rgb(36, 39, 41); font-family: Arial, \
&quot;Helvetica Neue&quot;, Helvetica, sans-serif; line-height: 19.5px;"> <span \
style="font-family: Calibri, Arial, Helvetica, sans-serif;">I keep adding these \
headers manually, only to continually receive errors saying that other included \
header files in headers that I just added do not exist. This process goes on and on, \
as I add  more headers and they keep requiring even more to function \
themselves.</span></p> <p style="margin-right: 0px; margin-bottom: 1em; margin-left: \
0px; padding: 0px; border: 0px; font-size: 15px; clear: both; color: rgb(36, 39, 41); \
font-family: Arial, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; line-height: \
19.5px;"> <span style="font-family: Calibri, Arial, Helvetica, sans-serif;">I \
understand that this is the way things work, nevertheless, I would like to know how I \
could add a command to BusyBox without this problem. How is it possible to obtain the \
source code of a  command together with ALL the required headers? If it isn't, is \
there any way to add the source code without requiring these headers?</span></p> <p \
style="margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding: 0px; border: \
0px; font-size: 15px; clear: both; color: rgb(36, 39, 41); font-family: Arial, \
&quot;Helvetica Neue&quot;, Helvetica, sans-serif; line-height: 19.5px;"> <span \
style="font-family: Calibri, Arial, Helvetica, sans-serif;">Overall, how would you \
add ordinary commands like &quot;aureport&quot; to BusyBox?</span></p> <p \
style="margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding: 0px; border: \
0px; font-size: 15px; clear: both; color: rgb(36, 39, 41); font-family: Arial, \
&quot;Helvetica Neue&quot;, Helvetica, sans-serif; line-height: 19.5px;"> <span \
style="font-family: Calibri, Arial, Helvetica, sans-serif;">Any help would be greatly \
appreciated!</span></p> <p style="margin-right: 0px; margin-bottom: 1em; margin-left: \
0px; padding: 0px; border: 0px; font-size: 15px; clear: both; color: rgb(36, 39, 41); \
font-family: Arial, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; line-height: \
19.5px;"> <span style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, \
sans-serif; font-size: 12pt;">Thank you for your time and consideration!</span></p> \
<span id="ms-rterangepaste-end"></span><br> <p></p>
</div>
</body>
</html>



_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
--===============4373065699418827310==--

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic