what feature enables getaddrinfo?

walter harms wharms at bfs.de
Mon Mar 12 17:48:28 UTC 2012



Am 12.03.2012 17:07, schrieb Eial Czerwacki:
> On 03/12/2012 06:02 PM, Bernhard Reutner-Fischer wrote:
> 
>> On 12 March 2012 15:19, Eial Czerwacki <eial at scalemp.com> wrote:
>>> On 03/12/2012 04:12 PM, Bernhard Reutner-Fischer wrote:
>>>
>>>> On 12 March 2012 15:03, Eial Czerwacki <eial at scalemp.com> wrote:
>>>>> hello,
>>>>>
>>>>> I'm trying to enable getaddrinfo but I can No such file or dir, what is
>>>>> the right CONFIG That enables it?
>>>>
>>>> What do you mean by the above?
>>>
>>> when I enable fancy output in ping, I see ips, when looking at ping's
>>> code I see it uses getaddrinfo, but when I try a statically linked bin,
>>> I get the mentioned above msg.
>>>
>>> maybe it is related to the following msg that I get upon linking:
>>> test.c:(.text+0x16c): warning: Using 'getaddrinfo' in statically linked
>>> applications requires at runtime the shared libraries from the glibc
>>> version used for linking
>>>
>>> question is, how can I make it work in uclibc based busybox?
>>
>> You need to compile busybox against uClibc, obviously ;)
>>
> 
> 
> it is compiled, but the bin I'm trying to run isn't it is statically
> compiled against glibc.
> 

If they did not change thinks lately you can not compile glibc static.

re,
 wh


More information about the busybox mailing list