Hi everybody!
RSR - Piero Dominioni
pdominioni@rsr.it
Wed May 16 06:23:00 GMT 2001
Hi, my name is Piero Dominioni.
I'm new to this mailing-list, and, obviously, I subscribed because I need
help: so be patient, please!
I'm trying to install Linux on a Motorola MPC823FADS, I've a Linux box on a
i686 PC, so I need a cross-compiler.
I've found nothing ready-to-run (is it possible? How many people have
experienced MPC823FADS?!?!)
I'm challenging by myself, then!
I found any instructions on how to build it in
" http://members.home.net/mmport/linux/cross/" ;.
I cannot yet reach the end of the execution of "make" command without
errors while installing glibc-2.2.3 (the installation of binutils and gcc
has been OK).
The last attempt gave me the log in attach.
I need your help! I know that you could tell me: "Look around, in the
documentation and in the mailing-list archives, and you will find the
answers without wasting our time!"
It's about two weeks I'm looking around...
I don't know if this e-mail is documented enough: what info is missing to
make you deeply understand the problem?
I try to put here the most inormation that I suppose is necessary!
Host:
Pentium II 233MHz
128MB RAM
Dual boot Linux Slackware 7.2 / Win98
Target:
Motorola MPC823FADS with ADI-board and MPC8BUG ver. 1.3.2
Latest packages downloaded from ftp.gnu.org:
- gcc-core-2.95.2.tar.gz
- glibc-2.2.3.tar.gz
- binutils-2.11.tar.gz
- glibc-linuxthreads-2.2.3.tar.gz
- glibc-crypt-2.1.tar.gz
I guess that experience is the better way to solve the challenge. So I'm
asking you.
I hope that I haven't made any mistakes using the mailing-list this way:
don't get angry with me!
Thank you in advance for any kind of help.
Bye.
Piero
-------------- next part --------------
make -r PARALLELMFLAGS="" CVSOPTS="" -C .. objdir=`pwd` all
make[1]: Entering directory `/usr/local/glibc-2.2.3'
make -C csu subdir_lib
make[2]: Entering directory `/usr/local/glibc-2.2.3/csu'
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `/usr/local/glibc-2.2.3/csu'
make -C iconv subdir_lib
make[2]: Entering directory `/usr/local/glibc-2.2.3/iconv'
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `/usr/local/glibc-2.2.3/iconv'
make -C iconvdata subdir_lib
make[2]: Entering directory `/usr/local/glibc-2.2.3/iconvdata'
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `/usr/local/glibc-2.2.3/iconvdata'
make -C locale subdir_lib
make[2]: Entering directory `/usr/local/glibc-2.2.3/locale'
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `/usr/local/glibc-2.2.3/locale'
make -C localedata subdir_lib
make[2]: Entering directory `/usr/local/glibc-2.2.3/localedata'
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `/usr/local/glibc-2.2.3/localedata'
make -C assert subdir_lib
make[2]: Entering directory `/usr/local/glibc-2.2.3/assert'
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `/usr/local/glibc-2.2.3/assert'
make -C ctype subdir_lib
make[2]: Entering directory `/usr/local/glibc-2.2.3/ctype'
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `/usr/local/glibc-2.2.3/ctype'
make -C intl subdir_lib
make[2]: Entering directory `/usr/local/glibc-2.2.3/intl'
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `/usr/local/glibc-2.2.3/intl'
make -C catgets subdir_lib
make[2]: Entering directory `/usr/local/glibc-2.2.3/catgets'
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `/usr/local/glibc-2.2.3/catgets'
make -C math subdir_lib
make[2]: Entering directory `/usr/local/glibc-2.2.3/math'
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `/usr/local/glibc-2.2.3/math'
make -C setjmp subdir_lib
make[2]: Entering directory `/usr/local/glibc-2.2.3/setjmp'
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `/usr/local/glibc-2.2.3/setjmp'
make -C signal subdir_lib
make[2]: Entering directory `/usr/local/glibc-2.2.3/signal'
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `/usr/local/glibc-2.2.3/signal'
make -C stdlib subdir_lib
make[2]: Entering directory `/usr/local/glibc-2.2.3/stdlib'
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `/usr/local/glibc-2.2.3/stdlib'
make -C stdio-common subdir_lib
make[2]: Entering directory `/usr/local/glibc-2.2.3/stdio-common'
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `/usr/local/glibc-2.2.3/stdio-common'
make -C libio subdir_lib
make[2]: Entering directory `/usr/local/glibc-2.2.3/libio'
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `/usr/local/glibc-2.2.3/libio'
make -C dlfcn subdir_lib
make[2]: Entering directory `/usr/local/glibc-2.2.3/dlfcn'
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `/usr/local/glibc-2.2.3/dlfcn'
make -C malloc subdir_lib
make[2]: Entering directory `/usr/local/glibc-2.2.3/malloc'
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `/usr/local/glibc-2.2.3/malloc'
make -C string subdir_lib
make[2]: Entering directory `/usr/local/glibc-2.2.3/string'
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `/usr/local/glibc-2.2.3/string'
make -C wcsmbs subdir_lib
make[2]: Entering directory `/usr/local/glibc-2.2.3/wcsmbs'
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `/usr/local/glibc-2.2.3/wcsmbs'
make -C time subdir_lib
make[2]: Entering directory `/usr/local/glibc-2.2.3/time'
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `/usr/local/glibc-2.2.3/time'
make -C dirent subdir_lib
make[2]: Entering directory `/usr/local/glibc-2.2.3/dirent'
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `/usr/local/glibc-2.2.3/dirent'
make -C grp subdir_lib
make[2]: Entering directory `/usr/local/glibc-2.2.3/grp'
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `/usr/local/glibc-2.2.3/grp'
make -C pwd subdir_lib
make[2]: Entering directory `/usr/local/glibc-2.2.3/pwd'
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `/usr/local/glibc-2.2.3/pwd'
make -C posix subdir_lib
make[2]: Entering directory `/usr/local/glibc-2.2.3/posix'
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `/usr/local/glibc-2.2.3/posix'
make -C io subdir_lib
make[2]: Entering directory `/usr/local/glibc-2.2.3/io'
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `/usr/local/glibc-2.2.3/io'
make -C termios subdir_lib
make[2]: Entering directory `/usr/local/glibc-2.2.3/termios'
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `/usr/local/glibc-2.2.3/termios'
make -C resource subdir_lib
make[2]: Entering directory `/usr/local/glibc-2.2.3/resource'
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `/usr/local/glibc-2.2.3/resource'
make -C misc subdir_lib
make[2]: Entering directory `/usr/local/glibc-2.2.3/misc'
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `/usr/local/glibc-2.2.3/misc'
make -C socket subdir_lib
make[2]: Entering directory `/usr/local/glibc-2.2.3/socket'
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `/usr/local/glibc-2.2.3/socket'
make -C sysvipc subdir_lib
make[2]: Entering directory `/usr/local/glibc-2.2.3/sysvipc'
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `/usr/local/glibc-2.2.3/sysvipc'
make -C gmon subdir_lib
make[2]: Entering directory `/usr/local/glibc-2.2.3/gmon'
powerpc-linux-gcc ../sysdeps/unix/sysv/linux/profil.c -c -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -g -mnew-mnemonics -Wa,-mppc -mpowerpc -I../include -I. -I/usr/local/glibc-2.2.3/build/gmon -I.. -I../libio -I/usr/local/glibc-2.2.3/build -I../sysdeps/powerpc/elf -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/powerpc -I../sysdeps/unix/sysv/linux/powerpc -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/powerpc -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/powerpc/fpu -I../sysdeps/powerpc -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/powerpc/soft-fp -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/local/lib/gcc-lib/powerpc-linux/2.95.2/include -isystem /usr/src/linux/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -o /usr/local/glibc-2.2.3/build/gmon/profil.o
In file included from ../sysdeps/unix/sysv/linux/powerpc/profil-counter.h:2,
from ../sysdeps/posix/profil.c:54,
from ../sysdeps/unix/sysv/linux/profil.c:3:
../sysdeps/unix/sysv/linux/i386/profil-counter.h: In function `profil_counter':
../sysdeps/unix/sysv/linux/i386/profil-counter.h:26: structure has no member named `regs'
../sysdeps/posix/profil.c:39: warning: inlining failed in call to `profil_count'
../sysdeps/unix/sysv/linux/i386/profil-counter.h:26: warning: called from here
make[2]: *** [/usr/local/glibc-2.2.3/build/gmon/profil.o] Error 1
make[2]: Leaving directory `/usr/local/glibc-2.2.3/gmon'
make[1]: *** [gmon/subdir_lib] Error 2
make[1]: Leaving directory `/usr/local/glibc-2.2.3'
make: *** [all] Error 2
This is what the "make" command issues. (I've attempted any times to make it run correctly to the end: this is just the last effort!)
I configure, before starting "make", with this line:
CC=powerpc-linux-gcc AR=powerpc-linux-ar RANLIB=powerpc-linux-ranlib ../configure --host=powerpc-linux --with-headers=/usr/src/linux/include --enable-add-ons=linuxthreads --prefix=/usr/local/powerpc-linux
I got those instuctions from http://members.home.net/mmporter/linux/cross/ and the tarballs for gcc-2.95.2, glibc-2.2.3 and binutils-2.11 from the GNU ftp site.
More information about the crossgcc
mailing list