Archc Problem

90 views
Skip to first unread message

Arij Shallufa

unread,
Mar 12, 2015, 12:57:05 PM3/12/15
to mpsoc...@googlegroups.com
Dear Sir or Madam,

While installing MPSoCBench by following the steps of "How To Install" a problem occured after running "make" in archc folder. I send it as screenshot.

I ignored it and continued the Installing steps, so while trying to use MPSoCBench, it didn't worked. Here is some examples:

mp@mp-VirtualBox:~$ cd /opt/MPSoCBench
mp@mp-VirtualBox:/opt/MPSoCBench$ ./MPSoCBench -b -p=sparc -s=basicmath -i=router.lt -n=4
[['sparc'], ['4'], ['basicmath'], ['router.lt']]
make[1]: *** No rule to make target `distclean'.  Stop.
make: *** [distclean] Error 2
make[1]: *** No rule to make target `distclean'.  Stop.
make: *** [distclean] Error 2
Making IP tlm_memory ...
In file included from tlm_memory.cpp:59:0:
tlm_memory.h:57:29: fatal error: ac_tlm_protocol.H: No such file or directory
compilation terminated.
make[1]: *** [tlm_memory.o] Error 1
Making IP tlm_lock ...
In file included from tlm_lock.cpp:20:0:
tlm_lock.h:47:29: fatal error: ac_tlm_protocol.H: No such file or directory
compilation terminated.
make[1]: *** [tlm_lock.o] Error 1
Making IS tlm_router ...
In file included from tlm_router.cpp:54:0:
tlm_router.h:59:29: fatal error: ac_tlm_protocol.H: No such file or directory
compilation terminated.
make[1]: *** [tlm_router.o] Error 1
Making Processor sparc ...
--- No simulator found, using acsim to generate one.
make[1]: /opt/archc/bin/acsim: Command not found
make[1]: *** [sparc.cpp] Error 127
Making Software basicmath ...
Making Platform platform.router.lt
main.cpp:42:20: fatal error: sparc.H: No such file or directory
compilation terminated.
make[1]: *** [main.o] Error 1
make: *** [all] Error 2
Creating rundir for sparc.router.lt.4.basicmath...
---copy platform.router.lt.x to the appropriate rundir
cp: cannot stat `platform.router.lt.x': No such file or directory
make[1]: *** [copy] Error 1
make: *** [copy] Error 2

or

mp@mp-VirtualBox:~$ cd /opt/MPSoCBench
mp@mp-VirtualBox:/opt/MPSoCBench$ ./MPSoCBench -b -p=mips -s=dijkstra -i=noc.lt -n=64
[['mips'], ['64'], ['dijkstra'], ['noc.lt']]
make[1]: *** No rule to make target `distclean'.  Stop.
make: *** [distclean] Error 2
make[2]: *** No rule to make target `distclean'.  Stop.
make[1]: *** [distclean] Error 2
Making IP tlm_memory ...
ar: creating libtlm_memory.a
Making IP tlm_lock ...
ar: creating libtlm_lock.a
Making IS tlm_noc_lt ...
ar: creating libtlm_noc_lt.a
Making Processor mips ...
--- No simulator found, using acsim to generate one.
ArchC: Parsing AC_ARCH declaration file: mips_block.ac
ArchC: Parsing AC_ISA declaration file: mips_isa.ac
make[1]: *** [mips.cpp] Segmentation fault (core dumped)
make[1]: *** Deleting file `mips.cpp'
Making Software dijkstra ...
make[1]: mips-elf-gcc: Command not found
make[1]: *** [dijkstra_allpair.o] Error 127
cp: cannot stat `sw/dijkstra/*.x': No such file or directory
make: *** [all] Error 1
Creating rundir for mips.noc.lt.64.dijkstra...
---copy platform.noc.lt.x to the appropriate rundir
cp: cannot stat `platform.noc.lt.x': No such file or directory
make[1]: *** [copy] Error 1
make: *** [copy] Error 2

Thank you for your help

Best Regards,
Arij Shallufa
Archc make Error 127.png

Liana Duenha

unread,
Mar 13, 2015, 9:36:54 AM3/13/15
to mpsoc...@googlegroups.com
Hello Arij Shallufa
The problem is that the ArchC make failed because the m4 package was not found.

Try to run 

apt-get install build-essential automake libtool

or if you don't feel confortable using the terminal, use the Ubuntu packgae manager to install those packages.

Next, you can try configure and compile ArchC again.

Let me know if you succeeded in solving the problem.

Liana Duenha




--
You received this message because you are registered to the group "MPSoCBench" Google Groups.
To post to this group, send email to mpsoc...@googlegroups.com
Visit this group http://groups.google.com/group/mpsocbench?hl=en
---
You received this message because you are subscribed to the Google Groups "MPSoCBench" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mpsocbench+...@googlegroups.com.
To post to this group, send email to mpsoc...@googlegroups.com.
Visit this group at http://groups.google.com/group/mpsocbench.



--
-------------------------------------------------------------------------
Liana Duenha

Faculdade de Computação - FACOM/UFMS
Website Institucional: www.facom.ufms.br


Faculty of Computing - FACOM/UFMS
Faculty Website: www.facom.ufms.br

Arij Shallufa

unread,
Mar 13, 2015, 12:05:18 PM3/13/15
to mpsoc...@googlegroups.com
Hello Liana,

thank you very much for your quick help.
I ran this command and it works for me.

Arij Shallufa
Reply all
Reply to author
Forward
0 new messages