Re: [Madwifi-users] Error building madwifi-ng
Status: Beta
Brought to you by:
otaku
From: digger v. <dv_...@ve...> - 2006-04-21 22:09:14
|
Hi, On Fri, 2006-04-21 at 12:28 -0400, Pavel Roskin wrote: ... > > I mean the compiler complains about "printk" in seq_printf declaration in the > file seq_file.h in the kernel sources. So my question is whether the compiler > is right to complain about it. What is the seq_printf declaration in > seq_file.h? Do you have "printk" or "printf" in the format attribute? > It's for printf int seq_printf(struct seq_file *, const char *, ...) __attribute__ ((format (printf,2,3))); > If it's "printk", then the kernel is incorrect. Then make sure that the kernel > is up to date and report the problem to Ubuntu. > > If it's "printf", then there must be "#define printf printk" somewhere. To > locate that place, you can add "#define printf foo" before the seq_printf > declaration, and then the compiler would report where "printf" was defined > before. It's in net80211/ieee80211_linux.h, line 311 Thanks for walking me through this. What's the next step? > > > > Not knowing much I would think that a dist would ship with the compiler > > the kernel was built with. In this case is 4.03 is installed. Trying > > not to clutter my hard-drive, I'd rather not install gcc3.* I should > > look in to what compiler was used with the kernel. > > Just run "cat /proc/version" > ahh, okay, it's 4.03 same as the compiler Thanks digger |