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:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  sh-elf-gcc: not found
« previous next »
  • Print
Pages: [1]

Author Topic: sh-elf-gcc: not found  (Read 3241 times)

Offline Renderking

  • Member
  • *
  • Posts: 5
    • Renderking
sh-elf-gcc: not found
« on: September 08, 2013, 04:51:55 AM »
Hi!

I have an Archos Recorder (V1) and try to install a 256 GB SSD.
Unfortunately its not working, even I follow all the instructions here http://www.rockbox.org/wiki/BigDisk to the spot.
Trying to use the provided build there, but the second partition is never showing up as <HD1> like it's described there.
So now I try to make my own build and again follow all the instructions of the development guide using the VirtualBox image.
But when I run the ../tools/configure I get this after selecting "Normal" :

Code: [Select]
Normal build selected
Using source code root directory: /home/ubuntu/rockbox
../tools/configure: 1: ../tools/configure: sh-elf-gcc: not found
../tools/configure: 1: ../tools/configure: sh-elf-ld: not found
[WARNING] The compiler you must use (sh-elf-gcc) is not in your path!
[WARNING] this may cause your build to fail since we cannot do the
[WARNING] checks we want now.
Using sh-elf-ld
../tools/configure: 3755: test: Illegal number:
../tools/configure: 1: ../tools/configure: sh-elf-gcc: not found
WARNING: You use an unpatched gcc compiler:
WARNING: http://www.rockbox.org/twiki/bin/view/Main/CrossCompiler
../tools/configure: 3804: ../tools/configure: sh-elf-cpp: not found
Warning: Could not determine target arch
Created Makefile
ubuntu@ubuntu-VirtualBox:~/rockbox/build$
:(
So, it seems not everything is prepared that it will work.
Where do I put the sh-elf-gcc ?
Or what do I have to do?  ???

When I select Advance and then Simulator it's working.

I'm not a Linux user, but can catch up fast as when told how things work.
Unfortunately I could not find anything about this on the Rockbox site.

Any help is much appreciated!

Thanks,
Jan.


PS: I also tried the BigDisk approach with a 160 GB regular disk, but it was not working es well.
The Interface on the AJR board shows V2.1B.
Logged

Offline Renderking

  • Member
  • *
  • Posts: 5
    • Renderking
Re: sh-elf-gcc: not found
« Reply #1 on: September 08, 2013, 05:42:36 AM »
Okay, I managed to get things done once I went through the "Simple Guide To Compiling In Linux ".

But now I have another problem:
Code: [Select]
error: firmware image is 205518 bytes while max size is 204800!
make: *** [/home/ubuntu/rockbox/build/ajbrec.ajz] Error 255

What can I do to make the firmware image smaller ??

Thanks,
Jan.
Logged

Offline Renderking

  • Member
  • *
  • Posts: 5
    • Renderking
Re: sh-elf-gcc: not found
« Reply #2 on: September 22, 2013, 01:07:26 PM »
so here the same ....

found my own solution:

When I make a build with RB version 3.9, it is still small enough for my Archos JukeBox Recorder, which is fine to me as it provides all the features I need.

I made my build available in the Big Disk Wiki here: http://www.rockbox.org/wiki/BigDisk

Best,
Jan.
Logged

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: sh-elf-gcc: not found
« Reply #3 on: September 22, 2013, 05:19:31 PM »
That's great and all...but, two things:

1: I don't see any sources.
2: Even if this existed on the Wiki previously undisturbed, the "right" place for these binaries is the Unsupported Builds section of the Forum so that people don't confuse them with binaries issued by Rockbox proper and understand that these builds are not supported.

Apologies if it seems bitchy, you're doing a good thing.


[Saint]
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline nls

  • Developer
  • Member
  • *
  • Posts: 460
Re: sh-elf-gcc: not found
« Reply #4 on: October 04, 2013, 01:11:52 PM »
If you want to build a current rockbox for that target you need to remove some code from the build, the target's config file in firmware/export/config might have swomething you can turn off that you don't need
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  sh-elf-gcc: not found
 

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

Page created in 0.051 seconds with 20 queries.