码迷,mamicode.com
首页 > 其他好文 > 详细

生成Uboot Image时碰到的问题记录

时间:2015-01-09 13:58:49      阅读:223      评论:0      收藏:0      [点我收藏+]

标签:

drivers/net/igbvf/igbvf.h:129:15: error: duplicate member ‘page’ make[3]: *** [drivers/net/igbvf/ethtool.o] Error 1

SOLUTION:
---------
SOLUTION:
---------
struct igbvf_buffer {
dma_addr_t dma;
struct sk_buff *skb;`enter code here`
union {
/* Tx */
struct {
unsigned long time_stamp;
u16 length;
u16 next_to_watch;
u16 mapped_as_page;
};
/* Rx */
struct {
struct page *page; <--------------- No 1
u64 page_dma;
unsigned int page_offset;
};
};
struct page *page; <------------ No 2
};
Hmm conflict of a member with a transparent union.
Maybe older gccs didnt catch that. But it looks very broken
Comment second pointer.

 

drivers/power/pda_power.c:307:2: error: too few arguments to function ‘otg_get_transceiver’

In file included from drivers/power/pda_power.c:22:0:

include/linux/usb/otg.h:170:32: note: declared here

make[2]: *** [drivers/power/pda_power.o] Error 1

 

 

 




生成Uboot Image时碰到的问题记录

标签:

原文地址:http://www.cnblogs.com/Viewsky/p/4213034.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!