This is the mail archive of the ecos-discuss@sourceware.cygnus.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: __NETDEVTAB__ undefined error^2


>>>>> "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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]