Need Help

67 views
Skip to first unread message

aziz jarrouj

unread,
Feb 12, 2019, 12:55:10 PM2/12/19
to NIRGAM Users
Please I need your help and thanks for your kindness.
I'm trying to install nirgam2.1
OS: LINUX Ubunto16 32bit
when I executed make command, I got this:
aziz@ubuntu:~/Desktop/nirgam 2.1$ make
g++  -shared -Wl,-soname,application/lib/App_send.so -o application/lib/App_send.so application/src/App_send.o
g++  -shared -Wl,-soname,application/lib/App_concat.so -o application/lib/App_concat.so application/src/App_concat.o
g++  -shared -Wl,-soname,application/lib/App_recv.so -o application/lib/App_recv.so application/src/App_recv.o
g++  -shared -Wl,-soname,application/lib/CBR.so -o application/lib/CBR.so application/src/CBR.o
g++  -shared -Wl,-soname,application/lib/Bursty.so -o application/lib/Bursty.so application/src/Bursty.o
g++  -shared -Wl,-soname,application/lib/VBR.so -o application/lib/VBR.so application/src/VBR.o
g++  -shared -Wl,-soname,application/lib/Trace_traffic.so -o application/lib/Trace_traffic.so application/src/Trace_traffic.o
g++  -shared -Wl,-soname,application/lib/Sink.so -o application/lib/Sink.so application/src/Sink.o
g++  -shared -Wl,-soname,application/lib/Multimedia.so -o application/lib/Multimedia.so application/src/Multimedia.o
g++  -g2 -rdynamic -I. -I.. -I./systemC/include -o router/src/OE_router.o -c router/src/OE_router.cpp
g++  -g2 -rdynamic -I. -I.. -I./systemC/include -o router/src/XY_router.o -c router/src/XY_router.cpp
g++  -g2 -rdynamic -I. -I.. -I./systemC/include -o router/src/source_router.o -c router/src/source_router.cpp
g++  -g2 -rdynamic -I. -I.. -I./systemC/include -o router/src/Q_router.o -c router/src/Q_router.cpp
g++  -g2 -rdynamic -I. -I.. -I./systemC/include -o router/src/DYADrouter.o -c router/src/DYADrouter.cpp
g++  -g2 -rdynamic -I. -I.. -I./systemC/include -o router/src/maxy_router.o -c router/src/maxy_router.cpp
g++  -g2 -rdynamic -I. -I.. -I./systemC/include -o router/src/ftxy.o -c router/src/ftxy.cpp
g++  -g2 -rdynamic -I. -I.. -I./systemC/include -o router/src/PROM_router.o -c router/src/PROM_router.cpp
g++  -g2 -rdynamic -I. -I.. -I./systemC/include -o router/src/ER_router.o -c router/src/ER_router.cpp
g++  -shared -Wl,-soname,router/lib/OE_router.so -o router/lib/OE_router.so router/src/OE_router.o
g++  -shared -Wl,-soname,router/lib/XY_router.so -o router/lib/XY_router.so router/src/XY_router.o
g++  -shared -Wl,-soname,router/lib/source_router.so -o router/lib/source_router.so router/src/source_router.o
g++  -shared -Wl,-soname,router/lib/Q_router.so -o router/lib/Q_router.so router/src/Q_router.o
g++  -shared -Wl,-soname,router/lib/DYADrouter.so -o router/lib/DYADrouter.so router/src/DYADrouter.o
g++  -shared -Wl,-soname,router/lib/maxy_router.so -o router/lib/maxy_router.so router/src/maxy_router.o
g++  -shared -Wl,-soname,router/lib/ftxy.so -o router/lib/ftxy.so router/src/ftxy.o
g++  -shared -Wl,-soname,router/lib/PROM_router.so -o router/lib/PROM_router.so router/src/PROM_router.o
g++  -shared -Wl,-soname,router/lib/ER_router.so -o router/lib/ER_router.so router/src/ER_router.o
g++  -g2 -rdynamic -I. -I.. -I./systemC/include -L. -L.. -L./systemC/lib-linux -o nirgam core/rng.o core/fifo.o core/InputChannel.o core/ipcore.o core/OutputChannel.o core/VCAllocator.o core/NWTile.o core/NoC.o core/orion/SIM_array_l.o core/orion/SIM_array_m.o core/orion/SIM_cam.o core/orion/SIM_router.o core/orion/SIM_arbiter.o core/orion/SIM_crossbar.o core/orion/SIM_router_power.o core/orion/orion_router_power.o core/orion/SIM_ALU.o core/orion/SIM_misc.o core/orion/SIM_permu.o core/orion/SIM_static.o core/orion/SIM_link.o core/orion/SIM_clock.o core/orion/SIM_util.o core/orion/SIM_time.o core/orion/orion_router_area.o core/orion/SIM_router_area.o core/main.o core/Controller.o core/ranvar.o application/src/TG.o application/src/Traffic_patterns.o application/src/NED_traffic.o -lsystemc -lm -ldl  2>&1 | c++filt
core/fifo.o: In function `sc_dt::sc_uint_base::print(std::ostream&) const':
/home/aziz/Desktop/nirgam 2.1/./systemC/include/sysc/datatypes/int/sc_uint_base.h:831: undefined reference to `sc_dt::sc_uint_base::to_string[abi:cxx11](sc_dt::sc_numrep, bool) const'
core/InputChannel.o: In function `sc_trace(sc_core::sc_trace_file*&, creditLine const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/home/aziz/Desktop/nirgam 2.1/core/credit.h:61: undefined reference to `sc_core::sc_trace(sc_core::sc_trace_file*, sc_dt::sc_bit const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/aziz/Desktop/nirgam 2.1/core/credit.h:62: undefined reference to `sc_core::sc_trace(sc_core::sc_trace_file*, sc_dt::sc_bit const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
core/InputChannel.o: In function `sc_core::sc_inout<sc_dt::sc_uint<64> >::end_of_elaboration()':
/home/aziz/Desktop/nirgam 2.1/./systemC/include/sysc/communication/sc_signal_ports.h:1124: undefined reference to `sc_core::sc_trace(sc_core::sc_trace_file*, sc_dt::sc_uint_base const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
core/InputChannel.o: In function `sc_core::sc_in<sc_dt::sc_uint<5> >::end_of_elaboration()':
/home/aziz/Desktop/nirgam 2.1/./systemC/include/sysc/communication/sc_signal_ports.h:285: undefined reference to `sc_core::sc_trace(sc_core::sc_trace_file*, sc_dt::sc_uint_base const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
core/InputChannel.o: In function `sc_core::sc_inout<sc_dt::sc_uint<32> >::end_of_elaboration()':
/home/aziz/Desktop/nirgam 2.1/./systemC/include/sysc/communication/sc_signal_ports.h:1124: undefined reference to `sc_core::sc_trace(sc_core::sc_trace_file*, sc_dt::sc_uint_base const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
core/InputChannel.o: In function `sc_core::sc_in<sc_dt::sc_uint<3> >::end_of_elaboration()':
/home/aziz/Desktop/nirgam 2.1/./systemC/include/sysc/communication/sc_signal_ports.h:285: undefined reference to `sc_core::sc_trace(sc_core::sc_trace_file*, sc_dt::sc_uint_base const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
core/InputChannel.o: In function `sc_core::sc_inout<sc_dt::sc_uint<2> >::end_of_elaboration()':
/home/aziz/Desktop/nirgam 2.1/./systemC/include/sysc/communication/sc_signal_ports.h:1124: undefined reference to `sc_core::sc_trace(sc_core::sc_trace_file*, sc_dt::sc_uint_base const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
core/VCAllocator.o:/home/aziz/Desktop/nirgam 2.1/./systemC/include/sysc/communication/sc_signal_ports.h:1124: more undefined references to `sc_core::sc_trace(sc_core::sc_trace_file*, sc_dt::sc_uint_base const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' follow
collect2: error: ld returned 1 exit status


what should I do?????

phd Asma Benmessaoud

unread,
Feb 13, 2019, 12:48:07 PM2/13/19
to NIRGAM Users
Hi Aziz, 

I think it's related to some incorrect characters present in the makefile, provided with the downloaded version. 
Try resuming installation with the makefile in attachment , I think it would be better ! 

Don't hesitate if meeting other troubles.

Regards, 
Makefile

aziz jarrouj

unread,
Feb 16, 2019, 6:04:33 PM2/16/19
to NIRGAM Users
Hi
thanks for your concern
I copied the file and tried "make"

$ make
make: *** No rule to make target '/opt/systemc-2.3.1/lib-linux/libsystemc.a', needed by 'nirgam'.  Stop.

:(

Tejesh Kodeboina

unread,
Mar 13, 2019, 11:27:21 PM3/13/19
to NIRGAM Users
same problem did you get the solution

phd Asma Benmessaoud Gabis

unread,
Mar 16, 2019, 7:47:41 PM3/16/19
to nirgam...@googlegroups.com
It is probably due to the library you use. 
Nirgam is designed for 32-bit architecture. So, if your OS is a 64-bits architecture, then you need to install a library making correspondance between them. 

Le jeu. 14 mars 2019 à 04:27, Tejesh Kodeboina <teje...@gmail.com> a écrit :
same problem did you get the solution

--
You received this message because you are subscribed to the Google Groups "NIRGAM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nirgam-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Phd Student A. Benmessaoud Gabis
Laboratoire LMCS.
Ecole Supérieure d'Informatique.
Oued Smar, Algérie.
http://www.esi.dz/

Tejesh Kodeboina

unread,
Mar 16, 2019, 9:53:53 PM3/16/19
to nirgam...@googlegroups.com
No i am using 32 bit architecture only. But i am facing the the problem. Is there any other solution for that problem.

SAI REDDY

unread,
Jan 25, 2023, 7:29:49 AM1/25/23
to NIRGAM Users
hello, did this problem solved? I'm also stuck at this stage for a week, so any help will be appreciated

JUNAID ALI

unread,
May 31, 2023, 6:17:22 PM5/31/23
to NIRGAM Users
I am facing the same problem. Is the problem solved?
Do share the solution
Any help would make a big improvement.
Reply all
Reply to author
Forward
0 new messages