Fix it to use EXTRA_CFLAGS
来源:互联网 发布:kuka离线编程软件 编辑:程序博客网 时间:2024/05/30 12:03
LDD3 :
1. 在linux2.6.34.1编译提示 Fix it to use EXTRA_CFLAGS. Stop.
将makefile中的 CFLAGS 替换成 EXTRA_CFLAGS就可以了。
原因是在2.6的内核的版本中所有的 EXTRA_ 变量只在所定义的Kbuild Makefile中起作用。EXTRA_ 变量可 以在Kbuild Makefile中所有命令中使用。 $(EXTRA_CFLAGS) 是用 $(CC) 编译C源文件时的选项。 例子: # drivers/sound/emu10kl/Makefile EXTRA_CFLAGS += -I$(obj) ifdef DEBUG EXTRA_CFLAGS += -DEMU10KL_DEBUG endif 该变量是必须的,因为顶层Makefile拥有变量 $(CFLAGS) 并用来作为整个源 代码树的编译选项。
- Fix it to use EXTRA_CFLAGS
- Fix it to use EXTRA_CFLAGS. Stop.
- Fix it to use EXTRA_CFLAGS. Stop.
- Fix it to use EXTRA_CFLAGS. Stop.
- Fix it to use EXTRA_CFLAGS. Stop
- RMAN:Use CROSSCHECK command to fix status
- to mismatched status. Use CROSSCHECK command to fix status
- AutoResetEvent.How to use it
- Double-checked Locking (DCL) and how to fix it
- Tutorial: Bad Geometry – How to find and fix it
- tjkelly com/ blog/wordpress-import-failed-how-to-fix-it
- Lock,Moniter,Mutex.How to use it
- How to Best Use Collaboration IT
- RMAN-06208: to mismatched status. Use CROSSCHECK command to fix status- 未完待续
- Why to use memory pool and how to implement it
- Fix "\\computer is not accessible. You might not have permission to use this network resource”
- Warning: The VM will try to fix the stack guard now.It's highly recommended that you fix the library
- What is JNI Graphics and how to use it?
- JS图片预览
- haproxy + varnish cache配置
- Android 显示不满屏的问题解决
- s4s-elt-character:Non-whitespace characters
- CreateFileMapping的MSDN翻译和使用心得
- Fix it to use EXTRA_CFLAGS
- 3、ETL数据清洗、一致化子系统
- 基于卡尔曼滤波的背景更新(Opencv实现)菜鸟记要
- BlackBerry手机上面开发Java程序,如果才能让代码运行效率高,占用系统资源少?
- ServletContext作用功能详解
- PowerShell 2.0 实践(一)操作文件系统
- ETW初接触
- c/c++编译问题
- 栈的简单空间映射