/usr/bin/ld: /home/ss7/src/gnuradio/gr-blocks/lib/qa_block_tags.cc:361:(.text+0x982b): undefined reference to `gr::blocks::annotator_1to1::make(int, unsigned long)' collect2: error: ld returned 1 exit status
- Dominant language
- C++
- Stars
- 14k
- Forks
- 2.6k
- Avg merge
- 5d 18h
- Merged PRs (30d)
- 6
Description
### Checklist
- [X] I have searched for [similar issues](https://github.com/isl-org/Open3D/issues).
- [X] For Python issues, I have tested with the [latest development wheel](https://www.open3d.org/docs/latest/getting_started.html#development-version-pip).
- [X] I have checked the [release documentation](https://www.open3d.org/docs/release/) and the [latest documentation](https://www.open3d.org/docs/latest/) (for `main` branch).
### Steps to reproduce the issue
#### I first cloned Open3D by:
```
git clone https://github.com/isl-org/Open3D.git
cd Open3D
```
#### Then, I build Open3D (on Ubuntu 20.04, with CUDA 11.5) with:
```
mkdir build
cd build
cmake -DBUILD_SHARED_LIBS=OFF -DBUILD_CUDA_MODULE=OFF -DUSE_BLAS=ON -DBUILD_WEBRTC=OFF ..
make -j$(nproc)
```
### Error message
```shell
sudo pybombs install gr-gsm
[sudo] password for ss7:
[INFO] Prefix Python version is: 3.11.9
[INFO] PyBOMBS Version 2.3.5
[INFO] Phase 1: Creating install tree and installing binary packages:
Install tree:
|
\- gr-gsm
|
+- libosmocore
|
+- gr-osmosdr
| |
| +- gnuradio
| |
| \- gr-iqbal
| |
| \- gnuradio
|
\- gnuradio
[INFO] Phase 1 complete: All binary dependencies installed.
[INFO] Phase 2: Recursively installing source packages to prefix:
[INFO] Installing package: gnuradio
[WARNING] A source build for package gnuradio was requested, but binary install was found!
Install gnuradio from source despite binary install available Y/[N]? y
[WARNING] Build dir already exists: /home/ss7/src/gnuradio/build
Building: (100%) [==========================================================================================]
[ 0%] Built target doxygen_target
[ 0%] Built target gnuradio_docstrings
[ 0%] Built target common-precompiled-headers
[ 0%] Built target gnuradio-pmt
[ 4%] Built target gnuradio-runtime
[ 4%] Built target runtime_qa_buffer.cc
[ 4%] Built target runtime_qa_io_signature.cc
[ 4%] Built target runtime_qa_logger.cc
[ 4%] Built target runtime_qa_dictionary_logger.cc
[ 4%] Built target runtime_qa_host_buffer.cc
[ 4%] Built target runtime_qa_vmcircbuf.cc
[ 4%] Built target math_qa_fxpt.cc
[ 4%] Built target math_qa_fxpt_nco.cc
[ 5%] Built target math_qa_fxpt_vco.cc
[ 5%] Built target math_qa_math.cc
[ 5%] Built target math_qa_sincos.cc
[ 5%] Built target math_qa_fast_atan2f.cc
[ 5%] Built target pmt_prims
[ 5%] Built target pmt_unv
[ 5%] Built target gnuradio-config-info
[ 5%] Built target pygen_gnuradio_runtime_python_gnuradio_f5393ed4f14cfe166c5a6b082e608b39
[ 5%] Built target pygen_gnuradio_runtime_python_gnuradio_gr_87605c9203169e363113fc15e8a5d24e
[ 6%] Built target gr_docstrings
[ 9%] Built target gr_python
[ 9%] Built target pygen_gnuradio_runtime_python_gnuradio_ctrlport_c81755e3020204a9c72f279498ce53fc
[ 10%] Built target pygen_gnuradio_runtime_python_gnuradio_ctrlport_a909b581e01d80e445c08aadb581b1b9
[ 10%] Built target pygen_gnuradio_runtime_python_pmt_c24ccd7617c5707461b6138c1c7a1c46
[ 10%] Built target pmt_docstrings
[ 11%] Built target pmt_python
[ 11%] Built target pygen_gnuradio_runtime_examples_mp_sched_631b3cae19fb0e32dda9dffa034e6b99
[ 11%] Built target pygen_gnuradio_runtime_examples_network_b44480364401a0031840e4a88d472fc7
[ 11%] Built target pygen_grc_e16ee14abc6b79aaa7abaa7cdb3127ed
[ 11%] Built target pygen_grc_7818d2489b9935945eca9fe9a69beb8c
[ 11%] Built target pygen_grc_6eeb104f5b8a2c3a6adc3038000ef521
[ 11%] Built target pygen_grc_778e5b91e347925e68e8e353ad0e3337
[ 11%] Built target pygen_grc_f87e65fd90b24225d8b3ee704bc95ef4
[ 11%] Built target grc_generated_yml
[ 11%] Built target pygen_grc_scripts_b8d6da70be4430b4a6cefef2825a61ad
[ 20%] Built target gnuradio-blocks
[ 20%] Linking CXX executable blocks_qa_block_tags.cc
/usr/bin/ld: CMakeFiles/blocks_qa_block_tags.cc.dir/qa_block_tags.cc.o: in function `t1::test_method()':
/home/ss7/src/gnuradio/gr-blocks/lib/qa_block_tags.cc:82:(.text+0x1b7c): undefined reference to `gr::blocks::annotator_alltoall::make(int, unsigned long)'
/usr/bin/ld: /home/ss7/src/gnuradio/gr-blocks/lib/qa_block_tags.cc:84:(.text+0x1b92): undefined reference to `gr::blocks::annotator_alltoall::make(int, unsigned long)'
/usr/bin/ld: /home/ss7/src/gnuradio/gr-blocks/lib/qa_block_tags.cc:86:(.text+0x1ba8): undefined reference to `gr::blocks::annotator_alltoall::make(int, unsigned long)'
/usr/bin/ld: /home/ss7/src/gnuradio/gr-blocks/lib/qa_block_tags.cc:88:(.text+0x1bbe): undefined reference to `gr::blocks::annotator_alltoall::make(int, unsigned long)'
/usr/bin/ld: /home/ss7/src/gnuradio/gr-blocks/lib/qa_block_tags.cc:90:(.text+0x1bd4): undefined reference to `gr::blocks::annotator_alltoall::make(int, unsigned long)'
/usr/bin/ld: CMakeFiles/blocks_qa_block_tags.cc.dir/qa_block_tags.cc.o: in function `t3::test_method()':
/home/ss7/src/gnuradio/gr-blocks/lib/qa_block_tags.cc:270:(.text+0x31cc): undefined reference to `gr::blocks::annotator_1to1::make(int, unsigned long)'
/usr/bin/ld: /home/ss7/src/gnuradio/gr-blocks/lib/qa_block_tags.cc:272:(.text+0x31e2): undefined reference to `gr::blocks::annotator_alltoall::make(int, unsigned long)'
/usr/bin/ld: /home/ss7/src/gnuradio/gr-blocks/lib/qa_block_tags.cc:274:(.text+0x31f8): undefined reference to `gr::blocks::annotator_alltoall::make(int, unsigned long)'
/usr/bin/ld: /home/ss7/src/gnuradio/gr-blocks/lib/qa_block_tags.cc:276:(.text+0x320e): undefined reference to `gr::blocks::annotator_1to1::make(int, unsigned long)'
/usr/bin/ld: /home/ss7/src/gnuradio/gr-blocks/lib/qa_block_tags.cc:278:(.text+0x3224): undefined reference to `gr::blocks::annotator_1to1::make(int, unsigned long)'
/usr/bin/ld: CMakeFiles/blocks_qa_block_tags.cc.dir/qa_block_tags.cc.o: in function `t5::test_method()':
/home/ss7/src/gnuradio/gr-blocks/lib/qa_block_tags.cc:388:(.text+0x488c): undefined reference to `gr::blocks::annotator_alltoall::make(int, unsigned long)'
/usr/bin/ld: /home/ss7/src/gnuradio/gr-blocks/lib/qa_block_tags.cc:390:(.text+0x48a2): undefined reference to `gr::blocks::annotator_alltoall::make(int, unsigned long)'
/usr/bin/ld: /home/ss7/src/gnuradio/gr-blocks/lib/qa_block_tags.cc:392:(.text+0x48b8): undefined reference to `gr::blocks::annotator_alltoall::make(int, unsigned long)'
/usr/bin/ld: CMakeFiles/blocks_qa_block_tags.cc.dir/qa_block_tags.cc.o: in function `t2::test_method()':
/home/ss7/src/gnuradio/gr-blocks/lib/qa_block_tags.cc:166:(.text+0x8035): undefined reference to `gr::blocks::annotator_alltoall::make(int, unsigned long)'
/usr/bin/ld: /home/ss7/src/gnuradio/gr-blocks/lib/qa_block_tags.cc:168:(.text+0x804e): undefined reference to `gr::blocks::annotator_alltoall::make(int, unsigned long)'
/usr/bin/ld: CMakeFiles/blocks_qa_block_tags.cc.dir/qa_block_tags.cc.o:/home/ss7/src/gnuradio/gr-blocks/lib/qa_block_tags.cc:170: more undefined references to `gr::blocks::annotator_alltoall::make(int, unsigned long)' follow
/usr/bin/ld: CMakeFiles/blocks_qa_block_tags.cc.dir/qa_block_tags.cc.o: in function `t4::test_method()':
/home/ss7/src/gnuradio/gr-blocks/lib/qa_block_tags.cc:357:(.text+0x9805): undefined reference to `gr::blocks::annotator_1to1::make(int, unsigned long)'
/usr/bin/ld: /home/ss7/src/gnuradio/gr-blocks/lib/qa_block_tags.cc:359:(.text+0x9818): undefined reference to `gr::blocks::annotator_1to1::make(int, unsigned long)'
/usr/bin/ld: /home/ss7/src/gnuradio/gr-blocks/lib/qa_block_tags.cc:361:(.text+0x982b): undefined reference to `gr::blocks::annotator_1to1::make(int, unsigned long)'
collect2: error: ld returned 1 exit status
make[2]: *** [gr-blocks/lib/CMakeFiles/blocks_qa_block_tags.cc.dir/build.make:108: gr-blocks/lib/blocks_qa_block_tags.cc] Error 1
make[1]: *** [CMakeFiles/Makefile2:4897: gr-blocks/lib/CMakeFiles/blocks_qa_block_tags.cc.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
[ERROR] Build failed. See output above for error messages.
[ERROR] Problem occurred while building package gnuradio:
Build failed.
[ERROR] Error installing package gnuradio. Aborting.
```
### Open3D, Python and System information
```markdown
- Operating system: oracle linux / Windows 10 64-bit
```
### Additional information
Operating system: oracle linux / Windows 10 64-bit
sudo pybombs install gr-gsm
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.