Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Build failing on my new Banana Pi
« previous next »
  • Print
Pages: [1]

Author Topic: Build failing on my new Banana Pi  (Read 2557 times)

Offline PaulF

  • Member
  • *
  • Posts: 49
Build failing on my new Banana Pi
« on: February 25, 2017, 03:34:47 PM »
My old Raspberry Pi died because the SD card crashed so I bought a Banana Pi that can boot off a SATA drive. I have a 500gb root fs, now.

using tools/rockboxdev.sh it fails with:

Code: [Select]
[EXTRA]    Building PPL
[ERROR]    /home/pi/rbdev-build/build-ypr0/.build/src/ppl-0.10.2/src/Generator_System.defs.hh:253:7: error: 'ptrdiff_t' was not declared in this scope

I searched and found an old IRC llog https://www.rockbox.org/irc/log-20140824

Code: [Select]
23:19 petur it stopped here with ''ptrdiff_t' was not declared in this scope'
23:20 [Saint] if memory serves it wants specific version of cloog, ppl, and a shittonne of other odd deps.
23:20 [Saint] Oh. I also seem to recall it wants both curl and wget.
23:20 [Saint] Its...a fun script.
23:21 [Saint] petur: http://www.datafilehost.com/d/3c64b1a4
23:21 petur thanks!

That link has the file removed. I hoping someone  remembers what the file was. At my age, I barely remember yesterday. :-)

EDIT  in it's a case of environment problems I did:
Code: [Select]
env RBDEV_DOWNLOAD=~/rbdev-dl RBDEV_BUILD=~/rbdev-build RBDEV_PREFIX=~/rbinstall ./rockboxdev.sh
« Last Edit: February 25, 2017, 04:09:52 PM by PaulF »
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 9138
Re: Build failing on my new Banana Pi
« Reply #1 on: February 25, 2017, 04:13:41 PM »
Do I understand correctly that you are trying to build the Samsung ypr0 cross compilers on a pi?  I don't think those have built in some time. If you want to develop for that device you may need to ask in irc for help setting up the toolchain.
Logged

Offline pamaury

  • Developer
  • Member
  • *
  • Posts: 508
Re: Build failing on my new Banana Pi
« Reply #2 on: February 25, 2017, 05:42:00 PM »
Hi,
the YP-R0 toolchain is close to impossible to build. I have been trying recently to replace it with another one that compiles and is more generic.
So I suggest you apply this patch:
http://gerrit.rockbox.org/r/#/c/1570/1
and try to build the generic ARM linux tooolchain (code x in rockboxdev.sh). In the mean time, However more patches are needed to switch the YP-R0 and R1 to this new toolchain.

May I ask why you want to build this toolchain on a Banana Pi ?
Logged
Please don't PM me, use our IRC channel instead.

Offline PaulF

  • Member
  • *
  • Posts: 49
Re: Build failing on my new Banana Pi
« Reply #3 on: February 25, 2017, 07:01:02 PM »
The Banana Pi is my Linux dev machine. I started using Raspberry Pi when designing a hardware Pi hat and it made it easier to debug the device tree. For some reason I thought staying in the Pi environment would easier. The Banana Pi has a eight cores and is faster than my Win7/cygwin machine.

There were two sdl options. I chose the one that said app. I missed the generic one with the end of the platform list being "etc ...".

I tried the generic and it is now moved past that failure point and is compiling tools. Thanks.

I tried  IRC once and had lots of trouble with simple things like logging in/out, doing replies etc. I ended up just killing the IRC app.
Logged

Offline pamaury

  • Developer
  • Member
  • *
  • Posts: 508
Re: Build failing on my new Banana Pi
« Reply #4 on: February 26, 2017, 05:19:04 AM »
Hi,
I am a little bit confused, why do you mention "sdl" ? You only need a special toolchain if you compile for a real target. If you are compiling the simulator (ie sdl), the host toolchain will be enough.
Logged
Please don't PM me, use our IRC channel instead.

Offline PaulF

  • Member
  • *
  • Posts: 49
Re: Build failing on my new Banana Pi
« Reply #5 on: February 27, 2017, 12:24:21 AM »
Quote from: pamaury on February 26, 2017, 05:19:04 AM
Hi,
I am a little bit confused, why do you mention "sdl" ? You only need a special toolchain if you compile for a real target. If you are compiling the simulator (ie sdl), the host toolchain will be enough.
Yes, after installing the toolchain I figured out it was a waste of time. I saw the chart where some compiler versions don't work so I thought I would do the simple script to get a known working compiler. I still get the same compile errors as the host dev tools using the 200 SDL  configure option. I never thought to compile the simulator...duh. I will give it a try. Thanks.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Build failing on my new Banana Pi
 

  • SMF 2.0.18 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.066 seconds with 17 queries.