This is the mail archive of the
ecos-discuss@sourceware.cygnus.com
mailing list for the eCos project.
__NETDEVTAB__ undefined error
- To: ecos-discuss at sourceware dot cygnus dot com
- Subject: [ECOS] __NETDEVTAB__ undefined error
- From: KASHIWAYA Haruki <kashiwaya at redhat dot com>
- Date: Tue, 27 Jun 2000 18:13:50 +0900
Hi,
I am trying to build network drivers on eCos1.3.1.
(Host: WindowsNT, Target:SH3, network drivers: custom driver)
But I got following errors:
$ sh-elf-gcc -g -I/d/bldecos/ozoz_install/include hello.c -o hello
-L/d/bldecos/ozoz_install/lib -Ttarget.ld -Wl,--gc-sections
-nostdlib -D__ECOS
/d/bldecos/ozoz_install/lib/libtarget.a(net_tcpip_support.o): In
function `cyg_net_init':
//D/ecosnet/packages/net/tcpip/v1_0b1/src/ecos/support.c:566:
undefined reference to `__NETDEVTAB__'
//D/ecosnet/packages/net/tcpip/v1_0b1/src/ecos/support.c:566:
undefined reference to `__NETDEVTAB_END__'
collect2: ld returned 1 exit status
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
:
What is wrong?
Are there any additional command line options in build sequence?
Any makefile samples welcome.
Thanks,
--
KASHIWAYA Haruki
Red Hat K.K.