Hello,
I'm trying to cross-compile the BRP-App under Debian-Jessie for Linux-ARMv7NEON.
Using "./build.sh --linux-armv7neon-xcomp"
But it fail's at "building zlib...".
Here is my build.log:
Checking for previous build checkpoints... No previous build checkpoints found! Starting from scratch... Checking prerequisites... Saving build checkpoint... Preparing tree... Saving build checkpoint... Preparing zlib... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed ^M 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0^M 3 557k 3 18149 0 $ Building zlib... Compiler error reporting is too harsh for ./configure (perhaps remove -Werror). ** ./configure aborting. ************************************ Error detected! Stopping build! Mon 28 Mar 14:24:47 BST 2016 ************************************
CrossToolchains are installed followed this:
https://wiki.debian.org/CrossToolchains#In_jessie_.28Debian_8.29
What I'm doing wrong?
Copyright © 2024 Einstein@Home. All rights reserved.
Building BRP for ARMv7NEON fails
)
There is a log file that contains the actual error message from the zlib configure call.
RE: There is a log file
)
Checking for obsessive-compulsive compiler options...
=== ztest28371.c ===
int foo() { return 0; }
===
arm-unknown-linux-gnueabi-gcc -c -I/home/osboxes/BRP/install/include -march=armv7-a -mfpu=neon -mfloat-abi=hard$
./configure: 343: ./configure: arm-unknown-linux-gnueabi-gcc: not found
(exit code 127)
Compiler error reporting is too harsh for ./configure (perhaps remove -Werror).
** ./configure aborting.
--------------------
mhhh... "./configure: arm-unknown-linux-gnueabi-gcc: not found" sounds like the right compiler is missing -.-.
I have only arm-linux-gnueabi-gcc installed.
I have no idea how to get this working, maybe I have more luck using ubuntu.
same Problem using Ubuntu
)
same Problem using Ubuntu 14.04 LTS -.-
I have solved the Problem :)
)
I have solved the Problem :) :) :)
Thank's for help :)
Can you describe what solved
)
Can you describe what solved the problem? So the next one who finds this has an answer.
Yes, it's quite simple. Just
)
Yes, it's quite simple.
Just replaced these Lines(316-318) in build.sh:
unknown-linux-gnueabi-gcc export CXX=arm-unknown-linux-gnueabi-g++
export LD=arm-unknown-linux-gnueabi-ld
with these:
hf-gcc export CXX=arm-linux-gnueabihf-g++
export LD=arm-linux-gnueabihf-ld