Re: __packed
Pavel Roskin <[email protected]> Fri, 29 Apr 2011 10:52:33 -0400
| Newsgroups | gmane.linux.drivers.madwifi.user |
|---|---|
| Message-ID | <[email protected]> |
On 04/28/2011 10:22 PM, Hassan Elmadi wrote: > My compiler (gcc) seems to not support the keyword __packed. It's not a compiler keyword. It's a macro. > I'm trying to > compile ieee80211.h and get this error for each structure: > > *error: conflicting types for '__packed'* > > So it seems the compiler interprets the keyword __packed as the name of the > structure. Yes. > Any idea as to how to fix this? __packed is defined in include/compat.h, which should be included in all files by using the "-include" switch to the compiler. You can find "-include" in Makefile.inc. You need to figure out why that switch is not passed to the compiler, or why it doesn't have the necessary effect. -- Regards, Pavel Roskin ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd