Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Common C++ and eCos

Help
2006-05-16
2012-11-20
  • Andre John Mas
    Andre John Mas
    2006-05-16

    Hi,

    I am trying to compile Common C++ to run on eCos. Has anyone had any success with this? What I am doing at the moment is:

    ./configure --target=powerpc-eabi

    and I get the following amongst other things in the configure.log:

    configure:2046: /opt/ecos/gnutools/powerpc-eabi/bin/powerpc-eabi-gcc.exe -v </dev/null >&5
    Reading specs from /opt/ecos/gnutools/powerpc-eabi/lib/gcc/powerpc-eabi/3.4.4/specs
    Configured with: /gnutools/src/gcc-3.4.4/configure --target=powerpc-eabi --prefix=/opt/ecos/gnutools/powerpc-eabi --enable-languages=c,c++ --with-gnu-as --with-gnu-ld --with-newlib --enable-threads
    Thread model: generic
    gcc version 3.4.4 (eCosCentric)
    configure:2049: $? = 0
    configure:2051: /opt/ecos/gnutools/powerpc-eabi/bin/powerpc-eabi-gcc.exe -V </dev/null >&5
    powerpc-eabi-gcc: `-V' option must have argument
    configure:2054: $? = 1
    configure:2077: checking for C compiler default output file name
    configure:2080: /opt/ecos/gnutools/powerpc-eabi/bin/powerpc-eabi-gcc.exe    conftest.c  >&5
    /opt/ecos/gnutools/powerpc-eabi/lib/gcc/powerpc-eabi/3.4.4/../../../../powerpc-eabi/bin/ld: warning: cannot find entry symbol _start; defaulting to 01800074
    /opt/ecos/gnutools/powerpc-eabi/lib/gcc/powerpc-eabi/3.4.4/libgcc.a(eabi.o): In function `__eabi':
    : undefined reference to `__init'
    /opt/ecos/gnutools/powerpc-eabi/lib/gcc/powerpc-eabi/3.4.4/libgcc.a(eabi.o):(.got2+0x8): undefined reference to `__SDATA_START__'
    /opt/ecos/gnutools/powerpc-eabi/lib/gcc/powerpc-eabi/3.4.4/libgcc.a(eabi.o):(.got2+0xc): undefined reference to `__SBSS_END__'
    /opt/ecos/gnutools/powerpc-eabi/lib/gcc/powerpc-eabi/3.4.4/libgcc.a(eabi.o):(.got2+0x14): undefined reference to `__SDATA2_START__'
    /opt/ecos/gnutools/powerpc-eabi/lib/gcc/powerpc-eabi/3.4.4/libgcc.a(eabi.o):(.got2+0x18): undefined reference to `__SBSS2_END__'
    /opt/ecos/gnutools/powerpc-eabi/lib/gcc/powerpc-eabi/3.4.4/libgcc.a(eabi.o):(.got2+0x1c): undefined reference to `__GOT_START__'
    /opt/ecos/gnutools/powerpc-eabi/lib/gcc/powerpc-eabi/3.4.4/libgcc.a(eabi.o):(.got2+0x28): undefined reference to `__GOT_END__'
    /opt/ecos/gnutools/powerpc-eabi/lib/gcc/powerpc-eabi/3.4.4/libgcc.a(eabi.o):(.got2+0x2c): undefined reference to `__GOT2_START__'
    /opt/ecos/gnutools/powerpc-eabi/lib/gcc/powerpc-eabi/3.4.4/libgcc.a(eabi.o):(.got2+0x30): undefined reference to `__GOT2_END__'
    /opt/ecos/gnutools/powerpc-eabi/lib/gcc/powerpc-eabi/3.4.4/libgcc.a(eabi.o):(.got2+0x34): undefined reference to `__FIXUP_START__'
    /opt/ecos/gnutools/powerpc-eabi/lib/gcc/powerpc-eabi/3.4.4/libgcc.a(eabi.o):(.got2+0x38): undefined reference to `__FIXUP_END__'
    /opt/ecos/gnutools/powerpc-eabi/lib/gcc/powerpc-eabi/3.4.4/libgcc.a(eabi.o):(.got2+0x3c): undefined reference to `__CTOR_LIST__'
    /opt/ecos/gnutools/powerpc-eabi/lib/gcc/powerpc-eabi/3.4.4/libgcc.a(eabi.o):(.got2+0x40): undefined reference to `__CTOR_END__'
    /opt/ecos/gnutools/powerpc-eabi/lib/gcc/powerpc-eabi/3.4.4/libgcc.a(eabi.o):(.got2+0x44): undefined reference to `__DTOR_LIST__'
    /opt/ecos/gnutools/powerpc-eabi/lib/gcc/powerpc-eabi/3.4.4/libgcc.a(eabi.o):(.got2+0x48): undefined reference to `__DTOR_END__'
    /opt/ecos/gnutools/powerpc-eabi/lib/gcc/powerpc-eabi/3.4.4/libgcc.a(eabi.o):(.got2+0x4c): undefined reference to `__EXCEPT_START__'
    /opt/ecos/gnutools/powerpc-eabi/lib/gcc/powerpc-eabi/3.4.4/libgcc.a(eabi.o):(.got2+0x50): undefined reference to `__EXCEPT_END__'
    collect2: ld returned 1 exit status
    configure:2083: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    |
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | /* end confdefs.h.  */
    |
    | int