All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric P Caillibot <epc@xiphos.ca>
To: buildroot@busybox.net
Subject: [Buildroot] Problem involving libc/libc_so.a(pread_write.os)
Date: Tue, 20 Mar 2007 13:57:33 -0400	[thread overview]
Message-ID: <1174413454.32392.4.camel@tintin> (raw)

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

             reply	other threads:[~2007-03-20 17:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-20 17:57 Eric P Caillibot [this message]
2007-03-20 18:43 ` [Buildroot] Problem involving libc/libc_so.a(pread_write.os) Bernhard Fischer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1174413454.32392.4.camel@tintin \
    --to=epc@xiphos.ca \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.