[ECOS] __NETDEVTAB__ undefined error^2
Jesper Skov
jskov@redhat.com
Tue Jun 27 03:12:00 GMT 2000
>>>>> "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
More information about the Ecos-discuss
mailing list