iTop4412---linux 3.0.15内核编译错误
ARM开发板:iTop4412
内核版本:linux 3.0.15
交叉编译器:arm-2014.05
主机:Ubuntu 16
错误1:
CC arch/arm/mach-exynos/cpu-exynos4.o
{standard input}: Assembler messages:
{standard input}:51: Error: selected processor does not support ARM mode `smc 0'
{standard input}:133: Error: selected processor does not support ARM mode `smc 0'
{standard input}:156: Error: selected processor does not support ARM mode `smc 0'
{standard input}:175: Error: selected processor does not support ARM mode `smc 0'
{standard input}:194: Error: selected processor does not support ARM mode `smc 0'
scripts/Makefile.build:305: recipe for target 'arch/arm/mach-exynos/cpu-exynos4.o' failed
解决办法:http://blog.csdn.net/kuangzuxiaon/article/details/72356335
错误2:
TIMEC kernel/timeconst.h
Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at kernel/timeconst.pl line 373.
/home/yang/Work/iTOP4412/src/iTop4412_Kernel_3.0/kernel/Makefile:140: recipe for target 'kernel/timeconst.h' failed
解决办法:将kernel/timeconst.pl中第373行的defined()去掉只留下@val就可以了
错误3:
CC drivers/media/video/samsung/mali_ics/common/mali_kernel_core.o
arm-none-linux-gnueabi-gcc: error: directory: No such file or directory
arm-none-linux-gnueabi-gcc: error: directory": No such file or directory
scripts/Makefile.build:305: recipe for target 'drivers/media/video/samsung/mali_ics/common/mali_kernel_core.o' failed
make[5]: *** [drivers/media/video/samsung/mali_ics/common/mali_kernel_core.o] Error 1
scripts/Makefile.build:441: recipe for target 'drivers/media/video/samsung/mali_ics' failed
make[4]: *** [drivers/media/video/samsung/mali_ics] Error 2
scripts/Makefile.build:441: recipe for target 'drivers/media/video/samsung' failed
解决办法:将.../mali_ics下的Makefile和Makefile.common中的-qv exported 改为:-Eqv "exported|Unversioned directory"
错误4:
CC drivers/media/video/samsung/ump_ics/linux/ump_kernel_linux.o
arm-none-linux-gnueabi-gcc: error: directory: No such file or directory
arm-none-linux-gnueabi-gcc: error: directory": No such file or directory
scripts/Makefile.build:305: recipe for target 'drivers/media/video/samsung/ump_ics/linux/ump_kernel_linux.o' failed
make[5]: *** [drivers/media/video/samsung/ump_ics/linux/ump_kernel_linux.o] Error 1
scripts/Makefile.build:441: recipe for target 'drivers/media/video/samsung/ump_ics' failed
make[4]: *** [drivers/media/video/samsung/ump_ics] Error 2
scripts/Makefile.build:441: recipe for target 'drivers/media/video/samsung' failed
解决方法 : 将.../ump_ics下的Makefile中的-qv exported 改为:-Eqv "exported|Unversioned directory"
错误5:
drivers/video/samsung/s3cfb_main.c: In function 's3cfb_late_resume':
drivers/video/samsung/s3cfb_main.c:464:3: warning: too many arguments for format [-Wformat-extra-args]printk(KERN_DEBUG, "error on lcd33 regulator enable : lcd_regulator is null\n");^
drivers/video/samsung/s3cfb_main.c: In function 's3cfb_probe':
drivers/video/samsung/s3cfb_main.c:334:11: warning: 'fbdev[0]' may be used uninitialized in this function [-Wmaybe-uninitialized]free_irq(fbdev[i]->irq, fbdev[i]);^CC drivers/video/samsung/s3cfb_ops.o
drivers/video/samsung/s3cfb_ops.c:54:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]extern int get_lcd_type();^
drivers/video/samsung/s3cfb_ops.c: In function 's3cfb_set_win_params':
drivers/video/samsung/s3cfb_ops.c:709:5: warning: "CONFIG_FB_S5P_SOFTBUTTON_UI" is not defined [-Wundef]#if CONFIG_FB_S5P_SOFTBUTTON_UI^
In file included from drivers/video/samsung/s3cfb_ops.c:31:0:
drivers/video/samsung/s3cfb_ops.c: In function 's3cfb_check_var':
drivers/video/samsung/s3cfb.h:217:36: error: inlining failed in call to always_inline 'get_fimd_global': function body not availableextern inline struct s3cfb_global *get_fimd_global(int id);^
drivers/video/samsung/s3cfb_ops.c:700:23: error: called from herestruct s3cfb_global *fbdev = get_fimd_global(win->id);
解决方法 : 删除drivers/video/samsung/s3cfb.h中第217行的关键字inline
iTop4412---linux 3.0.15内核编译错误相关推荐
- linux内核使用make编译出错,linux 内核编译错误 make menuconfig
linux 内核编译错误 make menuconfig [root@fedora /usr/src/kernels/2.6.21-1.3194.fc7-i686]#make menuconfig H ...
- 编译linux内核的错误,linux内核编译错误
原标题:linux内核编译错误 内核版本:2.6.14 交叉编译器: -linux-gcc 4.3.3 错误: arch/arm/mm/alignment.c: In function 'proc_a ...
- Linux Kernel 0.01 的编译和运行
Linux Kernel 0.01 的编译和运行 本文操作环境均在 Linux 系统中实现. ===================================================== ...
- VC6.0的一个编译错误:fatal error C1001: INTERNAL COMPILER ERROR。
最近在编译一个VC6.0工程(开发环境:win2000+VS6.0+Sp6),在加入预编译头后出现了下面的编译错误提示: c:/program files/microsoft visual studi ...
- 错误linux autocof.h,【技巧】一种提高 [ 定位Linux内核编译错误 ] 效率的方法
前言:在编译一些非标准linux内核时,常会出现一些错误导致编译中止.这其中的大部分都能通过根据编译器报出的错误定位来查阅源码.找到相关的依赖配置,然后修正配置状态来解决.但也有时候从依赖逻辑中无法发 ...
- 一天一阔阔儿ZYNQ的linux移植完整版(Linux环境搭建以及内核编译)
虚拟机UBUNTU12.04 64bit 701N 芯片是7020clg400 XILINX的交叉编译器安装 主要就是安装出现的一些问题,方法总结: 主要涉及的问题是,ubuntu12.04 64位系 ...
- Linux 2.6 menuconfig内核编译配置选项详解
Code maturity level options 代码成熟度选项 Prompt for development and/or incomplete code/drivers 显示尚在开发中或尚未 ...
- 【Linux】Linux添加系统调用以及内核编译过程
在想要替换原有系统内核或者需要在原来的系统中添加一些系统调用的时候就会涉及到Linux内核的编译.但是内核编译虽然步骤简单,但是需要注意的东西还是太多了.首先一点就是由于Linux的开源性导致的版本问 ...
- linux 内核编译错误 error: conflicting types for ‘syscall_trace_enter’
编译内核出现如下错误: arch/x86/kernel/ptrace.c:1472:17: error: conflicting types for 'syscall_trace_enter' In ...
最新文章
- python浪漫代码-python七夕浪漫表白源码
- 【Android APT】编译时技术 ( 编译时注解 和 注解处理器 依赖库 )
- jQuery 效果——显示隐藏/滑动/淡入淡出/自定义动画||事件切换——简洁版滑动下拉菜单
- jupyter下使用conda环境
- 前端的请求最大线程数是多少啊_面试官:创建多少个线程合适,我该怎么说?...
- [数位DP]JZOJ 3363 Number
- 好的网站收藏---长期更新---长期更新---长期更新---长期更新--
- jsonp 使用选择器
- 个人制作的DNN 5.4 API Document
- 【系统架构】类图怎么画
- 【iOS】崩溃收集和解析
- 关于花瓣网header条的思考
- vscode误删文件恢复
- 令人不寒而栗的黄蓉(转)
- Word/WPS文档中缩小行距
- 图像注意力机制汇总学习
- 从mpeg ts文件中提取I帧(3):pes包的解析
- Android WIFI调试助手2.0使用指南
- Spring 项目启动错误提示 LoggingApplicationListener
- 大数据5V特点 --- 5Vs of Big Data