-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VP FPGA Compile Error:aarch64_toplevel.cpp:(.text+0x1932): undefined reference to `SimpleCPU::set_pci_bar_handle(int)' #60
Comments
Hello, it looks like cmake do not add option "-DAWS_FPGA_PRESENT=1" |
Dear @taog2018 , Thank you very much. I will try it today and let you know if it works on my side too. Again, I really appreciate your help and support. Best Regards |
Dear @taog2018 , I did as you said, however I am getting new error as below: [ 88%] Performing install step for 'qbox' Can you kindly help me with this issue? |
ubuntu@ip-172-31-49-14:~/nvdla/vp/models/cpu.build$ nm libsimplecpu.so | grep fpga_pci_poke |
Dear @taog2018 , Thank you so much for your response. I ran the same command as you, and here is the results: [centos@ip-172-31-68-107 cpu.build]$ nm libsimplecpu.so | grep fpga_pci_poke It seems that I have the symbols too. Can you kindly advise, what else might have problem? Thank you very much. Best Regards |
Sorry for my mistake. The "U" means this symbol is defined in other library. I suspected that there were something wrong with your AWS SDK. |
I have tried sub steps of step 3 of the below link to install the VP on the FPGA on the AWS:
http://nvdla.org/vp_fpga.html
The version of the hardware is nv_small.
When I run the make command for installing the VP on the FPGA, I am getting the below error:
[centos@ip-172-31-64-62 vp]$ make
[ 4%] Built target tlm2c
[ 4%] No force-build step for 'qbox'
[ 5%] Performing build step for 'qbox'
[ 7%] Performing install step for 'qbox'
[ 7%] Completed 'qbox'
[ 11%] Built target qbox
[ 70%] Built target greenreg
[ 71%] Built target greenscript
[ 72%] Built target log
[ 75%] Built target simplecpu
[ 80%] Built target cosim_sc_wrapper
Scanning dependencies of target nvdla
[ 80%] Building CXX object models/nvdla.build/CMakeFiles/nvdla.dir/src/nvdla_top.cpp.o
Linking CXX shared library libnvdla.so
[ 84%] Built target nvdla
[ 88%] Built target fpga_sc_wrapper
Linking CXX executable aarch64_toplevel
CMakeFiles/aarch64_toplevel.dir/src/aarch64_toplevel.cpp.o: In function
sc_main': aarch64_toplevel.cpp:(.text+0x1932): undefined reference to
SimpleCPU::set_pci_bar_handle(int)'collect2: error: ld returned 1 exit status
make[2]: *** [aarch64_toplevel] Error 1
make[1]: *** [CMakeFiles/aarch64_toplevel.dir/all] Error 2
make: *** [all] Error 2
Can anyone help me with this issue?
Thank you very much,
The text was updated successfully, but these errors were encountered: