Marc Kleine-Budde wrote:
Nikolay Kanchev wrote:
Hello
I use PTXdist 1.99.12 and I try to compile
arm-v5te_vfp-linux-gnueabi_gcc-4.3.2_glibc-2.8_binutils-2.18_kernel-2.6.27-sanitized
from OSELAS.Toolchain-1.99.3.1 and receive this error:
=========================================
gcc -D__ARM_EABI__ rpc_sample.c -c -std=gnu99 -fgnu89-inline -O2 -Wall
-Winline -Wwrite-strings -fmerge-all-constants -g -Wstrict-prototypes
-mpreferred-stack-boundary=2 -I../include
-I/usr/local/ptxdist/install/OSELAS.Toolchain-1.99.3.1/platform-arm-v5te_vfp-linux-gnueabi-gcc-4.3.2-glibc-2.8-binutils-2.18-kernel-2.6.27-sanitized/build-target/glibc-2.8-headers-build/sunrpc
-I/usr/local/ptxdist/install/OSELAS.Toolchain-1.99.3.1/platform-arm-v5te_vfp-linux-gnueabi-gcc-4.3.2-glibc-2.8-binutils-2.18-kernel-2.6.27-sanitized/build-target/glibc-2.8-headers-build
-I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686
-I../nptl/sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/i386
-I../ports/sysdeps/unix/sysv/linux -I../nptl/sysdeps/unix/sysv/linux
-I../nptl/sysdeps/pthread -I../sysdeps/pthread
-I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common
-I../sysdeps/unix/mman -I../sysdeps/unix/inet
-I../ports/sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv/i386
-I../ports/sysdeps/unix/sysv -I../nptl/sysdeps/unix/sysv
-I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../ports/sysdeps/unix
-I../nptl/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix
-I../sysdeps/i386/i686/fpu -I../nptl/sysdeps/i386/i686
-I../sysdeps/i386/i686 -I../sysdeps/i386/i486
-I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../nptl/sysdeps/i386
-I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32
-I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic
-I../ports -I../nptl -I.. -I../libio -I. -nostdinc -isystem
/usr/lib/gcc/i486-linux-gnu/4.3.1/include -isystem
/usr/lib/gcc/i486-linux-gnu/4.3.1/include-fixed -isystem
/usr/local/ptxdist/install/OSELAS.Toolchain-1.99.3.1/platform-arm-v5te_vfp-linux-gnueabi-gcc-4.3.2-glibc-2.8-binutils-2.18-kernel-2.6.27-sanitized/sysroot-target/usr/include
-D_LIBC_REENTRANT -include ../include/libc-symbols.h -DNOT_IN_libc=1
-I/usr/local/ptxdist/install/OSELAS.Toolchain-1.99.3.1/platform-arm-v5te_vfp-linux-gnueabi-gcc-4.3.2-glibc-2.8-binutils-2.18-kernel-2.6.27-sanitized/sysroot-host/include
-D_RPC_THREAD_SAFE_ -fno-strict-aliasing -o
/usr/local/ptxdist/install/OSELAS.Toolchain-1.99.3.1/platform-arm-v5te_vfp-linux-gnueabi-gcc-4.3.2-glibc-2.8-binutils-2.18-kernel-2.6.27-sanitized/build-target/glibc-2.8-headers-build/sunrpc/rpc_sample.o
-MD -MP -MF
/usr/local/ptxdist/install/OSELAS.Toolchain-1.99.3.1/platform-arm-v5te_vfp-linux-gnueabi-gcc-4.3.2-glibc-2.8-binutils-2.18-kernel-2.6.27-sanitized/build-target/glibc-2.8-headers-build/sunrpc/rpc_sample.o.dt
-MT
/usr/local/ptxdist/install/OSELAS.Toolchain-1.99.3.1/platform-arm-v5te_vfp-linux-gnueabi-gcc-4.3.2-glibc-2.8-binutils-2.18-kernel-2.6.27-sanitized/build-target/glibc-2.8-headers-build/sunrpc/rpc_sample.o
make[3]: *** No rule to make target
`/usr/local/ptxdist/install/OSELAS.Toolchain-1.99.3.1/platform-arm-v5te_vfp-linux-gnueabi-gcc-4.3.2-glibc-2.8-binutils-2.18-kernel-2.6.27-sanitized/build-target/glibc-2.8-headers-build/elf/soinit.os',
needed by
`/usr/local/ptxdist/install/OSELAS.Toolchain-1.99.3.1/platform-arm-v5te_vfp-linux-gnueabi-gcc-4.3.2-glibc-2.8-binutils-2.18-kernel-2.6.27-sanitized/build-target/glibc-2.8-headers-build/libc.so'.
Stop.
I just looked into my build logs, libc.so isn't build at all.
Can you please restart from the beginning with:
$ ptxdist select
ptxconfigs/arm-v5te_vfp-linux-gnueabi_gcc-4.3.2_glibc-2.8_binutils-2.18_kernel-2.6.27-sanitized.ptxconfig
$ ptxdist --force -ji1 go
and send me the logfile
(platform-arm-v5te_vfp-linux-gnueabi-gcc-4.3.2-glibc-2.8-binutils-2.18-kernel-2.6.27-sanitized/logfile)
to my email. Please compress it first.
No need to send it to the mailinglist, because it's quite big.
cheers, Marc
------------------------------------------------------------------------
--
ptxdist mailing list
ptxdist@pengutronix.de
Hi Marc
Thanks for reply and guideline.
I try again from clean tree and toolchain build fine now.
I think in my first try I make some wrong configuration because I try:
$ ptxdist select
ptxconfigs/arm-v5te_vfp-linux-gnueabi_gcc-4.3.2_glibc-2.8_binutils-2.18_kernel-2.6.27-sanitized.ptxconfig
$ ptxdist go
and receive:
error: The config file 'selected_platformconfig'
is missing the symbol: 'PTXCONF_PLATFORMCONFIG_VERSION',
which means it is broken.
I try some platformconfig commands and maybe something goes wrong with
my configurations.
--
Best regards,
Nikolay Kanchev
--
ptxdist mailing list
ptxdist@pengutronix.de