当前位置:网站首页>Libevent report undefined reference to `getrandom‘
Libevent report undefined reference to `getrandom‘
2022-07-19 06:46:00 【Akaki yuan】
/home/xxx/libevent.a(evutil_rand.o): In function `arc4_seed_getrandom':
/home/xxx/open_src/libevent-2.1.12-stable/./arc4random.c:188: undefined reference to `getrandom'
collect2: error: ld returned 1 exit statusThe main reason is libevent.a Is on a machine with getrandom Compiled on the machine called by the system , See the picture below
*ape**≻ nm libevent.a | grep random
0000000000000100 t bev_group_random_element_
0000000000000000 b arc4random_urandom_filename
0000000000000000 t arc4_seed_urandom_helper_
0000000000000520 T evutil_secure_rng_set_urandom_device_file
U getrandom
0000000000004600 T evdns_set_random_bytes_fn
When the library does not have getrandom When used on the machine , There will be problems .
getrandom() was introduced in version 3.17 of the Linux kernel.
Support was added to glibc in version 2.25.边栏推荐
猜你喜欢

Pytorch deep learning practice-b station Liu erden-day4

吴恩达机器学习第1-2章

吴恩达机器学习第8-9章

基于I2C的温度采集实验及实验心得

Cygwin cooperates with listary to switch the current directory and quickly open it

top命令

《PyTorch深度学习实践》-B站 刘二大人-day3

Arabic numerals to Chinese

DSL implements bucket aggregation

Restapi implementation of automatic completion & case implementation (search box input for automatic completion)
随机推荐
Binary search and its extension
Thales安全解决方案:怎么提高国家网络安全的关键步骤
Restapi implements aggregation (dark horse tutorial)
Manjaro 系统日常使用入门导引
DSL realizes automatic completion query
《PyTorch深度学习实践》-B站 刘二大人-day6
Pytorch deep learning practice-b station Liu erden-day5
Local makefile compile other folder files specify obj directory
总价合同、成本补偿合同、工料合同
Handle Chinese word segmentation IK word segmenter and expand and stop dictionary
企业数据治理之勒索病毒篇
Part of the second Shanxi Network Security Skills Competition (Enterprise Group) WP (II)
Introduction to daily use of manjaro system
常见的用户密码加密方式以及破解方法
实验五: GUI
Mapping index attribute & operation of creating index
F5LTM(一)逻辑关系图
Loadng class `com. mysql. jdbc. Driver‘. This is deprecated. The new driver class is `com. mysql. cj. jdb
Vscode one dark and C extended variable color conflict settings JSON is as follows
SQL constraints