View: 5003|Reply: 7

Orangepi 4G-IoT - problem by compilation

[Copy link]

3

threads

6

posts

56

credits

Registered member

Rank: 2

credits
56
Published in 2018-5-30 03:51:22 | Show all floors |Read mode
Hallo Everybody!
By compilling android 8.1 for 4G-IoT device, i got so problem: "ninja: no work to do.
[1/1] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja"
Because of this, I can't  compile 8.1
Did anyone can to help me?
Thank You!

6

threads

51

posts

220

credits

Intermediate member

Rank: 3Rank: 3

credits
220
Published in 2018-5-30 09:04:45 | Show all floors
You need to follow the procedure in the 4G-IOT manual. Standard Android build procedures don't work.

3

threads

6

posts

56

credits

Registered member

Rank: 2

credits
56
 Author| Published in 2018-5-30 21:46:43 | Show all floors
jonsmirl replied at 2018-5-30 09:04
You need to follow the procedure in the 4G-IOT manual. Standard Android build procedures don't work.

I made everything using this guide.
Best Regards

6

threads

51

posts

220

credits

Intermediate member

Rank: 3Rank: 3

credits
220
Published in 2018-5-31 07:34:05 | Show all floors
Edited by jonsmirl at 2018-5-31 07:52

I've just verified that the 8.1 build instructions don't work.

They appear to be pretty close to what is needed, but they are not right.
The path into the prebuilt compilers is not set
I just noticed that section in the FAQ about the jack server, that is likely the problem.
Check out the end of the manual.

6

threads

51

posts

220

credits

Intermediate member

Rank: 3Rank: 3

credits
220
Published in 2018-5-31 08:21:36 | Show all floors
Edited by jonsmirl at 2018-5-31 08:22

Look at what the script anr_O.sh is doing, that will mess up your system
I commented out the sudo line and fixed up the damage it did when making the links
It seems to build building now. I am about 3000 tasks into the 80,000 needed.

6

threads

51

posts

220

credits

Intermediate member

Rank: 3Rank: 3

credits
220
Published in 2018-5-31 08:50:40 | Show all floors
i needed to edit jack-admin
JACK_SERVER_COMMAND="java -Xmx3g -XX:MaxJavaStackTraceDepth=-1 -Djava.io.tmpdir=$TMPDIR $JACK_SERVER_VM_ARGUMENTS-Xmx2048M

There should be a space after $JACK_SERVER_VM_ARGUMENTS
I have finished 6,000 of the 80,000 tasks

6

threads

51

posts

220

credits

Intermediate member

Rank: 3Rank: 3

credits
220
Published in 2018-5-31 08:52:40 | Show all floors
This is not an error....

By compilling android 8.1 for 4G-IoT device, i got so problem: "ninja: no work to do.
[1/1] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja"

But I ran the clean script

3

threads

6

posts

56

credits

Registered member

Rank: 2

credits
56
 Author| Published in 2018-6-2 16:37:01 | Show all floors
jonsmirl replied at 2018-5-31 08:52
This is not an error....

By compilling android 8.1 for 4G-IoT device, i got so problem: "ninja: no  ...

Thank You very much for help!
But by my, this dont want to compile
Maybe try with 6.0
Best Regards!
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list