This is the mail archive of the
ecos-discuss@sourceware.cygnus.com
mailing list for the eCos project.
Re: __NETDEVTAB__ undefined error^2
- To: KASHIWAYA Haruki <kashiwaya at redhat dot com>
- Subject: Re: [ECOS] __NETDEVTAB__ undefined error^2
- From: Jesper Skov <jskov at redhat dot com>
- Date: 27 Jun 2000 12:11:51 +0200
- Cc: ecos-discuss at sourceware dot cygnus dot com
- References: <20000627181826.75464725.1665566938@redhat.com>
>>>>> "KASHIWAYA" == KASHIWAYA Haruki <kashiwaya@redhat.com> writes:
KASHIWAYA> I am sorry to re-posting message,
>> I investigated in libtarget.a, it seems __NETDEVTAB__ is defined.
>> : net_tcpip_support.o: 00000000 a *ABS* 00001094 N _.LTEND 00000004
>> N _.LTSTART U ___NETDEVTAB_END__ U ___NETDEVTAB__ U ___divdi3 U
>> ___moddi3 :
KASHIWAYA> I misunderstood 'nm' output, it said __NETDEVTAB__ is
KASHIWAYA> undefined. But where is that real definition?
Hi there, Haruki!
I think the problem could be the _ prefix required by the SH
architecture. Try adding two _s in sh.ld:
__NETDEVTAB__ = ABSOLUTE (.); KEEP (*(SORT (.netdevtab*))) __NETDEVTAB_END__ = ABSOLUTE (.); \
so it becomes:
___NETDEVTAB__ = ABSOLUTE (.); KEEP (*(SORT (.netdevtab*))) ___NETDEVTAB_END__ = ABSOLUTE (.); \
Jesper