首页 > 代码库 > 生成Uboot Image时碰到的问题记录

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

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 1u64 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 brokenComment 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时碰到的问题记录