This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Crosstool build problem for mips


Hi,

I am facing problem while building the crosstools gcc3.4.2-glibc2.2.5
for mipsel platform.

threads/sysdeps/mips -I../sysdeps/unix/sysv/linux/mips -I../sysdeps/unix/sysv/li
nux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdep
s/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/mips -I../sysdeps/unix -I..
/sysdeps/posix -I../sysdeps/mips/mipsel -I../sysdeps/mips/fpu -I../sysdeps/mips
-I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64
 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic  -nostdinc -
isystem /home/shyamal/crosstool-0.42/build/mipsel-unknown-linux-gnu/gcc-3.4.2-gl
ibc-2.2.5/gcc-core-prefix/lib/gcc/mipsel-unknown-linux-gnu/3.4.2/include -isyste
m /opt/crosstool/gcc-3.4.2-glibc-2.2.5/mipsel-unknown-linux-gnu/mipsel-unknown-l
inux-gnu/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h  -DPIC   -
o /home/shyamal/crosstool-0.42/build/mipsel-unknown-linux-gnu/gcc-3.4.2-glibc-2.
2.5/build-glibc/misc/stty.o
mipsel-unknown-linux-gnu-gcc  ../sysdeps/unix/sysv/linux/ptrace.c -c -O2 -Wall -
Winline -Wstrict-prototypes -Wwrite-strings -finline-limit=10000 -fno-unit-at-a-
time -isystem /home/shyamal/crosstool-0.42/build/mipsel-unknown-linux-gnu/gcc-3.
4.2-glibc-2.2.5/linux-2.6.8/include/asm-mips/mach-generic      -I../include -I.
-I/home/shyamal/crosstool-0.42/build/mipsel-unknown-linux-gnu/gcc-3.4.2-glibc-2.
2.5/build-glibc/misc -I.. -I../libio  -I/home/shyamal/crosstool-0.42/build/mipse
l-unknown-linux-gnu/gcc-3.4.2-glibc-2.2.5/build-glibc -I../sysdeps/mips/elf -I..
/linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sys
deps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix
-I../linuxthreads/sysdeps/mips -I../sysdeps/unix/sysv/linux/mips -I../sysdeps/un
ix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -
I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/mips -I../sysdeps
/unix -I../sysdeps/posix -I../sysdeps/mips/mipsel -I../sysdeps/mips/fpu -I../sys
deps/mips -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee
754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic  -
nostdinc -isystem /home/shyamal/crosstool-0.42/build/mipsel-unknown-linux-gnu/gc
c-3.4.2-glibc-2.2.5/gcc-core-prefix/lib/gcc/mipsel-unknown-linux-gnu/3.4.2/inclu
de -isystem /opt/crosstool/gcc-3.4.2-glibc-2.2.5/mipsel-unknown-linux-gnu/mipsel
-unknown-linux-gnu/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h
 -DPIC   -o /home/shyamal/crosstool-0.42/build/mipsel-unknown-linux-gnu/gcc-3.4.
2-glibc-2.2.5/build-glibc/misc/ptrace.o
In file included from /opt/crosstool/gcc-3.4.2-glibc-2.2.5/mipsel-unknown-linux-
gnu/mipsel-unknown-linux-gnu/include/linux/user.h:1,
                 from ../sysdeps/unix/sysv/linux/sys/user.h:1,
                 from ../sysdeps/unix/sysv/linux/ptrace.c:22:
/opt/crosstool/gcc-3.4.2-glibc-2.2.5/mipsel-unknown-linux-gnu/mipsel-unknown-lin
ux-gnu/include/asm/user.h:12:21: asm/reg.h: No such file or directory
In file included from /opt/crosstool/gcc-3.4.2-glibc-2.2.5/mipsel-unknown-linux-
gnu/mipsel-unknown-linux-gnu/include/linux/user.h:1,
                 from ../sysdeps/unix/sysv/linux/sys/user.h:1,
                 from ../sysdeps/unix/sysv/linux/ptrace.c:22:
/opt/crosstool/gcc-3.4.2-glibc-2.2.5/mipsel-unknown-linux-gnu/mipsel-unknown-lin
ux-gnu/include/asm/user.h:38: error: `EF_SIZE' undeclared here (not in a functio
n)
make[2]: *** [/home/shyamal/crosstool-0.42/build/mipsel-unknown-linux-gnu/gcc-3.
4.2-glibc-2.2.5/build-glibc/misc/ptrace.o] Error 1
make[2]: Leaving directory `/home/shyamal/crosstool-0.42/build/mipsel-unknown-li
nux-gnu/gcc-3.4.2-glibc-2.2.5/glibc-2.2.5/misc'
make[1]: *** [misc/subdir_lib] Error 2
make[1]: Leaving directory `/home/shyamal/crosstool-0.42/build/mipsel-unknown-li
nux-gnu/gcc-3.4.2-glibc-2.2.5/glibc-2.2.5'
make: *** [all] Error 2


I have referred few releted faqs from the mail archives and the
suggestion was to revert back to linux 2.4. However, I have come
across the stable kernel repository of 2.6.12-rc6 for  MIPS specific
MALTA platform on linux-mips.org site and am interested for compiling
it.

So I would like to confirm if any crosstool script is availble for it.

My native OS is Red Hat 9 (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5).

Thanks and Regards,
Shyamal

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]