Building BRP for ARMv7NEON fails

N30dG
N30dG
Joined: 29 Feb 16
Posts: 89
Credit: 4805610
RAC: 0
Topic 198537

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?

Christian Beer
Christian Beer
Joined: 9 Feb 05
Posts: 595
Credit: 196961446
RAC: 202093

Building BRP for ARMv7NEON fails

There is a log file that contains the actual error message from the zlib configure call.

N30dG
N30dG
Joined: 29 Feb 16
Posts: 89
Credit: 4805610
RAC: 0

RE: There is a log file

Quote:
There is a log file that contains the actual error message from the zlib configure call.

--------------------
./configure --static --prefix=/home/osboxes/BRP/install
Mon 28 Mar 16:37:38 BST 2016
=== ztest28371.c ===
extern int getchar();
int hello() {return getchar();}
===
arm-unknown-linux-gnueabi-gcc -c ztest28371.c
./configure: 165: ./configure: arm-unknown-linux-gnueabi-gcc: not found
... using arm-unknown-linux-gnueabi-gcc

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.

N30dG
N30dG
Joined: 29 Feb 16
Posts: 89
Credit: 4805610
RAC: 0

same Problem using Ubuntu

same Problem using Ubuntu 14.04 LTS -.-

N30dG
N30dG
Joined: 29 Feb 16
Posts: 89
Credit: 4805610
RAC: 0

I have solved the Problem :)

I have solved the Problem :) :) :)

Thank's for help :)

Christian Beer
Christian Beer
Joined: 9 Feb 05
Posts: 595
Credit: 196961446
RAC: 202093

Can you describe what solved

Can you describe what solved the problem? So the next one who finds this has an answer.

N30dG
N30dG
Joined: 29 Feb 16
Posts: 89
Credit: 4805610
RAC: 0

Yes, it's quite simple. Just

Yes, it's quite simple.
Just replaced these Lines(316-318) in build.sh:

  • export CC=arm-

unknown-linux-gnueabi-gcc export CXX=arm-unknown-linux-gnueabi-g++
export LD=arm-unknown-linux-gnueabi-ld

with these:

  • export CC=arm-linux-gnueabi

hf-gcc export CXX=arm-linux-gnueabihf-g++
export LD=arm-linux-gnueabihf-ld

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.