Giter VIP home page Giter VIP logo

Comments (5)

wang18112020007 avatar wang18112020007 commented on August 11, 2024

I have the same error.

from vp.

fisherxue avatar fisherxue commented on August 11, 2024

Are you installing on ubuntu 14.04 / gcc 4.8.4?

from vp.

wang18112020007 avatar wang18112020007 commented on August 11, 2024

I fixed the error when I re_installed systemc_2.3.0.

from vp.

hariharan765 avatar hariharan765 commented on August 11, 2024

I tried reinstalling systemc2.3.0. I still face this issue.

I ran the following commands:

cd <path_nvdla>/vp
export CC=<path_gcc482>/bin/gcc
export CXX=<path_gcc482>/bin/g++
cmake -DCMAKE_INSTALL_PREFIX=build -DSYSTEMC_PREFIX=/usr/local/systemc230/ -DNVDLA_HW_PREFIX=<path_nvdla>/hw/ -DNVDLA_HW_PROJECT=nv_full
make

And I see the following logs:

[ 86%] Linking CXX executable aarch64_toplevel
/home/hariharans/localwork/nvdla/hw/outdir/nv_full/cmod/release/lib/libnvdla_cmod.so: undefined reference to `sc_core::sc_vector_base::make_name(char const, unsigned long)'*
collect2: error: ld returned 1 exit status
CMakeFiles/aarch64_toplevel.dir/build.make:106: recipe for target 'aarch64_toplevel' failed
make[2]: *** [aarch64_toplevel] Error 1
make[2]: Leaving directory '/home/hariharans/localwork/nvdla/vp'
CMakeFiles/Makefile2:74: recipe for target 'CMakeFiles/aarch64_toplevel.dir/all' failed
make[1]: *** [CMakeFiles/aarch64_toplevel.dir/all] Error 2
make[1]: Leaving directory '/home/hariharans/localwork/nvdla/vp'
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2

Attached verbose logs (VERBOSE=1) as well. I can see that libsystemc.so is being included in linker path.

vp_make_fail_logs_verbose.txt
hariharans@hariharans:~$ strings /usr/local/systemc230/lib-linux64/libsystemc.so | grep make_name
_ZN7sc_core14sc_vector_base9make_nameB5cxx11EPKcm
_ZN7sc_core14sc_vector_base9make_nameB5cxx11EPKcm

from vp.

Owen199x avatar Owen199x commented on August 11, 2024

please use the g++ 4.8.5 and gcc 4.85,
please recompile the systemc again,
please recompile the hw again,
then you can get the result for pass.

from vp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.