[Buildroot] Problem involving libc/libc_so.a(pread_write.os)
Eric P Caillibot
epc at xiphos.ca
Tue Mar 20 10:57:33 PDT 2007
Hello,
I am trying to set up Buildroot on a host running ubuntu, my target
being a powerpc 405, running version 2.4.26 of the Linux kernel.
This is what I did, after checking Buildroot out of SVN:
$ make menuconfig
-> In the menu, I changed GCC compiler version to 4.1.2 (although in a
previous attempt I left the default choice in place and ended up with
the same result)
-> Changed Target Architecture to powerpc
-> Kernel Headers left at Linux 2.4.31 (since 2.4.26 is not in the
list)
$ make
When prompted, I chose:
Target Processor Type
> 1. CLASSIC (CONFIG_CLASSIC) (NEW)
...
STRIP -x -R .note -R .comment lib/libc.a
AR cr lib/libc.a
STRIP -x -R .note -R .comment lib/uclibc_nonshared.a
AR cr lib/uclibc_nonshared.a
AR cr libc/libc_so.a
LD libuClibc-0.9.29.so
libc/libc_so.a(pread_write.os):(.text+0x14): undefined reference to
`__illegally_sized_syscall_arg4'
make[2]: *** [lib/libc.so] Error 1
make[1]: *** [lib/libc.so.0] Error 2
make[1]: Leaving directory
`/home/epc/dev/buildroot/toolchain_build_powerpc/uClibc'
make: ***
[/home/epc/dev/buildroot/toolchain_build_powerpc/uClibc/lib/libc.a]
Error 2
After this point, I tried changing different settings, but ultimately,
subsequent attempts always got me the same error.
$ make clean
$ make
...
make MAKE="make -j1"
-C /home/epc/dev/buildroot/toolchain_build_powerpc/uClibc \
PREFIX= \
DEVEL_PREFIX=/home/epc/dev/buildroot/build_powerpc/staging_dir/ \
RUNTIME_PREFIX=/home/epc/dev/buildroot/build_powerpc/staging_dir/ \
install_runtime install_dev
make[1]: Entering directory
`/home/epc/dev/buildroot/toolchain_build_powerpc/uClibc'
install -d /home/epc/dev/buildroot/build_powerpc/staging_dir/lib
install -m 644 lib/lib*-0.9.29.so \
/home/epc/dev/buildroot/build_powerpc/staging_dir/lib
install: cannot stat `lib/lib*-0.9.29.so': No such file or directory
make[1]: *** [install_runtime] Error 1
make[1]: Leaving directory
`/home/epc/dev/buildroot/toolchain_build_powerpc/uClibc'
make: *** [/home/epc/dev/buildroot/build_powerpc/staging_dir/lib/libc.a]
Error 2
Can anyone help me figure out what is going wrong?
Thank you very much!
Eric
More information about the buildroot
mailing list