Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 CTS/IUS SystemC missing files ... 

Last post Sat, Aug 1 2009 12:53 PM by NJSH. 3 replies.
Started by NJSH 28 Jul 2009 12:42 PM. Topic has 3 replies and 4958 views
Page 1 of 1 (4 items)
Sort Posts:
  • Tue, Jul 28 2009 12:42 PM

    • NJSH
    • Not Ranked
    • Joined on Thu, Jul 9 2009
    • Posts 5
    • Points 55
    CTS/IUS SystemC missing files ... Reply

    I am trying to compile files from the CTS tutorial simply running the make command, but some files seems missing in the IUS installation. I have just done some minor modification in the Makefile to set the correct path for my tools and avoid deleting things without an explicit 'make clean' command.

    ld: cannot find -lsystemc_sh

    after searching for libsystemc_sh.so I found the file in  /opt/IUS82/tools.lnx86/systemc/lib/64bit/ and /opt/IUS82/tools.lnx86/systemc/lib but they are symbolic links to gnu/libsystemc_sh.so and there is no gnu directory under theses path.

    I had the same problem for TLM libraries (I have no $(NCROOT)/tools/systemc/tlm directory) but I have solved this using an external installation of TLM libraries and changing the search path in the Makefile.

     There is lots of missing files (links pointing to a 'gnu' subdir) in systemc/lib 

    jpeg_idct_tutorial/xilinx> ls -l /opt/IUS82/tools/systemc/lib/64bit/
    total 0
    lrwxrwxrwx 1 softwares FRONT-END 27 2009-04-15 13:12 libncscCoroutines_sh.so -> gnu/libncscCoroutines_sh.so
    lrwxrwxrwx 1 softwares FRONT-END 22 2009-04-15 13:12 libncscCoSim_sh.so -> gnu/libncscCoSim_sh.so
    lrwxrwxrwx 1 softwares FRONT-END 21 2009-04-15 13:12 libncsctlm2_sh.so -> gnu/libncsctlm2_sh.so
    lrwxrwxrwx 1 softwares FRONT-END 20 2009-04-15 13:12 libncsctlm_sh.so -> gnu/libncsctlm_sh.so
    lrwxrwxrwx 1 softwares FRONT-END 12 2009-04-15 13:12 libovm.a -> gnu/libovm.a
    lrwxrwxrwx 1 softwares FRONT-END 13 2009-04-15 13:12 libovm.so -> gnu/libovm.so
    lrwxrwxrwx 1 softwares FRONT-END 19 2009-04-15 13:12 libsystemc_ar.a -> gnu/libsystemc_ar.a
    lrwxrwxrwx 1 softwares FRONT-END 20 2009-04-15 13:12 libsystemc_sh.so -> gnu/libsystemc_sh.so
    lrwxrwxrwx 1 softwares FRONT-END 12 2009-04-15 13:12 ncscpi.o -> gnu/ncscpi.o
    lrwxrwxrwx 1 softwares FRONT-END 11 2009-04-15 13:12 qtmdc.o -> gnu/qtmdc.o
    lrwxrwxrwx 1 softwares FRONT-END 11 2009-04-15 13:12 qtmds.o -> gnu/qtmds.o
    lrwxrwxrwx 1 softwares FRONT-END  8 2009-04-15 13:12 qt.o -> gnu/qt.o
    lrwxrwxrwx 1 softwares FRONT-END 15 2009-04-15 13:12 sc_fpi_nc.o -> gnu/sc_fpi_nc.o
    lrwxrwxrwx 1 softwares FRONT-END 13 2009-04-15 13:12 sc_main.o -> gnu/sc_main.o

     How can I fix this ?

     

    Nicolas

    ---
    Nicolas J. S. Hervé, PhD
    SoPC architect
    LSITEC, www.lsitec.org.br/dh

    ---

    jpeg_idct_tutorial/xilinx> make
    Test run at [...]
    Test run in [...]/jpeg_idct_tutorial/xilinx
    rm -rf run/*
    ncsc_run -dynamic -gnu -I/home/CadenceServer/CTS09/tools/ctos/include -I. -VLOGEXT vg -SCTOP sc_main -I../tb/jpeg-6b -I../tb/xbus -I../Baseline/src -Imodel ../Baseline/src/xbus_hw_idct.cc -I/home/users/nicolas/Applications/SystemC/TLM-2008-06-09/include/tlm -DFUNC_COVERAGE -DTRANS_RECORDING ../tb/xbus/xbus_master.cc ../tb/xbus/xbus_mem_slave.cc  ../tb/demo_top.cc ../tb/xbus_sw_jpeg.cc ../tb/xbus_master_transactor.cc ../tb/djpeg.c ../tb/jidctint.cc ../tb/jidctint_orig.c ../tb/tutorial_lib.v ../tb/jpeg-6b/cdjpeg.c ../tb/jpeg-6b/jcapimin.c ../tb/jpeg-6b/jcapistd.c ../tb/jpeg-6b/jccoefct.c ../tb/jpeg-6b/jccolor.c ../tb/jpeg-6b/jcdctmgr.c ../tb/jpeg-6b/jchuff.c ../tb/jpeg-6b/jcinit.c ../tb/jpeg-6b/jcmainct.c ../tb/jpeg-6b/jcmarker.c ../tb/jpeg-6b/jcmaster.c ../tb/jpeg-6b/jcomapi.c ../tb/jpeg-6b/jcparam.c ../tb/jpeg-6b/jcphuff.c ../tb/jpeg-6b/jcprepct.c ../tb/jpeg-6b/jcsample.c ../tb/jpeg-6b/jctrans.c ../tb/jpeg-6b/jdapimin.c ../tb/jpeg-6b/jdapistd.c ../tb/jpeg-6b/jdatadst.c ../tb/jpeg-6b/jdatasrc.c ../tb/jpeg-6b/jdcoefct.c ../tb/jpeg-6b/jdcolor.c ../tb/jpeg-6b/jddctmgr.c ../tb/jpeg-6b/jdhuff.c ../tb/jpeg-6b/jdinput.c ../tb/jpeg-6b/jdmainct.c ../tb/jpeg-6b/jdmarker.c ../tb/jpeg-6b/jdmaster.c ../tb/jpeg-6b/jdmerge.c ../tb/jpeg-6b/jdphuff.c ../tb/jpeg-6b/jdpostct.c ../tb/jpeg-6b/jdsample.c ../tb/jpeg-6b/jdtrans.c ../tb/jpeg-6b/jerror.c ../tb/jpeg-6b/jfdctflt.c ../tb/jpeg-6b/jfdctfst.c ../tb/jpeg-6b/jfdctint.c ../tb/jpeg-6b/jidctflt.c ../tb/jpeg-6b/jidctfst.c ../tb/jpeg-6b/jidctred.c ../tb/jpeg-6b/jmemmgr.c ../tb/jpeg-6b/jmemnobs.c ../tb/jpeg-6b/jquant1.c ../tb/jpeg-6b/jquant2.c ../tb/jpeg-6b/jutils.c ../tb/jpeg-6b/rdbmp.c ../tb/jpeg-6b/rdcolmap.c ../tb/jpeg-6b/rdgif.c ../tb/jpeg-6b/rdppm.c ../tb/jpeg-6b/rdrle.c ../tb/jpeg-6b/rdswitch.c ../tb/jpeg-6b/rdtarga.c ../tb/jpeg-6b/transupp.c ../tb/jpeg-6b/wrbmp.c ../tb/jpeg-6b/wrgif.c ../tb/jpeg-6b/wrppm.c ../tb/jpeg-6b/wrrle.c ../tb/jpeg-6b/wrtarga.c  \
                    -DCTOS_sim -DCTOS_MODEL=sim \
                    model/jpeg_idct_tutorial_sim.v \
                    -out ncsc_work_sim > log/ncsc_sim_v.log 2>&1
    make: *** [ncsc_sim_v] Error 1


    Here what I have at end of my ..../jpeg_idct_tutorial/xilinx/log/ncsc_sim_v.log:

     

    jpeg_idct_tutorial/xilinx> tail log/ncsc_sim_v.log
    building library ncsc_model.so
    ld: cannot find -lsystemc_sh
    collect2: ld returned 1 exit status
    make: *** [libncsc_model.so] Error 1
    ncsc_run: *E,TBBLDF: Failed to build test library
              ./libncsc_model.so

    Filed under:
    • Post Points: 20
  • Fri, Jul 31 2009 8:30 AM

    • NJSH
    • Not Ranked
    • Joined on Thu, Jul 9 2009
    • Posts 5
    • Points 55
    Re: CTS/IUS SystemC missing files ... Reply

    Help please !

    We do not have a GNU subdirectory in our IUS82/tools/SystemC/lib and lib/64bit/.
    However, their is symbolink links pointing to that dir and theses libraries are needed in our project.

    What is wrong is our installation ?
    Can someone just send us an archive file of the lib/GNU and lib/64bit/GNU directory to fix the problem ?

    Nicolas

    ---
    % ls -l /opt/IUS82/tools/systemc/lib/
    drwxr-xr-x 2 softwares FRONT-END  480 2009-07-28 15:58 64bit
    drwxr-xr-x 2 softwares FRONT-END  200 2008-11-05 22:35 compat
    lrwxrwxrwx 1 softwares FRONT-END   27 2009-04-15 13:12 libncscCoroutines_sh.so -> gnu/libncscCoroutines_sh.so
    lrwxrwxrwx 1 softwares FRONT-END   22 2009-04-15 13:12 libncscCoSim_sh.so -> gnu/libncscCoSim_sh.so
    -rwxr-xr-x 1 softwares FRONT-END 3812 2008-11-06 01:18 libncscdbgsrvrcomms.a
    lrwxrwxrwx 1 softwares FRONT-END   21 2009-04-15 13:12 libncsctlm2_sh.so -> gnu/libncsctlm2_sh.so
    lrwxrwxrwx 1 softwares FRONT-END   20 2009-04-15 13:12 libncsctlm_sh.so -> gnu/libncsctlm_sh.so
    lrwxrwxrwx 1 softwares FRONT-END   12 2009-04-15 13:12 libovm.a -> gnu/libovm.a
    lrwxrwxrwx 1 softwares FRONT-END   13 2009-04-15 13:12 libovm.so -> gnu/libovm.so
    lrwxrwxrwx 1 softwares FRONT-END   19 2009-04-15 13:12 libsystemc_ar.a -> gnu/libsystemc_ar.a
    lrwxrwxrwx 1 softwares FRONT-END   20 2009-04-15 13:12 libsystemc_sh.so -> gnu/libsystemc_sh.so
    lrwxrwxrwx 1 softwares FRONT-END   12 2009-04-15 13:12 ncscpi.o -> gnu/ncscpi.o
    lrwxrwxrwx 1 softwares FRONT-END   11 2009-04-15 13:12 qtmdc.o -> gnu/qtmdc.o
    lrwxrwxrwx 1 softwares FRONT-END   11 2009-04-15 13:12 qtmds.o -> gnu/qtmds.o
    lrwxrwxrwx 1 softwares FRONT-END    8 2009-04-15 13:12 qt.o -> gnu/qt.o
    lrwxrwxrwx 1 softwares FRONT-END   15 2009-04-15 13:12 sc_fpi_nc.o -> gnu/sc_fpi_nc.o
    lrwxrwxrwx 1 softwares FRONT-END   13 2009-04-15 13:12 sc_main.o -> gnu/sc_main.o
    > ls -l /opt/IUS82/tools/systemc/lib/64bit/
    total 0
    lrwxrwxrwx 1 softwares FRONT-END 27 2009-04-15 13:12 libncscCoroutines_sh.so -> gnu/libncscCoroutines_sh.so
    lrwxrwxrwx 1 softwares FRONT-END 22 2009-04-15 13:12 libncscCoSim_sh.so -> gnu/libncscCoSim_sh.so
    lrwxrwxrwx 1 softwares FRONT-END 21 2009-04-15 13:12 libncsctlm2_sh.so -> gnu/libncsctlm2_sh.so
    lrwxrwxrwx 1 softwares FRONT-END 20 2009-04-15 13:12 libncsctlm_sh.so -> gnu/libncsctlm_sh.so
    lrwxrwxrwx 1 softwares FRONT-END 12 2009-04-15 13:12 libovm.a -> gnu/libovm.a
    lrwxrwxrwx 1 softwares FRONT-END 13 2009-04-15 13:12 libovm.so -> gnu/libovm.so
    lrwxrwxrwx 1 softwares FRONT-END 19 2009-04-15 13:12 libsystemc_ar.a -> gnu/libsystemc_ar.a
    lrwxrwxrwx 1 softwares FRONT-END 20 2009-04-15 13:12 libsystemc_sh.so -> gnu/libsystemc_sh.so
    lrwxrwxrwx 1 softwares FRONT-END 12 2009-04-15 13:12 ncscpi.o -> gnu/ncscpi.o
    lrwxrwxrwx 1 softwares FRONT-END 11 2009-04-15 13:12 qtmdc.o -> gnu/qtmdc.o
    lrwxrwxrwx 1 softwares FRONT-END 11 2009-04-15 13:12 qtmds.o -> gnu/qtmds.o
    lrwxrwxrwx 1 softwares FRONT-END  8 2009-04-15 13:12 qt.o -> gnu/qt.o
    lrwxrwxrwx 1 softwares FRONT-END 15 2009-04-15 13:12 sc_fpi_nc.o -> gnu/sc_fpi_nc.o
    lrwxrwxrwx 1 softwares FRONT-END 13 2009-04-15 13:12 sc_main.o -> gnu/sc_main.o

    • Post Points: 5
  • Fri, Jul 31 2009 1:47 PM

    • michaelw
    • Not Ranked
    • Joined on Mon, Jul 14 2008
    • San Jose, CA
    • Posts 3
    • Points 60
    Re: CTS/IUS SystemC missing files ... Reply

    Hello Nicolas,

    I have taken a close look at your problem, including running some tests on installing IUS.  At first I suspected that you might have an IUS installation that was not configured as needed, but your symptoms do not match that situation, although you are missing some critical files.  Even without configuration, you should still have the gnu subdirectories, but you do not.  That leads me to conclude that some other activity has damaged or corrupted your installation.

    Given the above, the best action for you to take is to create a brand new empty directory and do a new clean install of IUS 8.2.  The latest available version is 08.20.013.  It is not possible for anyone to send you just the gnu subdirectories, and those may not be sufficient if there are other problems with your installation.

    When you install, please also remember to configure it (although I do not believe this the cause of your issue, from what you have reported).  This will ensure that all the other needed files are expanded and available for use.

    [By the way, about the TLM files, when your installation is complete and configured, the TLM directory will not be $(NCROOT)/tools/systemc/tlm but rather $(NCROOT)/tools/systemc/include/tlm.  Please let me know if you do not see this.] 

     

    Regards,

    -Mike Williamson

    IUS SystemC Product Engineering Manager

     

    • Post Points: 20
  • Sat, Aug 1 2009 12:53 PM

    • NJSH
    • Not Ranked
    • Joined on Thu, Jul 9 2009
    • Posts 5
    • Points 55
    Re: CTS/IUS SystemC missing files ... Reply

    Problem solved !
    Thank you.

    michaelw:
    When you install, please also remember to configure it (although I do not believe this the cause of your issue, from what you have reported).  This will ensure that all the other needed files are expanded and available for use.

    Indeed it was the problem, It lacks the configuration step, theses files (and so does the TLM directory) are added after the configuration of ncsc. I never had install Cadence software myself before. I will forward this info to our system administrator that usually does the install.

     Nicolas

    • Post Points: 5
Page 1 of 1 (4 items)
Sort Posts:
Started by NJSH at 28 Jul 2009 12:42 PM. Topic has 3 replies.