Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
12 years ago

Failed during changing the permission "Superloop Example"

Hello Friend,

I am trying to implement Ethernet connectivity on my ESDK board without using OS, and for this i am using Superloop example

http://www.alterawiki.com/wiki/superloop_simple_socket_server_plus (http://www.alterawiki.com/wiki/superloop_simple_socket_server_plus)

for this i need to first run a script ./create-this-app which is in software_example directory having many other folders.

but during script run it stops after generating few files saying that.

1 chmod: chnaging permission of '/rozipfs_example.tgz" :permission denied

2 chmod: changing permission of '/srozipfs/test_1.txt' " :permission denied

3 chmod: changing permission of '/srozipfs/test_2.txt' " :permission denied

4 chmod: changing permission of '/srozipfs/test_3.txt' " :permission denied

etc.

i have also untar all these files from linux and change permission using "chmod 777 filename" but no gain these error remain their during script run.

How do i come out form this kind of problem.

Regards

kaushal

10 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Had very similar problems regarding permissions trying to run that script on a project located on a network drive mapped to a drive on a PC. Moving the project to the local C drive cleared all such permission problems...

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thanking you for reply, Ok i have put all the directories and archive files in C Drive and again run the script "./create-this-app",

    now it generate some files and stuck at point and saying that "no such file or directories" for include.h
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Where is 'include.h' located? If it's in either the project directory or _bsp directory it will be found. Those two paths are included in the project by default. If it is elsewhere you will either have to add an include path to your project, specifying the folder it is in, or specify the relative path within your include statement:

    #include "../INC/include.h".

    Finally, you are using double quotes to specify the include file, not angle brackets - aren't you?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    i haven't found any "include.h" file in project directory or _bsp directory or not even my project folder that is superloop_sss_plus_3c120_marvell_11.0sp1

    do you have a copy of include.h file ....?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Is Any buddy successfully implement superloop on altera ESDK board...?

    as i am facing error's like missing files (include.h ) etc.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I assumed the compiler couldn't find your 'include'h'. I didn't realise you didn't even have one.

    If you've downloaded the superloop project then I have to assume the include file you need is in there somewhere. I don't mind having a look if you point me to where you sourced the project...
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hello There,

    Thanks for reply.

    I have download this superloop example from http://www.alterawiki.com/wiki/superloop_simple_socket_server_plus

    and download 20110828_superloop_sss_plus_3c120_marvell_11.0sp1.tgz (http://www.alterawiki.com/uploads/e/eb/20110828_superloop_sss_plus_3c120_marvell_11.0sp1.tgz) as i am using Quartus 11.0 SP1

    and unzip the archive using tar -xzf <file name>, then run the script from software_example folder that is ./create-this-app using bash (having gcc4).

    at the end of this script run , i got error message (as attached in my previous post on same thread).

    i am doing all these stuff on C drive and folder name have no space (as mentioned in alterawiki page)

    Regards

    *Attached is print-screen of bash (Quartus 9.0) using