win32thread.c:(.text+0x60):对‘_beginthreadex’未定义的引用

common/win32thread.o:win32thread.c:(.text+0x60): undefined reference to `_beginthreadex'
common/win32thread.o:win32thread.c:(.text+0x60): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `_beginthreadex'
collect2: error: ld returned 1 exit status
Makefile:192: recipe for target 'libx264-148.dll' failed
make: *** [libx264-148.dll] Error 1

解决办法:

./configure --enable-shared --enable-static --disable-thread

关键是最后一个--disable-thread

win32thread.c:(.text+0x60):对‘_beginthreadex’未定义的引用相关推荐

  1. 使用gcc编译报错:/tmp/ccoLTk4o.o:在函数‘main’中: main1.c:(.text+0x9c):对‘pirnt1’未定义的引用 collect2: 错误:ld 返回 1

    报错 使用gcc编译报错:/tmp/ccoLTk4o.o:在函数'main'中: main1.c:(.text+0x9c):对'pirnt1'未定义的引用 collect2: 错误:ld 返回 1 解 ...

  2. 结合xxx.cpp:(.text+0x55):对‘xxx’未定义的引用剖析Linux环境下动态库.so文件

    操作系统:Linux系统 场景:g++编译,连接动态库文件时 错误示例(中文): /tmp/cccgNNpb.o:在函数'main'中: test.cpp:(.text+0x55):对'myprint ...

  3. 什么是未定义的引用/未解决的外部符号错误,如何解决?

    本文翻译自:What is an undefined reference/unresolved external symbol error and how do I fix it? What are ...

  4. 【Ubuntu-opencv3.4.0-Error】对‘cv::Mat::updateContinuityFlag()’未定义的引用

    /path/libTrackKcf.a(kcftracker.cpp.o):在函数'ot::KCFTracker::KCFTracker(bool, bool, bool, bool)'中: kcft ...

  5. 【Ubuntu16.04-opencv3.4.0-FDDB Evaluation】评测代码使用中遇到对‘cvxxx’未定义的引用问题

    直接make将会报出以下错误 OpenCVUtils.cpp:(.text+0x39):对'cvTypeOf'未定义的引用 OpenCVUtils.cpp:(.text+0x87):对'cvGet2D ...

  6. 对pthread_create未定义的引用

    pthread库不是Linux系统默认的库,连接时需要使用库libpthread.a,在编译中要加-lpthread [kou@localhost practive]$ gcc creat.c /tm ...

  7. linux链接时报未定义的引用,g ++链接或引用不与本地安装的库一起使用:未定义的引用...

    我正在尝试在Ubuntu上编译一个quickfix程序,但我得到了对FIX::的未定义引用,好像-lquickfix选项没有放在g ++命令中.实际上,如果没有此链接选项,我会得到相同的结果. 首先, ...

  8. 错误 对‘pcl::console::print(pcl::console::VERBOSITY_LEVEL, char const*, ...)’未定义的引用

    错误描述 CMakeFiles/robotChassis.dir/src/Motion.cpp.o:在函数'void pcl::detail::FieldMapper<pcl::PointXYZ ...

  9. cmake编译pcl程序时出现‘boost::this_thread::hiden::sleep_until(timespec const)’未定义的引用

    CMakeFiles/main.dir/main.cpp.o:在函数'boost::this_thread::sleep(boost::posix_time::ptime const&)'中: ...

最新文章

  1. stylus使用文档总结:内置方法+参数+条件+迭代+导入+继承
  2. CentOS修改yum源为阿里云
  3. Delphi2009下编译提示“无法找到“Excel_TLB”
  4. C++Vector使用方法
  5. Unity3D-声音系统
  6. VBA 利用API 测试计算机网络连通性
  7. Java笔记-通过4个小程序对Java内存初步探究
  8. realme x2 深度测试打不开_realme 的产品到底是不是贴牌的?
  9. 北京自动驾驶路测名单更新:蔚来和Pony.ai也获准上路了
  10. 远离你的电脑,代码写得更好!
  11. day05_日常SQL练习(一)
  12. 9个最新的手机/移动设备jQuery插件
  13. 2008服务器系统只有回收站,清除Windows Server 2008 R2中所有用户的回收站
  14. 根据MAC地址查询网卡厂商
  15. html家庭家谱网页,怎样编写自己小家庭的家谱
  16. 高效扫频水处理器原理介绍
  17. sqli-labs 第八关盲注脚本
  18. 【Mathematica】 函数的积分
  19. XAMP安装Apacher无法启动
  20. sqlsugar模糊查询

热门文章

  1. Ubuntu 用vsftpd 配置FTP服务器
  2. linux系统怎么清理,linux系统怎么清理废物清理
  3. 沈阳药科大学计算机基础网址,2016年沈阳药科大学药学信息学1016计算机技术基础之C程序设计复试笔试最后押题五套卷...
  4. python import from区别_python import 与 from .... import ...区别-阿里云开发者社区
  5. 点在平面上的投影坐标例题_光测力学-栅线投影(面结构光)技术
  6. python的datetime模块需要装吗,Python datetime模块的介绍(日期格式化 时间戳)
  7. 三国志幻想大陆服务器维护,三国志幻想大陆8月14日更新维护公告
  8. mysql sql variant_SQL 数据类型
  9. 偷走不经意流逝的时光,摸鱼神器:神偷
  10. 一个用Spring Boot做的垃圾分类小程序,你不拿来学习一下?