[uClibc]Newbie problems. gethostbyname doesnt work on busybox/ucLibc
Erik Andersen
andersen at codepoet.org
Sun Oct 21 16:24:28 UTC 2001
On Sun Oct 21, 2001 at 02:07:37PM +0200, root wrote:
>
> I have setup a bare root filesystem using the image out of the busybox
> buildroot script.
>
> the following code works on my suse-box (static compiled to ucLibC)
>
> ...
> struct hostent *hostinfo;
>
> hostinfo = gethostbyname (hostname);
> ...
>
> but fails to run on my busybox i386 embedded device. (illegal instruction)
>
> I also get the error "illegal instruction" if I use ping, ifconfig, route
> the I think this is maybe a installation issue.
>
> Whats wrong with my box ?
Perhaps you have disabled floating point support in your kernel?
It is really hard to know for certain. Your toolchain could also
be hosed,
-Erik
--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
More information about the uClibc
mailing list