1/1

|
Can't compile RTEMS
by MichaelLiao on Feb 11, 2005 |
MichaelLiao
Posts: 7 Joined: Aug 6, 2015 Last seen: Aug 7, 2015 |
||
|
Dear All:
Liunx: RH9 I have downloaded the rtems from www.opencores.org and been compiling RTEMS. First I compiled BINUTILS and GCC(2.95.3). These procedures are OK. Then I followed your direction in main direcetory of RTEMS. The file is called README.or1k. 1) ./bootstrap . 2) I typed command: mkdir or1k cd or1k ../configure --target-or1k --program-prefix=or32-rtems- (I have these tools in ../../../or32-rtems/bin. the construction of the directory is : /tmp/tools/or1k/rtems ; /tmp/tools/or32-rtems/bin ) Many error messages appeared and then stopped with messages as follows: Looking forward to your reply. Thanks Michael |
|||
|
Can't compile RTEMS
by MichaelLiao on Feb 11, 2005 |
MichaelLiao
Posts: 7 Joined: Aug 6, 2015 Last seen: Aug 7, 2015 |
||
|
Dear All:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1.jpg
Type: image/jpeg
Size: 80958 bytes
Desc: not available
Url : http://www.opencores.org/forums/openrisc/attachments/20050211/a21cc7a5/1-0001.jpg
Liunx: RH9 I have downloaded the rtems from www.opencores.org and been compiling RTEMS. First I compiled BINUTILS and GCC(2.95.3). These procedures are OK. Then I followed your direction in main direcetory of RTEMS. The file is called README.or1k. 1) ./bootstrap . 2) I typed command: mkdir or1k cd or1k ../configure --target-or1k --program-prefix=or32-rtems- (I have these tools in ../../../or32-rtems/bin. the construction of the directory is : /tmp/tools/or1k/rtems ; /tmp/tools/or32-rtems/bin ) Many error messages appeared and then stopped with messages as follows: Looking forward to your reply. Thanks Michael |
|||
|
Can't compile RTEMS
by Unknown on Feb 11, 2005 |
Not available! | ||
|
What Error Messages did you find? Can you cut and paste them (or atlest
most of them). -Balaji V. Iyer. Michael Liao said:
Dear All:
Liunx: RH9
I have downloaded the rtems from www.opencores.org and been compiling
RTEMS. First I compiled BINUTILS and GCC(2.95.3). These procedures are OK.
Then I followed your direction in main direcetory of RTEMS. The file is
called README.or1k.
1) ./bootstrap
.
2) I typed command:
mkdir or1k
cd or1k
../configure --target-or1k --program-prefix=or32-rtems- (I have these
tools in ../../../or32-rtems/bin. the construction of the directory is
:
/tmp/tools/or1k/rtems ;
/tmp/tools/or32-rtems/bin )
Many error messages appeared and then stopped with messages as follows:
Looking forward to your reply. Thanks
Michael
_______________________________________________
http://www.opencores.org/mailman/listinfo/openrisc
|
|||
|
Can't compile RTEMS
by MichaelLiao on Feb 11, 2005 |
MichaelLiao
Posts: 7 Joined: Aug 6, 2015 Last seen: Aug 7, 2015 |
||
|
structure of directories is as follows:
/tmp/tools/or1k/rtems
/tmp/tools/or32-rtems/
evironment: Redhat 9 , autoconf 2.57 , automake 1.6.3
1)echo $PATH
/tmp/tools/or32-rtems/bin/:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/lsq/bin
2) ls -l /tmp/tools/or32-rtems/bin
[lsq@zqlinux tools]$ ls -l /tmp/tools/or32-rtems/bin
total 20920
-rwxr-xr-x 1 lsq lsq 185460 Feb 6 23:00 cpp
-rwxr-xr-x 1 lsq lsq 56846 Feb 6 23:00 gcov
-rwxr-xr-x 1 lsq lsq 1529014 Feb 6 22:43 or32-rtems-addr2line
-rwxr-xr-x 2 lsq lsq 1538200 Feb 6 22:43 or32-rtems-ar
-rwxr-xr-x 2 lsq lsq 2679646 Feb 6 22:43 or32-rtems-as
-rwxr-xr-x 1 lsq lsq 138326 Feb 6 22:43 or32-rtems-c++filt
-rwxr-xr-x 1 lsq lsq 195041 Feb 6 22:43 or32-rtems-gasp
-rwxr-xr-x 1 lsq lsq 180825 Feb 6 23:00 or32-rtems-gcc
-rwxr-xr-x 2 lsq lsq 2108434 Feb 6 22:44 or32-rtems-ld
-rwxr-xr-x 2 lsq lsq 1546854 Feb 6 22:43 or32-rtems-nm
-rwxr-xr-x 1 lsq lsq 2022924 Feb 6 22:43 or32-rtems-objcopy
-rwxr-xr-x 1 lsq lsq 2117168 Feb 6 22:43 or32-rtems-objdump
-rwxr-xr-x 1 lsq lsq 127316 Feb 6 23:00 or32-rtems-protoize
-rwxr-xr-x 2 lsq lsq 1538199 Feb 6 22:43 or32-rtems-ranlib
-rwxr-xr-x 1 lsq lsq 333270 Feb 6 22:43 or32-rtems-readelf
-rwxr-xr-x 1 lsq lsq 1444183 Feb 6 22:43 or32-rtems-size
-rwxr-xr-x 1 lsq lsq 1421365 Feb 6 22:43 or32-rtems-strings
-rwxr-xr-x 2 lsq lsq 2022923 Feb 6 22:43 or32-rtems-strip
-rwxr-xr-x 1 lsq lsq 120016 Feb 6 23:00 or32-rtems-unprotoize
3) [lsq@zqlinux tools]$ ls -l /tmp/tools/or32-rtems/lib/gcc-lib/or32-rtems/2.95.2/
total 4132
-rwxr-xr-x 1 lsq lsq 3501599 Feb 6 23:00 cc1
-rwxr-xr-x 1 lsq lsq 195200 Feb 6 23:00 collect2
-rwxr-xr-x 1 lsq lsq 214168 Feb 6 23:00 cpp
drwxrwxr-x 2 lsq lsq 4096 Feb 6 23:00 include
-rw-r--r-- 1 lsq lsq 194142 Feb 6 23:00 libgcc.a
-rw-r--r-- 1 lsq lsq 876 Feb 6 23:00 specs
-rw-r--r-- 1 lsq lsq 88205 Feb 6 23:00 SYSCALLS.c.X
4) change the $(RTEMSROOT)/make/custom/bender.cfg as directions given by $(RTEMSROOT)/README.or1k
5)cd /tmp/tools/or1k/rtems AND ./bootstrap
The messages appear as follows(part of messages):
configure:274: error: possibly undefined macro: AS_FOR_TARGET
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure:1929: error: possibly undefined macro: AC_PROG_CC_WORKS
configure:1930: error: possibly undefined macro: AC_PROG_CC_GNU
configure:1937: error: possibly undefined macro: AC_PROG_CC_G
Makefile.am:34: PREINSTALL_FILES must be set with `=' before using `+='
../../../../../../automake/local.am:44: AM_CFLAGS must be set with `=' before us
6) mkdir or1k AND cd or1k
7) ../configure --target=or1k --program-prefix=or32-rtems-
Then appears the following message and exit with error code.
...
checking for bash... /bin/bash
configure: creating ./config.status
config.status: creating Makefile
config.status: creating size_rtems
../configure: line 3106: test: or1k: unary operator expected
configuring in ./c
running /bin/sh ../../c/configure '--target=or1k' '--program-prefix=or32-rtems-
' 'target_alias=or1k' --cache-file=/dev/null --srcdir=../../c
checking for RTEMS Version... 4.5.0
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... or1k-unknown-coff
checking rtems target cpu... or1k
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/tmp/tools/or1k/rtems/missing: Unknown `--run' option
Try `/tmp/tools/or1k/rtems/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking if cpu or1k is supported... yes
checking for bsps... autom4te.cache bender .. done
checking for make/custom/autom4te.cache.cfg... configure: error: no
configure: error: ../../c/configure failed for c
----- Original Message -----
From: "Balaji V. Iyer" bviyer@ncsu.edu>
To: "List about OpenRISC project" openrisc@opencores.org>
Sent: Friday, February 11, 2005 12:15 PM
Subject: Re: [openrisc] Can't compile RTEMS
What Error Messages did you find? Can you cut and paste them (or atlest
most of them). -Balaji V. Iyer. Michael Liao said:
Dear All:
Liunx: RH9
I have downloaded the rtems from www.opencores.org and been compiling
RTEMS. First I compiled BINUTILS and GCC(2.95.3). These procedures are OK.
Then I followed your direction in main direcetory of RTEMS. The file is
called README.or1k.
1) ./bootstrap
.
2) I typed command:
mkdir or1k
cd or1k
../configure --target-or1k --program-prefix=or32-rtems- (I have these
tools in ../../../or32-rtems/bin. the construction of the directory is
:
/tmp/tools/or1k/rtems ;
/tmp/tools/or32-rtems/bin )
Many error messages appeared and then stopped with messages as follows:
Looking forward to your reply. Thanks
Michael
_______________________________________________
http://www.opencores.org/mailman/listinfo/openrisc
_______________________________________________
http://www.opencores.org/mailman/listinfo/openrisc
|
|||
|
Can't compile RTEMS
by Unknown on Feb 16, 2005 |
Not available! | ||
|
Hi,
i'm not abolutely sure right now, but i think there are no differences
beetwen rtems and uclinux target (or is it elf ?). i think you should be
able to use uclinux target...
regards,
p.
PS. if i'm compleatly wrong on this one please remind me again in a few
days time, i'm having some server/internet connection problems...
* Michael Liao (armdev@dtk.com.tw) wrote:
> Dear All:
> > Liunx: RH9 > > I have downloaded the rtems from www.opencores.org and been compiling RTEMS. First I compiled BINUTILS and GCC(2.95.3). These procedures are OK. Then I followed your direction in main direcetory of RTEMS. The file is called README.or1k. > 1) ./bootstrap > . > 2) I typed command: > mkdir or1k > cd or1k > ../configure --target-or1k --program-prefix=or32-rtems- (I have these tools in ../../../or32-rtems/bin. the construction of the directory is : > /tmp/tools/or1k/rtems ; > /tmp/tools/or32-rtems/bin ) > > Many error messages appeared and then stopped with messages as follows: > > > > Looking forward to your reply. Thanks > > Michael
_______________________________________________
http://www.opencores.org/mailman/listinfo/openrisc
|
|||
1/1

