linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* RE: in_ntoa built error
@ 2002-05-24 22:45 Dan Kegel
  2002-05-24 23:03 ` Khai Trinh
  0 siblings, 1 reply; 6+ messages in thread
From: Dan Kegel @ 2002-05-24 22:45 UTC (permalink / raw)
  To: 'Khai Trinh ',
	'linuxppc-embedded@lists.linuxppc.org '


Yes.  References to inet_ntoa must be replaced
with references to NIPQUAD. e.g.

printk("s_addr=%d.%d.%d.%d, data_saddr=%d.%d.%d.%d, data_sport=%d",
 NIPQUAD(ms->saddr), NIPQUAD(data_saddr), ntohs(data_sport));

%u is probably better than %d.
- Dan


-----Original Message-----
From: Khai Trinh
To: linuxppc-embedded@lists.linuxppc.org
Sent: 5/24/2002 2:57 PM
Subject: in_ntoa built error


I downloaded the linuxppc2.4 devel tree from bitmover
and tried to build the the ebony kernel for my ebony
board. I got the built error in that in_ntoa is
referenced in the fs/nfs/nfsroot.c file but no include
lib for it.

What is this call anyway? It sounds like the root file
system is broken.

I then went and disable the NFS stuff in the defconfig
file. The kernel is then built. When I loaded the
kernel to Ebony, it failed on mounting the root
filesystem as expected.

Does anybody have a fix for this problem yet?

Regards,

--Khai


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread
* in_ntoa built error
@ 2002-05-24 21:57 Khai Trinh
  0 siblings, 0 replies; 6+ messages in thread
From: Khai Trinh @ 2002-05-24 21:57 UTC (permalink / raw)
  To: linuxppc-embedded


I downloaded the linuxppc2.4 devel tree from bitmover
and tried to build the the ebony kernel for my ebony
board. I got the built error in that in_ntoa is
referenced in the fs/nfs/nfsroot.c file but no include
lib for it.

What is this call anyway? It sounds like the root file
system is broken.

I then went and disable the NFS stuff in the defconfig
file. The kernel is then built. When I loaded the
kernel to Ebony, it failed on mounting the root
filesystem as expected.

Does anybody have a fix for this problem yet?

Regards,

--Khai


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-05-25  0:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-24 22:45 in_ntoa built error Dan Kegel
2002-05-24 23:03 ` Khai Trinh
2002-05-24 23:40   ` Matt Porter
2002-05-24 23:54     ` Khai Trinh
2002-05-25  0:10       ` Matt Porter
  -- strict thread matches above, loose matches on Subject: below --
2002-05-24 21:57 Khai Trinh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).