* [ECOS] Re: 80321 extros.o build problem.
[not found] <4611A4C0.7050709@sedona.ch.intel.com>
@ 2007-04-03 15:44 ` Drew Kranak
0 siblings, 0 replies; only message in thread
From: Drew Kranak @ 2007-04-03 15:44 UTC (permalink / raw)
To: ecos-discuss
Drew Kranak wrote:
> Anyone:
> I am trying to build the 80321 eCos lib and get the following error:
>
> make[1]: Entering directory
> `/ecos-c/ARM/eCos/eCos-321_ROM/eCos-331_ROM_build/hal/common/v2_0'
>
> xscale-elf-gcc -mcpu=xscale -Wall -Wpointer-arith
> -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2
> -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions
> -fvtable-gc -mapcs-frame -nostdlib -Wl,-r -Wl,--whole-archive -o
> /ecos-c/ARM/eCos/eCos-321_ROM/eCos-331_ROM_install/lib/extras.o
> /ecos-c/ARM/eCos/eCos-321_ROM/eCos-331_ROM_install/lib/libextras.a
>
> /ecos-c/ARM/eCos/eCos-321_ROM/eCos-331_ROM_install/lib/libextras.a(net_tcpip_sockio.o)(.bss.ifnet+0x0):
> In function `bsd_sendit':
>
> /ecos-c/ARM/eCos/ecos-2.0/packages/net/tcpip/v2_0/src/sys/kern/sockio.c:185:
> multiple definition of `ifnet'
>
> /ecos-c/ARM/eCos/eCos-321_ROM/eCos-331_ROM_install/lib/libextras.a(devs_eth_intel_i82544_if_i82544.o)(.bss.ifnet+0x0):/ecos-c/ARM/eCos/ecos-2.0/packages/devs/eth/intel/i82544/v2_0/src/if_i82544.c:544:
> first defined here
>
> /ecos-c/ARM/eCos/eCos-321_ROM/eCos-331_ROM_install/lib/libextras.a(net_tcpip_sockio.o)(.bss.ifindex2ifnet+0x0):
> multiple definition of `ifindex2ifnet'
>
> /ecos-c/ARM/eCos/eCos-321_ROM/eCos-331_ROM_install/lib/libextras.a(devs_eth_intel_i82544_if_i82544.o)(.bss.ifindex2ifnet+0x0):
> first defined here
>
> /ecos-c/ARM/eCos/eCos-321_ROM/eCos-331_ROM_install/lib/libextras.a(net_tcpip_sockio.o)(.bss.if_index+0x0):
> multiple definition of `if_index'
>
> /ecos-c/ARM/eCos/eCos-321_ROM/eCos-331_ROM_install/lib/libextras.a(devs_eth_intel_i82544_if_i82544.o)(.bss.if_index+0x0):
> first defined here
>
> collect2: ld returned 1 exit status
>
> My best understanding of what is trying to be accomplished is that
> eCos is trying to add extras.o to the archive libextras.a Looking at
> the sorce files, it is not obvious that ifnet is redefined unless it
> is happening in a macro I am overlooking.
>
>
> Thanks for any input that helps resolve my dificultiy.
>
> Drew
>
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-04-03 15:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <4611A4C0.7050709@sedona.ch.intel.com>
2007-04-03 15:44 ` [ECOS] Re: 80321 extros.o build problem Drew Kranak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).