This is the mail archive of the 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]

arm, glibc-2.3.2, and linux-2.6.6: asm/arch/param.h: No such fileor directory

Hmm, did I never build arm-gcc for a 2.6 kernel before?
I have to go to my day job :-), but I thought I'd post this before running off
in case someone arm-savvy can show me what I missed.
This is with the latest crosstool snapshot (plus some changes which shouldn't matter):

KERNELCONFIG=`pwd`/arm.config' \
TARGET=arm-unknown-linux-gnu \
BINUTILS_DIR=binutils-2.15 \
GCC_DIR=gcc-3.4.0 \
GLIBC_DIR=glibc-2.3.2 \
LINUX_DIR=linux-2.6.6 \
GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.3.2 \
sh --notest

fails with

In file included from /opt/crosstool/arm-unknown-linux-gnu/gcc-3.4.0-glibc-2.3.2/arm-unknown-linux-gnu/include/linux/param.h:4,
                 from ../sysdeps/unix/sysv/linux/sys/param.h:24,
                 from ../sysdeps/unix/sysv/linux/init-first.c:26:
/opt/crosstool/arm-unknown-linux-gnu/gcc-3.4.0-glibc-2.3.2/arm-unknown-linux-gnu/include/asm/param.h:13:41: asm/arch/param.h: No such file or directory
make[2]: *** [/home/dank/wk/crosstool-0.28-rc19/build/arm-unknown-linux-gnu/gcc-3.4.0-glibc-2.3.2/build-glibc/csu/init-first.o] Error 1
make[2]: Leaving directory `/home/dank/wk/crosstool-0.28-rc19/build/arm-unknown-linux-gnu/gcc-3.4.0-glibc-2.3.2/glibc-2.3.2/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/home/dank/wk/crosstool-0.28-rc19/build/arm-unknown-linux-gnu/gcc-3.4.0-glibc-2.3.2/glibc-2.3.2'
make: *** [all] Error 2

cd .../linux-*/include/asm
ln -s ./arch-pxa ./arch
ln -s ./proc-armv ./proc

Isn't there a nicer fix somewhere?
- Dan

My technical stuff:
My politics: see for examples of why I'm for regime change

Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

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