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

gethostbyname() : file not found



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