当前位置:网站首页>undefined reference to H5PTopen
undefined reference to H5PTopen
2022-07-24 18:07:00 【思影影思】
问题简介
Centos 7 上执行命令
rpmbuild -ta slurm-21.08.8.tar.bz2
遇到如下的问题
sh5util.o: In function _extract_series_table': /storage/slurm-17.11.12/src/plugins/acct_gather_profile/hdf5/sh5util/sh5util.c:1080: undefined reference to H5PTopen'
sh5util.o: In function _extract_totals': /storage/slurm-17.11.12/src/plugins/acct_gather_profile/hdf5/sh5util/sh5util.c:936: undefined reference to H5PTget_num_packets'
/storage/slurm-17.11.12/src/plugins/acct_gather_profile/hdf5/sh5util/sh5util.c:940: undefined reference to H5PTget_next' sh5util.o: In function _extract_series_table':
/storage/slurm-17.11.12/src/plugins/acct_gather_profile/hdf5/sh5util/sh5util.c:1090: undefined reference to H5PTget_num_packets' /storage/slurm-17.11.12/src/plugins/acct_gather_profile/hdf5/sh5util/sh5util.c:1095: undefined reference to H5PTget_next'
/storage/slurm-17.11.12/src/plugins/acct_gather_profile/hdf5/sh5util/sh5util.c:1117: undefined reference to H5PTclose' /storage/slurm-17.11.12/src/plugins/acct_gather_profile/hdf5/sh5util/sh5util.c:1126: undefined reference to H5PTclose'
/storage/slurm-17.11.12/src/plugins/acct_gather_profile/hdf5/sh5util/sh5util.c:1127: undefined reference to H5PTclose' sh5util.o: In function _extract_item_step':
/storage/slurm-17.11.12/src/plugins/acct_gather_profile/hdf5/sh5util/sh5util.c:1552: undefined reference to H5PTopen' /storage/slurm-17.11.12/src/plugins/acct_gather_profile/hdf5/sh5util/sh5util.c:1556: undefined reference to H5PTget_num_packets'
sh5util.o: In function _item_analysis_uint': /storage/slurm-17.11.12/src/plugins/acct_gather_profile/hdf5/sh5util/sh5util.c:1276: undefined reference to H5PTget_next'
sh5util.o: In function _item_analysis_double': /storage/slurm-17.11.12/src/plugins/acct_gather_profile/hdf5/sh5util/sh5util.c:1377: undefined reference to H5PTget_next'
sh5util.o: In function _extract_item_step': /storage/slurm-17.11.12/src/plugins/acct_gather_profile/hdf5/sh5util/sh5util.c:1591: undefined reference to H5PTclose'
/storage/slurm-17.11.12/src/plugins/acct_gather_profile/hdf5/sh5util/sh5util.c:1606: undefined reference to `H5PTclose' collect2: error: ld returned 1 exit status Makefile:590: recipe for target 'sh5util' failed make[6]: *** [sh5util] Error 1 make[6]: Leaving directory '/storage/slurm-17.11.12/src/plugins/acct_gather_profile/hdf5/sh5util' Makefile:734: recipe for target 'all-recursive' failed make[5]: *** [all-recursive] Error 1 make[5]: Leaving directory '/storage/slurm-17.11.12/src/plugins/acct_gather_profile/hdf5' Makefile:540: recipe for target 'all-recursive' failed make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory '/storage/slurm-17.11.12/src/plugins/acct_gather_profile' Makefile:569: recipe for target 'all-recursive' failed make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory '/storage/slurm-17.11.12/src/plugins' Makefile:569: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/storage/slurm-17.11.12/src' Makefile:696: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/storage/slurm-17.11.12' Makefile:595: recipe for target 'all' failed
make: *** [all] Error 2
I am also attaching the full trace for reference.
解决方式
参见Issue
也是发现自己使用conda环境,因此,自己通过conda deactivate 然后编译成功了。
边栏推荐
- 单细胞代码解析-妇科癌症单细胞转录组及染色质可及性分析1
- How to remove the top picture of the bubble skin article details of solo blog
- 0625~<config>-<bus>
- (mandatory) override equals must override hashcode (principle analysis)
- C语言自定义类型讲解 — 联合体
- The solution of single chip microcomputer not supporting printf floating point type
- Pay close attention! List of the latest agenda of 2022 open atom open source Summit
- Shengxin commonly used analysis graphics drawing 02 -- unlock the essence of volcano map!
- SV强制类型转换和常数
- Awk from getting started to getting into the ground (19) awk extensions make awk even stronger
猜你喜欢

Review and analysis of noodle dishes

Gan Development Series II (pggan, Singan)

Inheritance and Derive

C语言中的字符与字符串库函数的使用以及模拟实现

The ability to detect movement in vivo and build a safe and reliable payment level "face brushing" experience

Shardingsphere database read / write separation

The use and Simulation of character and string library functions in C language

C language to achieve a static version of the address book

Interview assault 66: what is the difference between request forwarding and request redirection?

Inherit, override, overload
随机推荐
Laravel notes - RSA encryption of user login password (improve system security)
0630~职业素养课
Learn redisson from scratch ------- topics (subscription and distribution)
获取1688app上原数据 API
Section 11 cache avalanche, hot data failure follow Daewoo redis ------- directory post
0611~ self study class
Gan Development Series II (pggan, Singan)
Guess JWT keyword
Link editing tips of solo blog posts illegal links
What are the pitfalls from single architecture to distributed architecture?
sklearn 的模型保存与加载使用
猜JWT关键字
阿里巴巴1688按关键字搜索商品 API 使用展示
The use and Simulation of character and string library functions in C language
Go to bed capacity exchange
[OBS] dependency Library: x264 vs Build
C语言自定义类型讲解 — 联合体
快速完成intelij idea的单元测试JUnit4设置
Can CSC open an account for domestic futures? Is it safe?
阿里巴巴/1688按图搜索商品(拍立淘) API使用说明