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]

__NETDEVTAB__ undefined error


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.
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]