Open
Description
Hi,
first of all thanks for this great project!
I'm currently trying to build VC4CL on a Raspberry Pi Zero following this description using the most recent Raspbian version (see below) after a normal `apt update && apt upgrade". Memory for linking VC4C was a bit low initially but making the swap file bigger helped.
Unfortunately I'm getting the error below in a late phase of building VC4CL - I've double checked library installation etc. but to no avail.
Any help would be greatly appreciated!
Kind regards,
Thomas
[ 82%] Linking CXX shared library libVC4CL.so
[ 82%] Built target VC4CL
[ 85%] Building CXX object tools/CMakeFiles/vc4cl_dump_analyzer.dir/DumpAnalyzer.cpp.o
[ 88%] Linking CXX executable vc4cl_dump_analyzer
/usr/bin/ld: ../src/libVC4CL.so.0.4.9999: undefined reference to `bcm_host_get_processor_id'
/usr/bin/ld: ../src/libVC4CL.so.0.4.9999: undefined reference to `vcsm_malloc_cache'
/usr/bin/ld: ../src/libVC4CL.so.0.4.9999: undefined reference to `vcsm_exit'
/usr/bin/ld: ../src/libVC4CL.so.0.4.9999: undefined reference to `bcm_host_get_model_type'
/usr/bin/ld: ../src/libVC4CL.so.0.4.9999: undefined reference to `vc_gencmd'
/usr/bin/ld: ../src/libVC4CL.so.0.4.9999: undefined reference to `vc_gencmd_stop'
/usr/bin/ld: ../src/libVC4CL.so.0.4.9999: undefined reference to `vc_vchi_gencmd_init'
/usr/bin/ld: ../src/libVC4CL.so.0.4.9999: undefined reference to `vchi_disconnect'
/usr/bin/ld: ../src/libVC4CL.so.0.4.9999: undefined reference to `vcsm_lock'
/usr/bin/ld: ../src/libVC4CL.so.0.4.9999: undefined reference to `vc_gpuserv_execute_code'
/usr/bin/ld: ../src/libVC4CL.so.0.4.9999: undefined reference to `bcm_host_deinit'
/usr/bin/ld: ../src/libVC4CL.so.0.4.9999: undefined reference to `vcsm_unlock_ptr'
/usr/bin/ld: ../src/libVC4CL.so.0.4.9999: undefined reference to `vcsm_free'
/usr/bin/ld: ../src/libVC4CL.so.0.4.9999: undefined reference to `bcm_host_init'
/usr/bin/ld: ../src/libVC4CL.so.0.4.9999: undefined reference to `vcsm_clean_invalid2'
/usr/bin/ld: ../src/libVC4CL.so.0.4.9999: undefined reference to `vchi_initialise'
/usr/bin/ld: ../src/libVC4CL.so.0.4.9999: undefined reference to `vchi_connect'
/usr/bin/ld: ../src/libVC4CL.so.0.4.9999: undefined reference to `bcm_host_get_peripheral_address'
/usr/bin/ld: ../src/libVC4CL.so.0.4.9999: undefined reference to `vcsm_vc_addr_from_hdl'
/usr/bin/ld: ../src/libVC4CL.so.0.4.9999: undefined reference to `vc_gpuserv_deinit'
/usr/bin/ld: ../src/libVC4CL.so.0.4.9999: undefined reference to `vc_gpuserv_init'
/usr/bin/ld: ../src/libVC4CL.so.0.4.9999: undefined reference to `vcsm_init_ex'
collect2: error: ld returned 1 exit status
make[2]: *** [tools/CMakeFiles/vc4cl_dump_analyzer.dir/build.make:105: tools/vc4cl_dump_analyzer] Error 1
make[1]: *** [CMakeFiles/Makefile2:278: tools/CMakeFiles/vc4cl_dump_analyzer.dir/all] Error 2
make: *** [Makefile:171: all] Error 2
Raspbian version:
thomas@zero:~/opencl/VC4CL/build $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
Metadata
Metadata
Assignees
Labels
No labels