"make install" fails building samples/hello

Harry Courtice hcourtice at optushome.com.au
Thu Sep 20 10:38:42 UTC 2001


Hello

I am using cygwin/win98. I am trying to build RTEMS for a target pc386. When
I do "make install" I get the following error, and the make halts.

========================================================
/OPT/RTEMS/BIN/i386-rtems-gcc --pipe -B../../../../../../i386ex/lib/ -specs
bsp_
specs -qrtems -g -Wall -ansi -fasm          -L
./../../../../../i386ex/lib  -O4
  -o o-optimize/hello.coff  o-optimize/init.o
../../../../../../i386ex/lib/no-dp
mem.rel ../../../../../../i386ex/lib/no-event.rel
../../../../../../i386ex/lib/n
o-msg.rel ../../../../../../i386ex/lib/no-mp.rel
../../../../../../i386ex/lib/no
-part.rel ../../../../../../i386ex/lib/no-signal.rel
../../../../../../i386ex/li
b/no-timer.rel ../../../../../../i386ex/lib/no-rtmon.rel
/opt/rtems/i386-rtems/bin/ld:../../../../../../i386ex/lib/linkcmds:115:
parse er
ror
collect2: ld returned 1 exit status
make[5]: *** [o-optimize/hello.exe] Error 1
make[5]: Leaving directory
`/data/rtems/tools/build-rtems/i386-rtems/c/i386ex/te
sts/samples/hello'
make[4]: *** [install-recursive] Error 1
make[4]: Leaving directory
`/data/rtems/tools/build-rtems/i386-rtems/c/i386ex/te
sts/samples'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory
`/data/rtems/tools/build-rtems/i386-rtems/c/i386ex/te
sts'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory
`/data/rtems/tools/build-rtems/i386-rtems/c/i386ex'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/data/rtems/tools/build-rtems/i386-rtems/c'
make: *** [install-recursive] Error 1
BASH.EXE-2.04$
========================================================


The i386ex/lib/linkcmds file exists, a few lines around 115 are:


        /*
         * C++ constructors
         */
        __CTOR_LIST__ = .;
        LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
        *(.ctors)
        LONG(0)
        __CTOR_END__ = .;
        . = ALIGN (4) ;
        __DTOR_LIST__ = .;
        LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
        *(.dtors)
        LONG(0)
        __DTOR_END__ = .;
        _rodata_start 5 . ;                                    <----- This
is line 115
        *(.rodata)
        *(.gnu.linkonce.r*)
        _erodata = ALIGN( 0x10 ) ;
        _etext = ALIGN( 0x10 );
        _endtext = . ;
        }


Any ideas beyond "Move to Linux" ???

Thanks,

Harry Courtice





More information about the users mailing list