Rockbox Development > Starting Development and Compiling

/bin/sh: iaudio_bl_flash.c: Permission denied, compilation error

(1/1)

Job Van Dam:

--- Code: ---$ make
make[1]: `rdf2binary' is up to date.
make[1]: `convbdf' is up to date.
make[1]: `codepages' is up to date.
./bmp2rb -f 7 -h . iaudio_bl_flash.bmp >iaudio_bl_flash.c
/bin/sh: iaudio_bl_flash.c: Permission denied
make[1]: *** [iaudio_bl_flash.h] Error 1
make: *** [tools] Error 2
--- End code ---

That's the error I'm getting.
 - I've tried "make clean"
 - changed the path to "export PATH=/opt/sh/bin:/opt/m68k/bin:/opt/arm/bin:/bin:$PATH"
 - had no problems installing Cygwin or the Rockbox packages

Any suggestions would be greatly appreciated, thank you.

tdtooke:
I have no idea, but the first thing I would do is run "ls -ld" on the tools directory to find out what permissions you have.  If for some strange reason you don't have writing permissions that could be it.  This is with me assuming that the problem is bmp2rb trying to write the file iaudio_bl_flash.c to the tools directory.  There is an excellent chance I'm completely wrong here since when I used cygwin I never had any problems with permissions.

Job Van Dam:
Hiiyyyooooo! Thanks tenfold TDtooke.

This has come up before but I forgot about it but when I moved files from my old PC to my new PC the permissions get out of whack. All fixed now, IOU.

EDIT: Is there any reason why the simulator would constantly give a Codec Failure message when trying to play music? Furthermore it stops the music from playing in Winamp and even Winamp starts to act weird like fast forwarding the music when it doesn't have focus but when given focus again it goes back to it's original position in the audio track.

EDIT #2: Nevermind, restart and a re-compilation fixed it... I see you guys have changed some things in regards to the plugins api and the plugin_status plugin_start function...

Navigation

[0] Message Index

Go to full version