dirk71 Posted June 21, 2016 Report Share Posted June 21, 2016 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-gnuchecking build system type... x86_64-unknown-linux-gnuchecking host system type... x86_64-unknown-linux-gnuchecking target system type... x86_64-unknown-linux-gnuchecking for a BSD-compatible install... /usr/bin/install -cchecking whether build environment is sane... yeschecking for a thread-safe mkdir -p... /bin/mkdir -pchecking for gawk... gawkchecking whether make sets $(MAKE)... yeschecking how to create a pax tar archive... gnutarchecking whether make supports nested variables... yeschecking for g++... g++checking whether the C++ compiler works... yeschecking for C++ compiler default output file name... a.outchecking for suffix of executables...checking whether we are cross compiling... nochecking for suffix of object files... ochecking whether we are using the GNU C++ compiler... yeschecking whether g++ accepts -g... yeschecking for style of include used by make... GNUchecking dependency style of g++... gcc3checking for gcc... g++checking whether we are using the GNU C compiler... yeschecking whether g++ accepts -g... yeschecking for g++ option to accept ISO C89... unsupportedchecking dependency style of g++... gcc3checking dependency style of g++... gcc3checking whether ln -s works... yeschecking for the pthreads library -lpthreads... nochecking whether pthreads work without any flags... nochecking whether pthreads work with -Kthread... nochecking whether pthreads work with -kthread... nochecking for the pthreads library -llthread... nochecking whether pthreads work with -pthread... yeschecking for joinable pthread attribute... PTHREAD_CREATE_JOINABLEchecking if more special flags are required for pthreads... nochecking for PTHREAD_PRIO_INHERIT... yeschecking how to print strings... printfchecking for a sed that does not truncate output... /bin/sedchecking for grep that handles long lines and -e... /bin/grepchecking for egrep... /bin/grep -Echecking for fgrep... /bin/grep -Fchecking for ld used by g++... /usr/bin/ldchecking if the linker (/usr/bin/ld) is GNU ld... yeschecking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -Bchecking the name lister (/usr/bin/nm - interface... BSD nmchecking the maximum length of command line arguments... 1572864checking whether the shell understands some XSI constructs... yeschecking whether the shell understands "+="... yeschecking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noopchecking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noopchecking for /usr/bin/ld option to reload object files... -rchecking for objdump... objdumpchecking how to recognize dependent libraries... pass_allchecking for dlltool... nochecking how to associate runtime and link libraries... printf %s\nchecking for ar... archecking for archiver @FILE support... @checking for strip... stripchecking for ranlib... ranlibchecking command to parse /usr/bin/nm -B output from g++ object... okchecking for sysroot... nochecking for mt... mtchecking if mt is a manifest tool... nochecking how to run the C preprocessor... g++ -Echecking for ANSI C header files... yeschecking for sys/types.h... yeschecking for sys/stat.h... yeschecking for stdlib.h... yeschecking for string.h... yeschecking for memory.h... yeschecking for strings.h... yeschecking for inttypes.h... yeschecking for stdint.h... yeschecking for unistd.h... yeschecking for dlfcn.h... yeschecking for objdir... .libschecking if g++ supports -fno-rtti -fno-exceptions... yeschecking for g++ option to produce PIC... -fPIC -DPICchecking if g++ PIC flag -fPIC -DPIC works... yeschecking if g++ static flag -static works... yeschecking if g++ supports -c -o file.o... yeschecking if g++ supports -c -o file.o... (cached) yeschecking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yeschecking whether -lc should be explicitly linked in... nochecking dynamic linker characteristics... GNU/Linux ld.sochecking how to hardcode library paths into programs... immediatechecking whether stripping libraries is possible... yeschecking if libtool supports shared libraries... yeschecking whether to build shared libraries... yeschecking whether to build static libraries... yeschecking how to run the C++ preprocessor... g++ -Echecking for ld used by g++... /usr/bin/ld -m elf_x86_64checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yeschecking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yeschecking for g++ option to produce PIC... -fPIC -DPICchecking if g++ PIC flag -fPIC -DPIC works... yeschecking if g++ static flag -static works... yeschecking if g++ supports -c -o file.o... yeschecking if g++ supports -c -o file.o... (cached) yeschecking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yeschecking dynamic linker characteristics... (cached) GNU/Linux ld.sochecking how to hardcode library paths into programs... immediatechecking for SystemC install layout... ignoredchecking for SystemC library arch suffix... /x86_64-linux-gnu (TARGET_ARCH=linux64)checking whether to add debug symbols to the SystemC library... nochecking whether to enable compiler optimization... yeschecking whether to add support for asynchronous update requests... yeschecking whether to use POSIX threads for SystemC processes... nochecking whether to enable simulation phase callbacks (experimental)... nochecking for SC_DISABLE_VIRTUAL_BIND defined... nochecking for SC_ENABLE_IMMEDIATE_SELF_NOTIFICATION defined... nochecking for SC_ENABLE_EARLY_MAXTIME_CREATION defined... noconfigure: creating ./config.statusconfig.status: creating Makefileconfig.status: creating src/Makefileconfig.status: creating src/sysc/Makefileconfig.status: creating src/sysc/systemc.pcconfig.status: creating src/sysc/communication/Makefileconfig.status: creating src/sysc/datatypes/Makefileconfig.status: creating src/sysc/kernel/Makefileconfig.status: creating src/sysc/tracing/Makefileconfig.status: creating src/sysc/qt/Makefileconfig.status: creating src/sysc/utils/Makefileconfig.status: creating src/sysc/packages/boost/Makefileconfig.status: creating src/tlm_core/Makefileconfig.status: creating src/tlm_core/tlm.pcconfig.status: creating src/tlm_utils/Makefileconfig.status: creating examples/Makefileconfig.status: creating examples/sysc/Makefileconfig.status: creating examples/tlm/Makefileconfig.status: creating examples/tlm/common/Makefileconfig.status: creating docs/Makefileconfig.status: creating docs/sysc/doxygen/Doxyfileconfig.status: creating docs/tlm/doxygen/Doxyfileconfig.status: executing depfiles commandsconfig.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# makeMaking all in docsmake[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 srcmake[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' failedmake: *** [all-recursive] Error 1root@test-projekt-server:/usr/local/tools/misc/systemc-2.3.1# Any hint is very welcome!! Thanks for your help. Best regard Dirk Quote Link to comment Share on other sites More sharing options...
apfitch Posted June 22, 2016 Report Share Posted June 22, 2016 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.