惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Google DeepMind News
Google DeepMind News
www.infosecurity-magazine.com
www.infosecurity-magazine.com
L
LINUX DO - 最新话题
N
News | PayPal Newsroom
S
Security Affairs
W
WeLiveSecurity
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Webroot Blog
Webroot Blog
Spread Privacy
Spread Privacy
A
Arctic Wolf
T
Troy Hunt's Blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
D
Darknet – Hacking Tools, Hacker News & Cyber Security
C
Cybersecurity and Infrastructure Security Agency CISA
T
Threat Research - Cisco Blogs
V2EX - 技术
V2EX - 技术
Scott Helme
Scott Helme
Google Online Security Blog
Google Online Security Blog
Schneier on Security
Schneier on Security
F
Fortinet All Blogs
U
Unit 42
爱范儿
爱范儿
腾讯CDC
S
Security @ Cisco Blogs
PCI Perspectives
PCI Perspectives
Hacker News - Newest:
Hacker News - Newest: "LLM"
Apple Machine Learning Research
Apple Machine Learning Research
C
CERT Recently Published Vulnerability Notes
Security Latest
Security Latest
Y
Y Combinator Blog
S
Schneier on Security
Cisco Talos Blog
Cisco Talos Blog
T
The Blog of Author Tim Ferriss
Hugging Face - Blog
Hugging Face - Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
IT之家
IT之家
K
Kaspersky official blog
Security Archives - TechRepublic
Security Archives - TechRepublic
博客园 - 聂微东
Cloudbric
Cloudbric
V
V2EX
H
Help Net Security
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
小众软件
小众软件
TaoSecurity Blog
TaoSecurity Blog
T
Tor Project blog
G
Google Developers Blog
人人都是产品经理
人人都是产品经理
GbyAI
GbyAI
MyScale Blog
MyScale Blog

博客园 - CZoneSoft

HBuilder的扩展插件开发暴露了一个事实:其实不能实现写一次代码实现跨平台App生成 幂等方法的应用 2018春节旅行大数据分析 CZoneSoft Android-x86应用于大型交互设备成功案例 win7 x64安装离线.net 4.0安装失败 报0xc8000247错误 软件以及程序员价值正日益低贱,大胆预言:中国程序员在威客网站逼迫下,收入将不及农民工 CIF视频是什么 新族工程项目合同管理软件 CZoneSoft iBooker手机电子书阅读器开发 在广州生活真正的最低工资标准 想做电子商务,为什么不去淘宝开店,为什么要开发自己的交易平台? 当数据为空时如何显示DetailView以便可以新增记录 mDNSResponder-Apple 公司的产品,用于自动发现局域网上的打印机或其它设备 微软的云计算概念和Google的云计算概念的差别 真的没有几个人能做到!--如果你休息一天,实力就会倒退两天--2500多个日子里只有5天在休息! 手动去迅雷广告,加速迅雷启动的方法 高薪职业走向 开源杀毒软件Moon Secure Antivirus的使用结局 开放与排斥
修正ffmpeg编译错误-videodev2.h:518: error: syntax error before
CZoneSoft · 2008-08-18 · via 博客园 - CZoneSoft

编译ffmpeg 提示错误:

/usr/include/linux/videodev2.h:518: error: syntax error before

......

打开/usr/include/linux/videodev2.h , 518行代码:

typedef __u64 v4l2_std_id;

这个错误可能是当前编译环境不认 __u64 声明,(我的gcc版本: gcc version 3.4.6 20060404 )

只好修改"伟大"的ffmpeg源码了: 把__u64声明改为 unsigned long long,

保存,重新编译出现另一处声明错误, 错误出现在 /usr/include/linux/videodev.h , 接着修改,

ulong 声明改成 unsigned long, 保存,再编译,顺利通过.

也可以用宏定义来修正这个错误,不过既然其它地方没问题,暂时先这么改看看有没有问题.

没有64位机的环境,好像__u64这样的声明兼容性不太好, 唉,终究是编译器版本太多, 只苦了在这些架构下工作的开发人员, 真不明白这样的结局真的"伟大"吗? 只是耗费更多的精力而已... , 而且,这样的错误不应该由应用者来承担啊.