LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   buildroot build failure for usb-a9263 - AT91SAM9263 (https://www.linuxquestions.org/questions/linux-newbie-8/buildroot-build-failure-for-usb-a9263-at91sam9263-737287/)

MarkAren 07-02-2009 03:32 PM

buildroot build failure for usb-a9263 - AT91SAM9263
 
Buildroot, for the Atmel AT91SAM9263 ARM9.

Hi all,

I have a fresh installation of Ubunto 9.04 and have downloaded the build environment from ftp://ftp.strato.com/embedded%20computers/usb-a9263/

buildroot, fails when trying to apply an apparently non-existent patch.

After unpacking buildroot, I have executed "make BOARD=usb-a9263 getconfig", per readme.txt

Then I execute "make", as below:

Any step-by-step help to fix this problem appreciated.

Thanks,

Mark

========================================

root@mark-laptop:/home/mark/buildroot#make

Checking build system dependencies:
BUILDROOT_DL_DIR clean: Ok
CC clean: Ok
CXX clean: Ok
CPP clean: Ok
CFLAGS clean: Ok
INCLUDES clean: Ok
CXXFLAGS clean: Ok
which installed: Ok
sed works: Ok (/bin/sed)
GNU make version '3.81': Ok
[: 202: Illegal number: gcc
C compiler '/usr/bin/gcc'
C compiler version 'gcc': Ok
[: 233: -lt: unexpected operator
C++ compiler 'Usage: /usr/bin/which [-a] args'
C++ compiler version './/toolchain/dependencies/dependencies.sh:': Ok
bison installed: Ok
flex installed: Ok
gettext installed: Ok
makeinfo installed: FALSE

Most likely some packages will fail to build their documentation
Either install 'makeinfo' on your host or fix the respective packages.
Makeinfo can usually be found in the texinfo package for your host.
Build system dependencies: Ok

rm -rf /home/mark/buildroot/project_build_arm/usb-a9263/buildroot-config
mkdir -p /home/mark/buildroot/project_build_arm/usb-a9263
cp -dpRf
package/config/buildroot-config /home/mark/buildroot/project_build_arm/usb-a9263/buildroot-config
mkdir -p /home/mark/buildroot/toolchain_build_arm
rm -rf /home/mark/buildroot/toolchain_build_arm/uClibc-0.9.29
bzcat /home/mark/buildroot/dl/uClibc-0.9.29.tar.bz2 | tar
-C /home/mark/buildroot/toolchain_build_arm -xf -
toolchain/patch-kernel.sh /home/mark/buildroot/toolchain_build_arm/uClibc-0.9.29 toolchain/uClibc/ uClibc-0.9.29-*.patch

Applying uClibc-0.9.29-001-fix-mmap.patch using plaintext:
toolchain/patch-kernel.sh: 45: patch: not found
Patch failed! Please fix uClibc-0.9.29-001-fix-mmap.patch!
make: ***
[/home/mark/buildroot/toolchain_build_arm/uClibc-0.9.29/.unpacked] Error 1
root@mark-laptop:/home/mark/buildroot#


All times are GMT -5. The time now is 02:43 AM.