[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gethostbyname() : file not found



You may be missing /etc/hosts or /etc/resolv.conf in your
devboard.
See
http://www.sas.com/service/library/onlinedoc/sasc/doc700/html/lr2/z2netget.htm
for details.

/Oscar

  > I have a problem with this socket function
> Compiled on my host program works perfectly
> On developer board I get this message:
> gethostbyname(): file not found
>
> I have read all thread about this problem and I have
> applied all this step: -chmod +x program
> -location of file is in the path (/mnt/flash)
> -library seems to be all loaded in /lib  :
> (libnss_dns.so.2 libnss_files.so.2 libresolv.so.2)
>
> This is my configuration : Developer Board LX Software
> R2_1_0, cris-dist-1.22 , kernel 2.4.14
>
> Thank you
>
>