Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20704 Discussions

Failed during changing the permission "Superloop Example"

Altera_Forum
Honored Contributor II
1,434 Views

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
0 Kudos
10 Replies
Altera_Forum
Honored Contributor II
656 Views

print screen of error's 

 

include.h no such file etc
0 Kudos
Altera_Forum
Honored Contributor II
656 Views

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...

0 Kudos
Altera_Forum
Honored Contributor II
656 Views

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
0 Kudos
Altera_Forum
Honored Contributor II
656 Views

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?
0 Kudos
Altera_Forum
Honored Contributor II
656 Views

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 ....?
0 Kudos
Altera_Forum
Honored Contributor II
656 Views

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

 

as i am facing error's like missing files (include.h ) etc.
0 Kudos
Altera_Forum
Honored Contributor II
656 Views

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...
0 Kudos
Altera_Forum
Honored Contributor II
656 Views

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
0 Kudos
Altera_Forum
Honored Contributor II
656 Views

BeMicro SDK do you mean? 

 

I got it working eventually.....  

 

http://www.alteraforum.com/forum/showthread.php?t=33094&highlight=bemicro+superloop
0 Kudos
Altera_Forum
Honored Contributor II
656 Views

thanks rob, 

 

will try this out ...
0 Kudos
Reply