Jump to content
Sign in to follow this  
dirk71

Compiling SystemC 2.3.1 on Debian 8.5

Recommended Posts

Hello all,

 

I just try to install the systemC 2.3.1 library on a debian system (Version 8.5 64 Bit) which is running on a virtual box. The configure process seems to be ok, but I got several errors (warning) running the makefile.

 

Here is the output:

 

root@test-projekt-server:/usr/local/tools/misc/systemc-2.3.1# ./configure --with-arch-suffix=/x86_64-linux-gnu
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a pax tar archive... gnutar
checking whether make supports nested variables... yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... g++
checking whether we are using the GNU C compiler... yes
checking whether g++ accepts -g... yes
checking for g++ option to accept ISO C89... unsupported
checking dependency style of g++... gcc3
checking dependency style of g++... gcc3
checking whether ln -s works... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from g++ object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... g++ -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if g++ supports -fno-rtti -fno-exceptions... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for SystemC install layout... ignored
checking for SystemC library arch suffix... /x86_64-linux-gnu (TARGET_ARCH=linux64)
checking whether to add debug symbols to the SystemC library... no
checking whether to enable compiler optimization... yes
checking whether to add support for asynchronous update requests... yes
checking whether to use POSIX threads for SystemC processes... no
checking whether to enable simulation phase callbacks (experimental)... no
checking for SC_DISABLE_VIRTUAL_BIND defined... no
checking for SC_ENABLE_IMMEDIATE_SELF_NOTIFICATION defined... no
checking for SC_ENABLE_EARLY_MAXTIME_CREATION defined... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/sysc/Makefile
config.status: creating src/sysc/systemc.pc
config.status: creating src/sysc/communication/Makefile
config.status: creating src/sysc/datatypes/Makefile
config.status: creating src/sysc/kernel/Makefile
config.status: creating src/sysc/tracing/Makefile
config.status: creating src/sysc/qt/Makefile
config.status: creating src/sysc/utils/Makefile
config.status: creating src/sysc/packages/boost/Makefile
config.status: creating src/tlm_core/Makefile
config.status: creating src/tlm_core/tlm.pc
config.status: creating src/tlm_utils/Makefile
config.status: creating examples/Makefile
config.status: creating examples/sysc/Makefile
config.status: creating examples/tlm/Makefile
config.status: creating examples/tlm/common/Makefile
config.status: creating docs/Makefile
config.status: creating docs/sysc/doxygen/Doxyfile
config.status: creating docs/tlm/doxygen/Doxyfile
config.status: executing depfiles commands
config.status: executing libtool commands
---------------------------------------------------------------------
Configuration summary of SystemC 2.3.1 for x86_64-unknown-linux-gnu
---------------------------------------------------------------------

 Directory setup (based on classic layout):
   Installation prefix (aka SYSTEMC_HOME):
      /usr/local/tools/misc/systemc-2.3.1
   Header files  : <SYSTEMC_HOME>/include
   Libraries     : <SYSTEMC_HOME>/lib/x86_64-linux-gnu
   Documentation : <SYSTEMC_HOME>/docs
   Examples      : <SYSTEMC_HOME>/examples

 Architecture    : linux64
 Compiler (flags): g++
     

 Build settings:
   Enable compiler optimizations  : yes
   Include debugging symbols      : no
   Coroutine package for processes: QuickThreads
   Disable async_request_update   : no
   Phase callbacks (experimental) : no
   Additional settings            :
      
---------------------------------------------------------------------
root@test-projekt-server:/usr/local/tools/misc/systemc-2.3.1# make
Making all in docs
make[1]: Entering directory '/usr/local/tools/misc/systemc-2.3.1/docs'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/usr/local/tools/misc/systemc-2.3.1/docs'
Making all in src
make[1]: Entering directory '/usr/local/tools/misc/systemc-2.3.1/src'
make[1]: *** No rule to make target 'all'.  Schluss.
make[1]: Leaving directory '/usr/local/tools/misc/systemc-2.3.1/src'
Makefile:434: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
root@test-projekt-server:/usr/local/tools/misc/systemc-2.3.1#

 

Any hint is very welcome!!

 

Thanks for your help.

 

Best regard

 

Dirk
 

 

 

Share this post


Link to post
Share on other sites

It looks like you have not followed the install instructions correctly. Firstly  you should install in a different directory from the one where you untarred the distribution. Secondly you should create a subdirectory "objdir" and do ../configure.

 

regards

Alan

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...