Jump to content


  • Content Count

  • Joined

  • Last visited

About donpalavi

  • Rank

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. OK. I have exchanged some thoughts with the course organization: When I compile with my amd64 system the systemc code, I get the "lib64-linux64" library, while the leader of the course get the "lib-linux64" library. This fact might interesting to the developers. So any ideas, why it is how it is? For me, it is no matter, because I can work now. Greets Ahmed
  2. One Mistake I had, was with the makefile of test program of my course: UNIT=main OBJS=$(UNIT).o TARGET=$(UNIT) CXX=g++ CC=gcc ARCH ?= $(shell uname -m) ifeq ($(ARCH),x86_64) LIBDIR = -L $(SYSTEMC_HOME)/lib-linux64 else LIBDIR = -L $(SYSTEMC_HOME)/lib-linux endif INCDIR = -I $(SYSTEMC_HOME)/include LIBS = -lsystemc -lm $(EXTRA_LIBS) all: $(TARGET) $(TARGET): $(OBJS) $(CXX) $(CFLAGS) $(INCDIR) $(LIBDIR) -o $@ $(OBJS) $(LIBS) #%.o: %.cpp # $(CXX) $(CFLAGS) $(INCDIR) -g -c -Wno-deprecated $< -o $@ $(UNIT).o: $(UNIT).cpp Producer.h Consumer.h $(CXX) $(CFLAGS) $(INCDIR) -g -c -Wn
  3. Yes you seem to be right, with the missing or broken libraries: I do have another openSUSE Tumbleweed system on my notebook, which does the latest c++ compiler and libraries. I tried these following steps trying to build a new systemc installation: g++ -v: gcc version 6.2.1 20161209 [gcc-6-branch revision 243481] (SUSE Linux) 1. I set CXX variable: export CXX="g++ -std=c++03" 2. ../configure 3. make 4. make install 5. make check Although, I still have these 10 test errors. Though I have set CXX with std=c++03, he still do not wanted to a
  4. So now I try the program from my course. After setting the systemc_home variable, I get this error during compilation: ahmed@linux-la5e:~/Dropbox/TU-Berlin/SEES_WS1617/systemc/test/a> make g++ -I /home/ahmed/systemc-2.3.1a/include -L /home/ahmed/systemc-2.3.1a/lib-linux64 -o main main.o -lsystemc -lm g++: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found compilation terminated. make: *** [Makefile:22: main] Error 1 ahmed@linux-la5e:~/Dropbox/TU-Berlin/SEES_WS1617/systemc/test/a> The output of g++ -v is ahmed@linux-la5e:~/Dropbox/TU-Berlin/SEES_WS
  5. Ok let's recapitulate: I have tried several times compiling with different compiler versions 6.x and 4.8. With flags like export CXX="g++ -std=c++03" I always get these fails: ============================================================= 10 of 21 tests failed Please report to http://forums.accellera.org/forum/9-systemc/ ============================================================= When I do these changes: File: config/test.sh.in Change the following line (line: 49) from: TESTNAME=`dirname "${TEST}" | sed "s:[^A-Za-z0-9_\@]:_:g" ` to: TESTNAME=`dirname "${TEST}" |
  6. make check: =================== All 11 tests passed ===================
  7. Can you or someone please explain me, how do I compile systemc explicitly with the C++'03 standard? I think that should solve the matter than. And I can do my course work.
  8. I am now at 100. test case and every one have failed yet.
  9. I uploaded my objdir-folder. http://www.file-upload.net/download-12242993/objdir.zip.html
  10. Hello folks, I need to install SystemC 2.3.1 for my Computer Science Course in Berlin Germany. I currently fail to install it on my system: OpenSUSE Tumbleweed 64 Bit. I am using the latest c++ compiler. When I try to install: mkdir objdir cd objdir export CXX=g++ ../configure ... ... make make install make check ///// I get this: /usr/bin/mkdir -p '/home/ahmed/Downloads/systemc-2.3.1a/include/tlm_core/tlm_1/tlm_req_rsp/tlm_adapters' /usr/bin/install -c -m 644 ../../../src/tlm_core/tlm_1/tlm_req_rsp/tlm_adapters/tlm_adapte
  • Create New...