Jump to content

sonalidutta

Members
  • Content Count

    32
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by sonalidutta

  1. Thanks Alan! Dear Developer, Can you please specifically tell me the following ? : 1. Which Makefile do I need to modify manually? 2. What commands do I need to run to auto-generate the rest of the Makefiles? gmake, gmake install are the final steps to compile and install the systemc package. But before that I need to generate the necessary Makefiles. How do I do that? As mentioned before I modified files in kernel and added 4 new files in kernel. Please let me know the commands. Thanks Sonali
  2. Hi, I am working on Runtime Monitoring of SystemC models. One of my projects requires adding some callbacks to the systemc kernel. In systemc-2.3.0/src/sysc/kernel: I added 4 new files: mon_prototype.cpp/h mon_observer.cpp/h I also did some minimal modification(adding callbacks) to: sc_event.cpp/h sc_sim_context.cpp/h sc_object.cpp/h sc_thread_process.h I did the required modification to : systemc-2.3.0/src/systemc. There are hierarchical Makefiles: Makefile.in and Makefile.am in systemc-2.3.0 My question is: what is the clean way of doing this Makefile modifications? How many Makefiles do I need to modify manually? I definitely need to change one of the Makefile.in and Makefile.am in src/sysc/kernel. My guess is that I can regenerate the other Makefiles(modified) using automake and aclocal. I need to know the right way to do it. Finally, I want to release the modified systems-2.3.0 kernel that can be compiled and installed using the same steps described in systems-2.3.0/INSTALL. Can anybody from the developer group advise me in this respect? Regards Sonali
  3. Problem solved! Thanks Alan. P.S. For systemc-2.2.0 I needed to run aclocal and automake in addition to the INSTALL file steps to install it in Red Hat. It was pretty messy! I tried the same set of steps (by default) for the new version of systemc, systemc-2.3.0. But looks like systemc-2.3.0 is more robust and can be installed just by the steps in its INSTALL file.
  4. Problem solved using the following steps: cd systemc-2.3.0 mkdir objdir cd objdir ../configure gmake gmake install Thanks Sonali
  5. I again started from the scratch and tried ./configure gmake gmake install gmake install gives me the gfollowing error: gmake[5]: Entering directory `/root/Desktop/CHIMP_ea/systemc-2.3.0/examples/sysc/fft/fft_flpt' gmake[5]: Nothing to be done for `install-exec-am'. /bin/sh /root/Desktop/CHIMP_ea/systemc-2.3.0/config/install-sh -d . for file in in_imag in_imag.1 in_imag.2 in_imag.3 in_imag.4 in_real in_real.1 in_real.2 in_real.3 in_real.4 out_imag.1.golden out_imag.2.golden out_imag.3.golden out_imag.4.golden out_real.1.golden out_real.2.golden out_real.3.golden out_real.4.golden fft.cpp main.cpp sink.cpp source.cpp fft.h sink.h source.h; do \ /usr/bin/install -c -m 644 ./$file ./$file; \ done /usr/bin/install: `./in_imag' and `./in_imag' are the same file /usr/bin/install: `./in_imag.1' and `./in_imag.1' are the same file /usr/bin/install: `./in_imag.2' and `./in_imag.2' are the same file /usr/bin/install: `./in_imag.3' and `./in_imag.3' are the same file /usr/bin/install: `./in_imag.4' and `./in_imag.4' are the same file /usr/bin/install: `./in_real' and `./in_real' are the same file /usr/bin/install: `./in_real.1' and `./in_real.1' are the same file /usr/bin/install: `./in_real.2' and `./in_real.2' are the same file /usr/bin/install: `./in_real.3' and `./in_real.3' are the same file /usr/bin/install: `./in_real.4' and `./in_real.4' are the same file /usr/bin/install: `./out_imag.1.golden' and `./out_imag.1.golden' are the same file /usr/bin/install: `./out_imag.2.golden' and `./out_imag.2.golden' are the same file /usr/bin/install: `./out_imag.3.golden' and `./out_imag.3.golden' are the same file /usr/bin/install: `./out_imag.4.golden' and `./out_imag.4.golden' are the same file /usr/bin/install: `./out_real.1.golden' and `./out_real.1.golden' are the same file /usr/bin/install: `./out_real.2.golden' and `./out_real.2.golden' are the same file /usr/bin/install: `./out_real.3.golden' and `./out_real.3.golden' are the same file /usr/bin/install: `./out_real.4.golden' and `./out_real.4.golden' are the same file /usr/bin/install: `./fft.cpp' and `./fft.cpp' are the same file /usr/bin/install: `./main.cpp' and `./main.cpp' are the same file /usr/bin/install: `./sink.cpp' and `./sink.cpp' are the same file /usr/bin/install: `./source.cpp' and `./source.cpp' are the same file /usr/bin/install: `./fft.h' and `./fft.h' are the same file /usr/bin/install: `./sink.h' and `./sink.h' are the same file /usr/bin/install: `./source.h' and `./source.h' are the same file gmake[5]: *** [install-data-local] Error 1 gmake[5]: Leaving directory `/root/Desktop/CHIMP_ea/systemc-2.3.0/examples/sysc/fft/fft_flpt' gmake[4]: *** [install-am] Error 2 gmake[4]: Leaving directory `/root/Desktop/CHIMP_ea/systemc-2.3.0/examples/sysc/fft/fft_flpt' gmake[3]: *** [install-recursive] Error 1 gmake[3]: Leaving directory `/root/Desktop/CHIMP_ea/systemc-2.3.0/examples/sysc/fft' gmake[2]: *** [install-recursive] Error 1 gmake[2]: Leaving directory `/root/Desktop/CHIMP_ea/systemc-2.3.0/examples/sysc' gmake[1]: *** [install-recursive] Error 1 gmake[1]: Leaving directory `/root/Desktop/CHIMP_ea/systemc-2.3.0/examples' gmake: *** [install-recursive] Error 1 What are thses wierd errors? Is this the reason the INSTALL file asks to create a new directory objdir and install there? Regards Sonali
  6. Dear developer, Thanks for the reply. I followed the steps listed in INSTALL file of systemc-2.3.0 package. If those steps are not the right ones, please change it there. I am using Red Hat 5.9 As you said, I am trying to install it now by: ./configure, gmake, make install Do you mean gmake install instead of make install? I get the following error when I run gmake: Making all in include gmake[4]: Entering directory `/root/Desktop/CHIMP_ea/systemc-2.3.0/examples/sysc/2.3/include' gmake[4]: *** No rule to make target `sc_rvd.h', needed by `all-am'. Stop. gmake[4]: Leaving directory `/root/Desktop/CHIMP_ea/systemc-2.3.0/examples/sysc/2.3/include' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/root/Desktop/CHIMP_ea/systemc-2.3.0/examples/sysc/2.3' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/root/Desktop/CHIMP_ea/systemc-2.3.0/examples/sysc' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/root/Desktop/CHIMP_ea/systemc-2.3.0/examples' gmake: *** [all-recursive] Error 1 Regards Sonali
  7. Hi, I am installing the latest version of systemc-2.3.0 using the following commands: cd systemc-2.3.0 mkdir objdir cd objdir export CXX=g++ ../configure cd .. aclocal automake cd objdir gmake While running gmake I get the following Error: Making all in kernel gmake[3]: Entering directory `/root/Desktop/CHIMP_ea/systemc-2.3.0/objdir/src/sysc/kernel' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DSC_INCLUDE_FX -I. -I../../../../src/sysc/kernel -I../../../../src -Wall -m64 -O3 -MT sc_attribute.lo -MD -MP -MF .deps/sc_attribute.Tpo -c -o sc_attribute.lo ../../../../src/sysc/kernel/sc_attribute.cpp mv -f .deps/sc_attribute.Tpo .deps/sc_attribute.Plo mv: cannot stat `.deps/sc_attribute.Tpo': No such file or directory gmake[3]: *** [sc_attribute.lo] Error 1 gmake[3]: Leaving directory `/root/Desktop/CHIMP_ea/systemc-2.3.0/objdir/src/sysc/kernel' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/root/Desktop/CHIMP_ea/systemc-2.3.0/objdir/src/sysc' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/root/Desktop/CHIMP_ea/systemc-2.3.0/objdir/src' gmake: *** [all-recursive] Error 1 I would like to point out here that gmake produces the following message too: ../configure: line 5134: AX_PTHREAD: command not found Also I have the following packages installed in /usr/local: autoconf-2.69 automake-1.10.1 libtool-2.4 aclocal-1.10.1 GNU Make 3.81 It will be really helpful if anyone can think of what is wrong here! Thanks Sonali
×
×
  • Create New...