This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Problem compiling synthetic target
- From: Gary Thomas <gary at mlbassoc dot com>
- To: Riadh Elloumi <riadh dot elloumi at parrot dot fr>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Thu, 10 Jun 2004 05:50:23 -0600
- Subject: RE: [ECOS] Problem compiling synthetic target
- Organization: MLB Associates
- References: <200406100829.i5A8TQH22783@smtp-ft4.fr.colt.net>
On Thu, 2004-06-10 at 02:26, Riadh Elloumi wrote:
> My config file was refused by the mailing list (it is too big). I can send
> it individually.
I'm not sure why you want to send a configuration file, but if you do,
send the result of 'ecosconfig export XYZ'. A distillation of your
configuration will be stored in 'XYZ' - this can be sent (it will be
quite small) and it tells us everything necessary to recreate your
configuration.
>
> Riadh.
>
> -----Message d'origine-----
> De : ecos-discuss-owner@ecos.sourceware.org
> [mailto:ecos-discuss-owner@ecos.sourceware.org] De la part de Riadh Elloumi
> Envoyé : jeudi 10 juin 2004 09:05
> À : ecos-discuss@sources.redhat.com
> Objet : [ECOS] Problem compiling synthetic target
>
> Dear all,
>
> I have a strange problem when I compile eCos for the synthetic target. The
> library build stops with a link error. I cannot find the supposed multiple
> defined symbols: ifnet is neither in sockio.c:181, nor in syntheth.c:182.
>
> I joined my config file. I am running Linux Mandrake 9.2 (gcc 3.3.1,
> glibc-2.3.2-14mdk). Thank you for your help.
>
> make[1]: Entering directory `/home/riadh/ecos/Syntarget/hal/common/v2_0'
> gcc -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef
> -Woverloaded-virtual -g -ffunction-sections -fdata-sections -fno-rtti
> -fno-exceptions -fvtable-gc -finit-priority -nostdlib -Wl,-r
> -Wl,--whole-archive -o /home/riadh/ecos/Syntarget/install/lib/extras.o
> /home/riadh/ecos/Syntarget/install/lib/libextras.a
> /home/riadh/ecos/Syntarget/install/lib/libextras.a(net_tcpip_sockio.o)(.bss.
> ifnet+0x0):/home/riadh/ecos/ecos-2.0/packages/net/tcpip/v2_0/src/sys/kern/so
> ckio.c:181: multiple definition of `ifnet'
> /home/riadh/ecos/Syntarget/install/lib/libextras.a(devs_eth_synth_ecosynth_s
> yntheth.o)(.bss.ifnet+0x0):/home/riadh/ecos/ecos-2.0/packages/devs/eth/synth
> /ecosynth/v2_0/src/syntheth.c:182: first defined here
> /home/riadh/ecos/Syntarget/install/lib/libextras.a(net_tcpip_sockio.o)(.bss.
> ifindex2ifnet+0x0): multiple definition of `ifindex2ifnet'
> /home/riadh/ecos/Syntarget/install/lib/libextras.a(devs_eth_synth_ecosynth_s
> yntheth.o)(.bss.ifindex2ifnet+0x0): first defined here
> /home/riadh/ecos/Syntarget/install/lib/libextras.a(net_tcpip_sockio.o)(.bss.
> if_index+0x0): multiple definition of `if_index'
> /home/riadh/ecos/Syntarget/install/lib/libextras.a(devs_eth_synth_ecosynth_s
> yntheth.o)(.bss.if_index+0x0): first defined here
> collect2: ld returned 1 exit status
> make[1]: *** [/home/riadh/ecos/Syntarget/install/lib/extras.o] Error 1
> make[1]: Leaving directory `/home/riadh/ecos/Syntarget/hal/common/v2_0'
> make: *** [build] Error 2
>
> --------------------------------------------------------------
>
> Riadh Elloumi
>
>
>
>
> --
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
--
Gary Thomas <gary@mlbassoc.com>
MLB Associates
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss