This is the mail archive of the ecos-discuss@sources.redhat.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]

what's wrong the compile error


Hi
 
 
What's the wrong?  Following the compile error message.
 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

powerpc-eabi-gcc -c -I//C/PROGRA~1/REDHAT~1/eCos/packages/mypkg/v1_0/src  -I//C/My_eCos/jwh_test/test6_install/include -I//C/PROGRA~1/REDHAT~1/eCos/packages/mypkg/v1_0 -I//C/PROGRA~1/REDHAT~1/eCos/packages/mypkg/v1_0/src -I//C/PROGRA~1/REDHAT~1/eCos/packages/mypkg/v1_0/tests -I. -msoft-float -mcpu=860 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority -o src/twothreads.o //C/PROGRA~1/REDHAT~1/eCos/packages/mypkg/v1_0/src/twothreads.c

powerpc-eabi-gcc -msoft-float -mcpu=860 -g --nostdlib -Wl,--gc-sections -Wl,-static -L//C/My_eCos/jwh_test/test6_install/lib -Ttarget.ld -o //C/My_eCos/jwh_test/test6_install/bin/ecos.elf src/hello.o src/twothreads.o

//C/My_eCos/jwh_test/test6_install/lib/libtarget.a(hal_powerpc_arch_hal_misc.o): In function `hal_null_call':

//C/PROGRA~1/REDHAT~1/eCos/packages/hal/powerpc/arch/v1_3_1/src/hal_misc.c:314: multiple definition of `__eabi'

/tools/H-i686-pc-cygwin/lib/gcc-lib/powerpc-eabi/2.95.2/nof/libgcc.a(eabi.o)(.text+0x4): first defined here

/tools/H-i686-pc-cygwin/powerpc-eabi/bin/ld: Warning: size of symbol `__eabi' changed from 196 to 4 in hal_powerpc_arch_hal_misc.o

/tools/H-i686-pc-cygwin/lib/gcc-lib/powerpc-eabi/2.95.2/nof/libgcc.a(eabi.o)(.got2+0x1c): undefined reference to `__GOT_START__'

/tools/H-i686-pc-cygwin/lib/gcc-lib/powerpc-eabi/2.95.2/nof/libgcc.a(eabi-ctors.o)(.sdata+0x0): undefined reference to `__init'

/tools/H-i686-pc-cygwin/lib/gcc-lib/powerpc-eabi/2.95.2/nof/libgcc.a(eabi-ctors.o): In function `__do_global_ctors':

/tmp/build/gcc/gcc/eabi-ctors.c(.sdata+0x4): undefined reference to `__fini'

collect2: ld returned 1 exit status

make[1]: *** [//C/My_eCos/jwh_test/test6_install/bin/ecos.elf] Error 1

make[1]: Leaving directory `/cygdrive/c/My_eCos/jwh_test/test6_build/mypkg/v1_0'

make: *** [build] Error 2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Thanks.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]