当前位置:网站首页>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.边栏推荐
- SQL constraints
- Quelques concepts de base dans le réseau
- 简单irules编写 入门级
- 二分查找及其引申
- 《PyTorch深度学习实践》-B站 刘二大人-day7
- Loadng class `com. mysql. jdbc. Driver‘. This is deprecated. The new driver class is `com. mysql. cj. jdb
- Network layer and IP learning
- Busybox 1.21.1 has udpsvd function, which can be compiled successfully without interfering with the local busybox method
- Read pictures and convert them to show different color spaces
- oracle中merge into 与update的性能对比
猜你喜欢
随机推荐
吴恩达机器学习第8-9章
MySQL MySQL calculates the number of weekends this year (Saturday and Sunday)
Mapping index attribute & operation of creating index
聊聊中台:我对中台的一些理解与思考
top命令
Seachest utilities tool enables your hard disk to consume less power and live longer
Part of the second Shanxi Network Security Skills Competition (Enterprise Group) WP (IV)
总价合同、成本补偿合同、工料合同
網絡中的一些基本概念
Quelques concepts de base dans le réseau
mass data
Operation of documents in index library
F5LTM(一)逻辑关系图
山西省第二届网络安全技能大赛(企业组)部分赛题WP(三)
Why do solution providers "love" CS Genesis SD NAND
实验一 简单程序设计
Hand in hand building a home NAS universal server (1) | configuration selection and preparation
sql的约束条件
Part of the second Shanxi Network Security Skills Competition (Enterprise Group) WP (I)
C 语言结构体数组指针以及函数








