From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesper Skov To: KASHIWAYA Haruki Cc: ecos-discuss@sourceware.cygnus.com Subject: Re: [ECOS] __NETDEVTAB__ undefined error^2 Date: Tue, 27 Jun 2000 03:12:00 -0000 Message-id: References: <20000627181826.75464725.1665566938@redhat.com> X-SW-Source: 2000-06/msg00307.html >>>>> "KASHIWAYA" == KASHIWAYA Haruki 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