This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: eth0 entry in NETDEVTBL
- To: "'Sunil Mohan Savanur'" <sunil dot savanur at wipro dot com>,"'eCos discussion'" <ecos-discuss at sources dot redhat dot com>
- Subject: RE: [ECOS] eth0 entry in NETDEVTBL
- From: "Trenton D. Adams" <tadams at extremeeng dot com>
- Date: Fri, 12 Oct 2001 08:39:16 -0600
- Organization: Extreme Engineering
I just posted a question about that yesterday.
See the "SIOCSIFADDR: Device not configured" topic.
Essentially I was told to put "-library=libextras.a myfile.c" in the
"compile" line of the CDL. This fixed the problem.
> -----Original Message-----
> From: ecos-discuss-owner@sources.redhat.com
> [mailto:ecos-discuss-owner@sources.redhat.com] On Behalf Of
> Sunil Mohan Savanur
> Sent: Friday, October 12, 2001 8:10 AM
> To: eCos discussion
> Subject: [ECOS] eth0 entry in NETDEVTBL
>
>
> Hello,
>
> I am not developing any special network driver for my
> synthetic target linux.
> I am planning to use existing driver that is
> "packages/io/eth/current/src/net/eth_drv.c"
> I have added CYGPKG_NET and CYGPKG_NET_ETH_DRIVERS. Then built
> eCos.
>
> Still in my application I am getting socket/bind error ?
>
> What is needed to make "eth0" interface active ?
>
> Is it required to populate the "eth0" entry in NETDEVTBL as a part of
> initialization ?
>
> Looks like eth_drv_net("eth0") call does not find any valid
> entry in NETDEVTBL
> !!
>
> Please guide me.
>
> Thanks & regards
> Sunil Savanur
>
>
>