Rebuilding RTEMS

Angelo Fraietta angelo at hunterlink.net.au
Tue Feb 13 02:30:40 UTC 2001


It appears that the linkcmds file is sometimes not being copied into
build-rtems/i386-rtems/pc386/lib directory during the make. I can copy it
over by hand and complete the build, but I shouldn't really have to.
Somewhere during the build process it must copy this file from the
appropriate startup directory. If that part fails, maybe the build should
stop there??
When is the file cpoied over?

Angelo Fraietta wrote:

> When trying to rebuild RTEMS on Red Hat 6.2, I often get the following
> error:
>
> gmake[5]: Entering directory
> `/opt/rtems/tools/build-i386-rtems/i386-rtems/c/pc3
> 86/tests/samples/hello'
> i386-rtems-gcc --pipe -B../../../../../pc386/lib/ -specs bsp_specs
> -qrtems -g -W
> all -ansi -fasm   -msoft-float         -L ../../../../../pc386/lib
> -O4  -Wl,-T
> text,0x00100000 -o o-optimize/hello.obj o-optimize/init.o
> ../../../../../pc3
> 86/lib/no-dpmem.rel ../../../../../pc386/lib/no-event.rel
> ../../../../../pc386/l
> ib/no-msg.rel ../../../../../pc386/lib/no-mp.rel
> ../../../../../pc386/lib/no-par
> t.rel ../../../../../pc386/lib/no-signal.rel
> ../../../../../pc386/lib/no-timer.r
> el ../../../../../pc386/lib/no-rtmon.rel
> /opt/rtems/i386-rtems/bin/ld: cannot open linker script file linkcmds:
> No such f
> ile or directory
> collect2: ld returned 1 exit status
>
> I cannot then get RTEMS to build
> I was having trouble like this earlier in the year, and I often had to
> physically remove the build-rtems directory or re-install the RPMs.  I
> tried this morning a a completely different computer.  I was able to
> build RTEMS pc386 the first time, but the second time it failed.
> I have been using the build scripts from the beta3a. Are they still the
> preferred ones to use?  Any suggestions would be appreciated.
> --
> Angelo Fraietta
>
> PO Box 859
> Hamilton NSW 2303
>
> Home Page
>
> http://users.hunterlink.net.au/~maaaf/
>
> There are those who seek knowledge for the sake of knowledge - that is
> CURIOSITY
> There are those who seek knowledge to be known by others - that is
> VANITY
> There are those who seek knowledge in order to serve - that is LOVE
>     Bernard of Clairvaux (1090 - 1153)

--
Angelo Fraietta

PO Box 859
Hamilton NSW 2303

Home Page

http://users.hunterlink.net.au/~maaaf/

There are those who seek knowledge for the sake of knowledge - that is
CURIOSITY
There are those who seek knowledge to be known by others - that is VANITY
There are those who seek knowledge in order to serve - that is LOVE
    Bernard of Clairvaux (1090 - 1153)





More information about the users mailing list