主题 : make zImage 的经典错误 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 101028
精华: 0
发帖: 2
金钱: 20 两
威望: 4 点
综合积分: 4 分
注册时间: 2014-02-28
最后登录: 2014-03-16
楼主  发表于: 2014-03-16 19:50

 make zImage 的经典错误

复制代码
  1. arch/arm/mach-s5pv210/built-in.o:(.data+0x2834): undefined reference to `s3c_device_fb'
  2. arch/arm/plat-s5p/built-in.o: In function `s5p_clocksource_init':
  3. /opt/FriendlyARM/linux-3.0.8/arch/arm/plat-s5p/s5p-time.c:380: undefined reference to `s3c_device_timer'
  4. arch/arm/plat-s5p/built-in.o: In function `s5p_set_timer_source':
  5. /opt/FriendlyARM/linux-3.0.8/arch/arm/plat-s5p/s5p-time.c:236: undefined reference to `s3c_device_timer'
  6. make: *** [.tmp_vmlinux1] Error 1


这些错误怎么修改呢?
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2014-03-17 12:29

 回 楼主(739650838) 的帖子

我想你需要在内核源代码中找出定义“s3c_device_fb”和"s3c_device_timer"的源文件,并且确保你使用的内核配置文件是包含这这部分源代码的。
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."