Ticket #4 (closed defect: fixed)

Opened 21 months ago

Last modified 16 months ago

anonymous

Reported by: raubn.zero@… Owned by: somebody
Priority: major Milestone: milestone3
Component: component1 Version: 1.0
Keywords: <Key> Cc: painting

Description

I got an error compiling LORCON, my system is Ubuntu 7.04 (Feisty Fawn) with Kernel 2.6.20.6, the source was obtained via subversion.

Report:

raubn@laptop:~/wifi/trunk$ make /bin/sh ./libtool --mode=compile gcc -I./ -DHAVE_CONFIG_H -g -O2 -DTX80211_VERSION=20061101 -c ifcontrol_linux.c -o ifcontrol_linux.lo

gcc -I./ -DHAVE_CONFIG_H -g -O2 -DTX80211_VERSION=20061101 -c ifcontrol_linux.c -fPIC -DPIC -o .libs/ifcontrol_linux.o

In file included from ifcontrol_linux.h:42,

from ifcontrol_linux.c:27:

/usr/include/linux/if.h:119: error: redefinition of 'struct ifmap' /usr/include/linux/if.h:155: error: redefinition of 'struct ifreq' /usr/include/linux/if.h:205: error: redefinition of 'struct ifconf'

I try to change some includes libraries but I couldn't fix it.

Thanks!

Change History

Changed 21 months ago by dragorn

  • status changed from new to closed
  • resolution set to fixed

Removed net/if.h and left linux/if.h, I suspect this will solve it. Both permutations work on my 2.6.20 system, however, so I can't be 100%. (commit 141)

I suspect this was introduced during fixing the previous bug involving interface structs. (commit 140 or so)

Re-open if this doesn't fix it.

Changed 16 months ago by anonymous

  • priority changed from minor to major
  • version set to 1.0
  • type changed from enhancement to defect
  • milestone changed from milestone2 to milestone3
Note: See TracTickets for help on using tickets.