Results 1 to 8 of 8

Thread: not able to install systemc on ubuntu after typing make command

  1. #1
    Join Date
    Oct 2007
    Beans
    10

    not able to install systemc on ubuntu after typing make command

    i am using ubuntu ultimate 2.3
    it is having gcc and g++ already
    but whenver i try to install systemc on it by typing command in terminal
    1)./configure (it works fine)
    2)make (it gives me error ike this)
    make[3]: *** [sc_utils_ids.o] Error 1
    make[3]: Leaving directory `/home/satvik/Desktop/system/src/sysc/utils'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/satvik/Desktop/system/src/sysc'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/satvik/Desktop/system/src'
    make: *** [all-recursive] Error 1
    3)make install(also giving error)

    I have installed it many times on the previous version of ubuntu ultimate..bt that time there was no error, but this time i am not able to understand..
    plz help me in figuring out what could be the cause??

  2. #2
    Join Date
    Oct 2007
    Beans
    10

    Re: not able to install systemc on ubuntu after typing make command

    plz help me out

  3. #3
    Join Date
    Oct 2007
    Beans
    10

    Re: not able to install systemc on ubuntu after typing make command


  4. #4
    Join Date
    Apr 2009
    Location
    Texas
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: not able to install systemc on ubuntu after typing make command

    i too run UE 2.3 and i know that build-essential does not come pre-installed...

    sudo apt-get install build-essential
    then
    sudo apt-get update
    and try make again
    Ubuntu Christian Edition chat on irc at server: OFTC/channel: #ubuntuCE
    BootInfoScript DualBooting
    Grub Grub2 MBR/GRUB
    Boot Info Script courtesy of community member meierfra and ghulselmans

  5. #5
    Join Date
    Oct 2009
    Beans
    1

    Re: not able to install systemc on ubuntu after typing make command

    I had the same problem and fixed it in the source code. It fixes a missing #include-directive in
    src/sysc/utils/sc_utils_ids.cpp and excludes the examples directory from building because it
    caused problems using 'make install'.

    You can download my patch from http://www.embedded-system-design.de...untu9.04.patch ...

    Apply it by typing:

    cd systemc-2.2.0
    patch -p1 < ../systemc-2.2.0-ubuntu9.04.patch

    ... as well as (due to missing automake-1.6):

    aclocal
    automake
    autoconf

    Now, you can configure and compile SystemC by

    ./configure
    make
    make install

    Best regards!

  6. #6
    Join Date
    May 2010
    Beans
    1

    Re: not able to install systemc on ubuntu after typing make command

    Hi,

    I had same errors! I fixed it by going through installation steps as below:

    1. tar xvf systemc-2.2.0.tar
    2. cd systemc-2.2.0
    3. mkdir objdir
    4. cd objdir
    5. which g++ (To check if g++ is available in yr path)
    6. ../configure
    7. mkdir home/usr/sysc
    8. ../configure --prefix=/home/usr/sysc

    9. make
    10. make debug
    11. make install

    On ubuntu is important to create a directory as said in step 7, you can call it simply "sysc" or any other name, but it is important that you install and do configure in the new created file.

    If you still get errors, try to add these includes:

    #include "string.h"
    #include "cstdlib"

    to systemc-2.2.0/src/sysc/utils/sc_utils_ids.cpp

    and go through above steps again!
    Last edited by parinaz.sayyah; May 21st, 2010 at 10:37 PM.

  7. #7
    Join Date
    Nov 2010
    Beans
    1

    Re: not able to install systemc on ubuntu after typing make command

    The solution provided by wurzel529 worked for me, thanks.

  8. #8
    Join Date
    Nov 2010
    Beans
    1

    Re: not able to install systemc on ubuntu after typing make command

    To fix this problem, add the following includes at the top of file
    ../src/sysc/utils/sc_utils_ids.cpp:
    #include<cstdlib>
    #include<cstring>

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •