Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 20/12/2005, à 02:19

empoire

Installer Madwifi pour Ag530

Salut,

Je possede une carte sans fil D-Link dwl-ag530. Elle n est pas installer automatiquement par ubuntu; du moins il ne fonction pas, il est reconnu mais ne fonctionne pas. J ai essaye avec les drivers proprietaire qui viens avec ubuntu mais ca ne marche pas plus. Alors j ai essaye d installer les drivers madwifi en suivant le howto sur le site officielle de madwifi. mais je rencontre des erreurs quand j essaye de compiler.

Voici ce que ca donen quand je tappe MAKE


root@neo2:/usr/src/madwifi-ng# make
Checking requirements... ok.
Checking kernel configuration... ok.
mkdir -p ./symbols
for i in ./ath_hal ./net80211 ath_rate/sample ./ath ./tools ; do \
        make -C $i || exit 1; \
done
make[1]: Entering directory `/usr/src/madwifi-ng/ath_hal'
make -C /usr/src/linux-headers-2.6.12-10-386 SUBDIRS=/usr/src/madwifi-ng/ath_hal MODVERDIR=/usr/src/madwifi-ng/ath_hal/../symbols modules
/usr/src/linux-headers-2.6.12-10-386/scripts/gcc-version.sh: line 11: gcc-3.4: command not found
/usr/src/linux-headers-2.6.12-10-386/scripts/gcc-version.sh: line 12: gcc-3.4: command not found
make[2]: gcc-3.4: Command not found
make[2]: Entering directory `/usr/src/linux-headers-2.6.12-10-386'
  CC [M]  /usr/src/madwifi-ng/ath_hal/ah_osdep.o
cc1: warnings being treated as errors
In file included from include/asm/timex.h:10,
                 from include/linux/timex.h:61,
                 from include/linux/sched.h:11,
                 from include/linux/module.h:10,
                 from /usr/src/madwifi-ng/ath_hal/ah_osdep.c:46:
include/asm/processor.h: In function 'load_esp0':
include/asm/processor.h:486: warning: implicit declaration of function 'unlikely'
In file included from include/linux/sched.h:12,
                 from include/linux/module.h:10,
                 from /usr/src/madwifi-ng/ath_hal/ah_osdep.c:46:
include/linux/jiffies.h: At top level:
include/linux/jiffies.h:84: warning: type defaults to 'int' in declaration of 'u64'
include/linux/jiffies.h:84: error: syntax error before 'jiffies_64'
include/linux/jiffies.h:88: error: syntax error before 'get_jiffies_64'
include/linux/jiffies.h:88: warning: type defaults to 'int' in declaration of 'get_jiffies_64'
include/linux/jiffies.h:88: warning: data definition has no type or storage class
include/linux/jiffies.h: In function 'timespec_to_jiffies':
include/linux/jiffies.h:320: error: called object 'u64' is not a function
include/linux/jiffies.h:320: error: called object 'u64' is not a function
include/linux/jiffies.h:320: error: 'NSEC_PER_SEC' undeclared (first use in this function)
include/linux/jiffies.h:320: error: (Each undeclared identifier is reported only once
include/linux/jiffies.h:320: error: for each function it appears in.)
include/linux/jiffies.h:321: error: called object 'u64' is not a function
include/linux/jiffies.h:321: error: called object 'u64' is not a function
include/linux/jiffies.h:324: error: syntax error before 'sec'
include/linux/jiffies.h:324: error: syntax error before 'NSEC_PER_SEC'
include/linux/jiffies.h:324: error: called object 'u64' is not a function
include/linux/jiffies.h:324: error: syntax error before ')' token
include/linux/jiffies.h:328: warning: no return statement in function returning non-void
include/linux/jiffies.h: In function 'jiffies_to_timespec':
include/linux/jiffies.h:337: error: syntax error before 'nsec'
include/linux/jiffies.h:338: error: 'nsec' undeclared (first use in this function)
include/linux/jiffies.h:338: error: 'NSEC_PER_SEC' undeclared (first use in this function)
include/linux/jiffies.h: In function 'timeval_to_jiffies':
include/linux/jiffies.h:359: error: called object 'u64' is not a function
include/linux/jiffies.h:359: error: called object 'u64' is not a function
include/linux/jiffies.h:359: error: 'NSEC_PER_SEC' undeclared (first use in this function)
include/linux/jiffies.h:360: error: called object 'u64' is not a function
include/linux/jiffies.h:360: error: called object 'u64' is not a function
include/linux/jiffies.h:363: error: syntax error before 'sec'
include/linux/jiffies.h:363: error: syntax error before 'NSEC_PER_SEC'
include/linux/jiffies.h:363: error: called object 'u64' is not a function
include/linux/jiffies.h:363: error: syntax error before ')' token
include/linux/jiffies.h:366: warning: no return statement in function returning non-void
include/linux/jiffies.h: In function 'jiffies_to_timeval':
include/linux/jiffies.h:375: error: syntax error before 'nsec'
include/linux/jiffies.h:376: error: 'nsec' undeclared (first use in this function)
include/linux/jiffies.h:376: error: 'NSEC_PER_SEC' undeclared (first use in this function)
include/linux/jiffies.h:377: error: 'NSEC_PER_USEC' undeclared (first use in this function)
In file included from include/linux/sched.h:12,
                 from include/linux/module.h:10,
                 from /usr/src/madwifi-ng/ath_hal/ah_osdep.c:46:
include/linux/jiffies.h:385:41: error: division by zero in #if
include/linux/jiffies.h:385:42: error: division by zero in #if
include/linux/jiffies.h: In function 'jiffies_to_clock_t':
include/linux/jiffies.h:388: error: syntax error before 'tmp'
include/linux/jiffies.h:389: error: 'NSEC_PER_SEC' undeclared (first use in this function)
include/linux/jiffies.h:389: error: 'USER_HZ' undeclared (first use in this function)
include/linux/jiffies.h:389: error: 'tmp' undeclared (first use in this function)
include/linux/jiffies.h:389: error: invalid lvalue in asm output 0
include/linux/jiffies.h:396:18: error: division by zero in #if
include/linux/jiffies.h: In function 'clock_t_to_jiffies':
include/linux/jiffies.h:401: error: syntax error before 'jif'
include/linux/jiffies.h:404: error: 'USER_HZ' undeclared (first use in this function)
include/linux/jiffies.h:408: error: 'jif' undeclared (first use in this function)
include/linux/jiffies.h:408: error: syntax error before numeric constant
include/linux/jiffies.h:409: error: invalid lvalue in asm output 0
include/linux/jiffies.h: At top level:
include/linux/jiffies.h:414: error: syntax error before 'jiffies_64_to_clock_t'
include/linux/jiffies.h:414: error: syntax error before 'x'
include/linux/jiffies.h:415: warning: return type defaults to 'int'
include/linux/jiffies.h:415: warning: function declaration isn't a prototype
include/linux/jiffies.h:416:41: error: division by zero in #if
include/linux/jiffies.h:416:42: error: division by zero in #if
include/linux/jiffies.h: In function 'jiffies_64_to_clock_t':
include/linux/jiffies.h:424: error: 'x' undeclared (first use in this function)
include/linux/jiffies.h:425: error: 'NSEC_PER_SEC' undeclared (first use in this function)
include/linux/jiffies.h:425: error: 'USER_HZ' undeclared (first use in this function)
include/linux/jiffies.h:425: error: invalid lvalue in asm output 0
include/linux/jiffies.h: At top level:
include/linux/jiffies.h:430: error: syntax error before 'nsec_to_clock_t'
include/linux/jiffies.h:430: error: syntax error before 'x'
include/linux/jiffies.h:431: warning: return type defaults to 'int'
include/linux/jiffies.h:431: warning: function declaration isn't a prototype
include/linux/jiffies.h:432:28: error: division by zero in #if
include/linux/jiffies.h: In function 'nsec_to_clock_t':
include/linux/jiffies.h:433: error: 'NSEC_PER_SEC' undeclared (first use in this function)
include/linux/jiffies.h:433: error: 'USER_HZ' undeclared (first use in this function)
include/linux/jiffies.h:433: error: 'x' undeclared (first use in this function)
include/linux/jiffies.h:433: error: invalid lvalue in asm output 0
In file included from include/linux/cpumask.h:82,
                 from include/linux/sched.h:15,
                 from include/linux/module.h:10,
                 from /usr/src/madwifi-ng/ath_hal/ah_osdep.c:46:
include/linux/bitmap.h: In function 'bitmap_zero':
include/linux/bitmap.h:119: error: 'BITS_PER_LONG' undeclared (first use in this function)
include/linux/bitmap.h:122: warning: implicit declaration of function 'BITS_TO_LONGS'
include/linux/bitmap.h:123: warning: implicit declaration of function 'memset'
include/linux/bitmap.h: In function 'bitmap_fill':
include/linux/bitmap.h:134: error: 'BITS_PER_LONG' undeclared (first use in this function)
include/linux/bitmap.h: In function 'bitmap_copy':
include/linux/bitmap.h:140: error: 'BITS_PER_LONG' undeclared (first use in this function)
include/linux/bitmap.h:144: warning: implicit declaration of function 'memcpy'
include/linux/bitmap.h: In function 'bitmap_and':
include/linux/bitmap.h:151: error: 'BITS_PER_LONG' undeclared (first use in this function)
include/linux/bitmap.h: In function 'bitmap_or':
include/linux/bitmap.h:160: error: 'BITS_PER_LONG' undeclared (first use in this function)
include/linux/bitmap.h: In function 'bitmap_xor':
include/linux/bitmap.h:169: error: 'BITS_PER_LONG' undeclared (first use in this function)
include/linux/bitmap.h: In function 'bitmap_andnot':
include/linux/bitmap.h:178: error: 'BITS_PER_LONG' undeclared (first use in this function)
include/linux/bitmap.h: In function 'bitmap_complement':
include/linux/bitmap.h:187: error: 'BITS_PER_LONG' undeclared (first use in this function)
include/linux/bitmap.h: In function 'bitmap_equal':
include/linux/bitmap.h:196: error: 'BITS_PER_LONG' undeclared (first use in this function)
include/linux/bitmap.h: In function 'bitmap_intersects':
include/linux/bitmap.h:205: error: 'BITS_PER_LONG' undeclared (first use in this function)
include/linux/bitmap.h: In function 'bitmap_subset':
include/linux/bitmap.h:214: error: 'BITS_PER_LONG' undeclared (first use in this function)
include/linux/bitmap.h: In function 'bitmap_empty':
include/linux/bitmap.h:222: error: 'BITS_PER_LONG' undeclared (first use in this function)
include/linux/bitmap.h: In function 'bitmap_full':
include/linux/bitmap.h:230: error: 'BITS_PER_LONG' undeclared (first use in this function)
include/linux/bitmap.h: In function 'bitmap_shift_right':
include/linux/bitmap.h:244: error: 'BITS_PER_LONG' undeclared (first use in this function)
include/linux/bitmap.h: In function 'bitmap_shift_left':
include/linux/bitmap.h:253: error: 'BITS_PER_LONG' undeclared (first use in this function)
In file included from include/linux/sched.h:15,
                 from include/linux/module.h:10,
                 from /usr/src/madwifi-ng/ath_hal/ah_osdep.c:46:
include/linux/cpumask.h: At top level:
include/linux/cpumask.h:85: error: syntax error before 'DECLARE_BITMAP'
include/linux/cpumask.h:85: warning: no semicolon at end of struct or union
include/linux/cpumask.h:85: warning: type defaults to 'int' in declaration of 'cpumask_t'
include/linux/cpumask.h:85: warning: data definition has no type or storage class
include/linux/cpumask.h:86: error: syntax error before '_unused_cpumask_arg_'
include/linux/cpumask.h:86: warning: type defaults to 'int' in declaration of '_unused_cpumask_arg_'
include/linux/cpumask.h:86: warning: data definition has no type or storage class
include/linux/cpumask.h:89: warning: type defaults to 'int' in declaration of 'cpumask_t'
include/linux/cpumask.h:89: error: syntax error before '*' token
include/linux/cpumask.h:90: warning: function declaration isn't a prototype
include/linux/cpumask.h: In function '__cpu_set':
include/linux/cpumask.h:91: error: 'cpu' undeclared (first use in this function)
include/linux/cpumask.h:91: error: 'dstp' undeclared (first use in this function)
include/linux/cpumask.h: At top level:
include/linux/cpumask.h:95: warning: type defaults to 'int' in declaration of 'cpumask_t'
include/linux/cpumask.h:95: error: syntax error before '*' token
include/linux/cpumask.h:96: warning: function declaration isn't a prototype
include/linux/cpumask.h: In function '__cpu_clear':
include/linux/cpumask.h:97: error: 'cpu' undeclared (first use in this function)
include/linux/cpumask.h:97: error: 'dstp' undeclared (first use in this function)
include/linux/cpumask.h: At top level:
include/linux/cpumask.h:101: error: syntax error before '*' token
include/linux/cpumask.h:102: warning: function declaration isn't a prototype
include/linux/cpumask.h: In function '__cpus_setall':
include/linux/cpumask.h:103: error: 'dstp' undeclared (first use in this function)
include/linux/cpumask.h:103: error: 'nbits' undeclared (first use in this function)
include/linux/cpumask.h: At top level:
include/linux/cpumask.h:107: error: syntax error before '*' token
include/linux/cpumask.h:108: warning: function declaration isn't a prototype
include/linux/cpumask.h: In function '__cpus_clear':
include/linux/cpumask.h:109: error: 'dstp' undeclared (first use in this function)
include/linux/cpumask.h:109: error: 'nbits' undeclared (first use in this function)
include/linux/cpumask.h: At top level:
include/linux/cpumask.h:116: error: syntax error before 'cpumask_t'
include/linux/cpumask.h:117: warning: function declaration isn't a prototype
include/linux/cpumask.h: In function '__cpu_test_and_set':
include/linux/cpumask.h:118: error: 'cpu' undeclared (first use in this function)
include/linux/cpumask.h:118: error: 'addr' undeclared (first use in this function)
include/linux/cpumask.h: At top level:
include/linux/cpumask.h:122: error: syntax error before '*' token
include/linux/cpumask.h:124: warning: function declaration isn't a prototype
include/linux/cpumask.h: In function '__cpus_and':
include/linux/cpumask.h:125: error: 'dstp' undeclared (first use in this function)
include/linux/cpumask.h:125: error: 'src1p' undeclared (first use in this function)
include/linux/cpumask.h:125: error: 'src2p' undeclared (first use in this function)
include/linux/cpumask.h:125: error: 'nbits' undeclared (first use in this function)
include/linux/cpumask.h: At top level:
include/linux/cpumask.h:129: error: syntax error before '*' token
include/linux/cpumask.h:131: warning: function declaration isn't a prototype
include/linux/cpumask.h: In function '__cpus_or':
include/linux/cpumask.h:132: error: 'dstp' undeclared (first use in this function)
include/linux/cpumask.h:132: error: 'src1p' undeclared (first use in this function)
include/linux/cpumask.h:132: error: 'src2p' undeclared (first use in this function)
include/linux/cpumask.h:132: error: 'nbits' undeclared (first use in this function)
include/linux/cpumask.h: At top level:
include/linux/cpumask.h:136: error: syntax error before '*' token
include/linux/cpumask.h:138: warning: function declaration isn't a prototype
include/linux/cpumask.h: In function '__cpus_xor':
include/linux/cpumask.h:139: error: 'dstp' undeclared (first use in this function)
include/linux/cpumask.h:139: error: 'src1p' undeclared (first use in this function)
include/linux/cpumask.h:139: error: 'src2p' undeclared (first use in this function)
include/linux/cpumask.h:139: error: 'nbits' undeclared (first use in this function)
include/linux/cpumask.h: At top level:
include/linux/cpumask.h:144: error: syntax error before '*' token
include/linux/cpumask.h:146: warning: function declaration isn't a prototype
include/linux/cpumask.h: In function '__cpus_andnot':
include/linux/cpumask.h:147: error: 'dstp' undeclared (first use in this function)
include/linux/cpumask.h:147: error: 'src1p' undeclared (first use in this function)
include/linux/cpumask.h:147: error: 'src2p' undeclared (first use in this function)
include/linux/cpumask.h:147: error: 'nbits' undeclared (first use in this function)
include/linux/cpumask.h: At top level:
include/linux/cpumask.h:151: error: syntax error before '*' token
include/linux/cpumask.h:153: warning: function declaration isn't a prototype
include/linux/cpumask.h: In function '__cpus_complement':
include/linux/cpumask.h:154: error: 'dstp' undeclared (first use in this function)
include/linux/cpumask.h:154: error: 'srcp' undeclared (first use in this function)
include/linux/cpumask.h:154: error: 'nbits' undeclared (first use in this function)
include/linux/cpumask.h: At top level:
include/linux/cpumask.h:158: warning: type defaults to 'int' in declaration of 'cpumask_t'
include/linux/cpumask.h:158: error: syntax error before '*' token
include/linux/cpumask.h:160: warning: function declaration isn't a prototype
include/linux/cpumask.h: In function '__cpus_equal':
include/linux/cpumask.h:161: error: 'src1p' undeclared (first use in this function)
include/linux/cpumask.h:161: error: 'src2p' undeclared (first use in this function)
include/linux/cpumask.h:161: error: 'nbits' undeclared (first use in this function)
include/linux/cpumask.h: At top level:
include/linux/cpumask.h:165: warning: type defaults to 'int' in declaration of 'cpumask_t'
include/linux/cpumask.h:165: error: syntax error before '*' token
include/linux/cpumask.h:167: warning: function declaration isn't a prototype
include/linux/cpumask.h: In function '__cpus_intersects':
include/linux/cpumask.h:168: error: 'src1p' undeclared (first use in this function)
include/linux/cpumask.h:168: error: 'src2p' undeclared (first use in this function)
include/linux/cpumask.h:168: error: 'nbits' undeclared (first use in this function)
include/linux/cpumask.h: At top level:
include/linux/cpumask.h:172: warning: type defaults to 'int' in declaration of 'cpumask_t'
include/linux/cpumask.h:172: error: syntax error before '*' token
include/linux/cpumask.h:174: warning: function declaration isn't a prototype
include/linux/cpumask.h: In function '__cpus_subset':
include/linux/cpumask.h:175: error: 'src1p' undeclared (first use in this function)
include/linux/cpumask.h:175: error: 'src2p' undeclared (first use in this function)
include/linux/cpumask.h:175: error: 'nbits' undeclared (first use in this function)
include/linux/cpumask.h: At top level:
include/linux/cpumask.h:179: warning: type defaults to 'int' in declaration of 'cpumask_t'
include/linux/cpumask.h:179: error: syntax error before '*' token
include/linux/cpumask.h:180: warning: function declaration isn't a prototype
include/linux/cpumask.h: In function '__cpus_empty':
include/linux/cpumask.h:181: error: 'srcp' undeclared (first use in this function)
include/linux/cpumask.h:181: error: 'nbits' undeclared (first use in this function)
include/linux/cpumask.h: At top level:
include/linux/cpumask.h:185: warning: type defaults to 'int' in declaration of 'cpumask_t'
include/linux/cpumask.h:185: error: syntax error before '*' token
include/linux/cpumask.h:186: warning: function declaration isn't a prototype
include/linux/cpumask.h: In function '__cpus_full':
include/linux/cpumask.h:187: error: 'srcp' undeclared (first use in this function)
include/linux/cpumask.h:187: error: 'nbits' undeclared (first use in this function)
include/linux/cpumask.h: At top level:
include/linux/cpumask.h:191: warning: type defaults to 'int' in declaration of 'cpumask_t'
include/linux/cpumask.h:191: error: syntax error before '*' token
include/linux/cpumask.h:192: warning: function declaration isn't a prototype
include/linux/cpumask.h: In function '__cpus_weight':
include/linux/cpumask.h:193: error: 'srcp' undeclared (first use in this function)
include/linux/cpumask.h:193: error: 'nbits' undeclared (first use in this function)
include/linux/cpumask.h: At top level:
include/linux/cpumask.h:198: error: syntax error before '*' token
include/linux/cpumask.h:200: warning: function declaration isn't a prototype
include/linux/cpumask.h: In function '__cpus_shift_right':
include/linux/cpumask.h:201: error: 'dstp' undeclared (first use in this function)
include/linux/cpumask.h:201: error: 'srcp' undeclared (first use in this function)
include/linux/cpumask.h:201: error: 'n' undeclared (first use in this function)
include/linux/cpumask.h:201: error: 'nbits' undeclared (first use in this function)
include/linux/cpumask.h: At top level:
include/linux/cpumask.h:206: error: syntax error before '*' token
include/linux/cpumask.h:208: warning: function declaration isn't a prototype
include/linux/cpumask.h: In function '__cpus_shift_left':
include/linux/cpumask.h:209: error: 'dstp' undeclared (first use in this function)
include/linux/cpumask.h:209: error: 'srcp' undeclared (first use in this function)
include/linux/cpumask.h:209: error: 'n' undeclared (first use in this function)
include/linux/cpumask.h:209: error: 'nbits' undeclared (first use in this function)
include/linux/cpumask.h: At top level:
include/linux/cpumask.h:213: warning: type defaults to 'int' in declaration of 'cpumask_t'
include/linux/cpumask.h:213: error: syntax error before '*' token
include/linux/cpumask.h:214: warning: function declaration isn't a prototype
include/linux/cpumask.h: In function '__first_cpu':
include/linux/cpumask.h:215: warning: implicit declaration of function 'min_t'
include/linux/cpumask.h:215: error: syntax error before 'int'
include/linux/cpumask.h:216: warning: no return statement in function returning non-void
include/linux/cpumask.h: At top level:
include/linux/cpumask.h:219: warning: type defaults to 'int' in declaration of 'cpumask_t'
include/linux/cpumask.h:219: error: syntax error before '*' token
include/linux/cpumask.h:220: warning: function declaration isn't a prototype
include/linux/cpumask.h: In function '__next_cpu':
include/linux/cpumask.h:221: error: syntax error before 'int'
include/linux/cpumask.h:222: warning: no return statement in function returning non-void
include/linux/cpumask.h: At top level:
include/linux/cpumask.h:270: warning: type defaults to 'int' in declaration of 'cpumask_t'
include/linux/cpumask.h:270: error: syntax error before '*' token
include/linux/cpumask.h:271: warning: function declaration isn't a prototype
include/linux/cpumask.h: In function '__cpumask_scnprintf':
include/linux/cpumask.h:272: error: 'buf' undeclared (first use in this function)
include/linux/cpumask.h:272: error: 'len' undeclared (first use in this function)
include/linux/cpumask.h:272: error: 'srcp' undeclared (first use in this function)
include/linux/cpumask.h:272: error: 'nbits' undeclared (first use in this function)
include/linux/cpumask.h: At top level:
include/linux/cpumask.h:278: error: syntax error before 'cpumask_t'
include/linux/cpumask.h:279: warning: function declaration isn't a prototype
include/linux/cpumask.h: In function '__cpumask_parse':
include/linux/cpumask.h:280: error: 'buf' undeclared (first use in this function)
include/linux/cpumask.h:280: error: 'len' undeclared (first use in this function)
include/linux/cpumask.h:280: error: 'dstp' undeclared (first use in this function)
include/linux/cpumask.h:280: error: 'nbits' undeclared (first use in this function)
include/linux/cpumask.h: At top level:
include/linux/cpumask.h:286: warning: type defaults to 'int' in declaration of 'cpumask_t'
include/linux/cpumask.h:286: error: syntax error before '*' token
include/linux/cpumask.h:287: warning: function declaration isn't a prototype
include/linux/cpumask.h: In function '__cpulist_scnprintf':
include/linux/cpumask.h:288: error: 'buf' undeclared (first use in this function)
include/linux/cpumask.h:288: error: 'len' undeclared (first use in this function)
include/linux/cpumask.h:288: error: 'srcp' undeclared (first use in this function)
include/linux/cpumask.h:288: error: 'nbits' undeclared (first use in this function)
include/linux/cpumask.h: At top level:
include/linux/cpumask.h:292: error: syntax error before 'cpumask_t'
include/linux/cpumask.h:293: warning: function declaration isn't a prototype
include/linux/cpumask.h: In function '__cpulist_parse':
include/linux/cpumask.h:294: error: 'buf' undeclared (first use in this function)
include/linux/cpumask.h:294: error: 'dstp' undeclared (first use in this function)
include/linux/cpumask.h:294: error: 'nbits' undeclared (first use in this function)
include/linux/cpumask.h: At top level:
include/linux/cpumask.h:362: error: syntax error before 'cpu_possible_map'
include/linux/cpumask.h:362: warning: type defaults to 'int' in declaration of 'cpu_possible_map'
include/linux/cpumask.h:362: warning: data definition has no type or storage class
include/linux/cpumask.h:363: error: syntax error before 'cpu_online_map'
include/linux/cpumask.h:363: warning: type defaults to 'int' in declaration of 'cpu_online_map'
include/linux/cpumask.h:363: warning: data definition has no type or storage class
include/linux/cpumask.h:364: error: syntax error before 'cpu_present_map'
include/linux/cpumask.h:364: warning: type defaults to 'int' in declaration of 'cpu_present_map'
include/linux/cpumask.h:364: warning: data definition has no type or storage class
In file included from include/linux/sched.h:17,
                 from include/linux/module.h:10,
                 from /usr/src/madwifi-ng/ath_hal/ah_osdep.c:46:
include/linux/nodemask.h:85: error: syntax error before 'DECLARE_BITMAP'
include/linux/nodemask.h:85: warning: no semicolon at end of struct or union
include/linux/nodemask.h:85: warning: type defaults to 'int' in declaration of 'nodemask_t'
include/linux/nodemask.h:85: warning: data definition has no type or storage class
include/linux/nodemask.h:86: error: syntax error before '_unused_nodemask_arg_'
include/linux/nodemask.h:86: warning: type defaults to 'int' in declaration of '_unused_nodemask_arg_'
include/linux/nodemask.h:86: warning: data definition has no type or storage class
include/linux/nodemask.h:89: warning: type defaults to 'int' in declaration of 'nodemask_t'
include/linux/nodemask.h:89: error: syntax error before '*' token
include/linux/nodemask.h:90: warning: function declaration isn't a prototype
include/linux/nodemask.h: In function '__node_set':
include/linux/nodemask.h:91: error: 'node' undeclared (first use in this function)
include/linux/nodemask.h:91: error: 'dstp' undeclared (first use in this function)
include/linux/nodemask.h: At top level:
include/linux/nodemask.h:95: warning: type defaults to 'int' in declaration of 'nodemask_t'
include/linux/nodemask.h:95: error: syntax error before '*' token
include/linux/nodemask.h:96: warning: function declaration isn't a prototype
include/linux/nodemask.h: In function '__node_clear':
include/linux/nodemask.h:97: error: 'node' undeclared (first use in this function)
include/linux/nodemask.h:97: error: 'dstp' undeclared (first use in this function)
include/linux/nodemask.h: At top level:
include/linux/nodemask.h:101: error: syntax error before '*' token
include/linux/nodemask.h:102: warning: function declaration isn't a prototype
include/linux/nodemask.h: In function '__nodes_setall':
include/linux/nodemask.h:103: error: 'dstp' undeclared (first use in this function)
include/linux/nodemask.h:103: error: 'nbits' undeclared (first use in this function)
include/linux/nodemask.h: At top level:
include/linux/nodemask.h:107: error: syntax error before '*' token
include/linux/nodemask.h:108: warning: function declaration isn't a prototype
include/linux/nodemask.h: In function '__nodes_clear':
include/linux/nodemask.h:109: error: 'dstp' undeclared (first use in this function)
include/linux/nodemask.h:109: error: 'nbits' undeclared (first use in this function)
include/linux/nodemask.h: At top level:
include/linux/nodemask.h:117: error: syntax error before 'nodemask_t'
include/linux/nodemask.h:118: warning: function declaration isn't a prototype
include/linux/nodemask.h: In function '__node_test_and_set':
include/linux/nodemask.h:119: error: 'node' undeclared (first use in this function)
include/linux/nodemask.h:119: error: 'addr' undeclared (first use in this function)
include/linux/nodemask.h: At top level:
include/linux/nodemask.h:124: error: syntax error before '*' token
include/linux/nodemask.h:126: warning: function declaration isn't a prototype
include/linux/nodemask.h: In function '__nodes_and':
include/linux/nodemask.h:127: error: 'dstp' undeclared (first use in this function)
include/linux/nodemask.h:127: error: 'src1p' undeclared (first use in this function)
include/linux/nodemask.h:127: error: 'src2p' undeclared (first use in this function)
include/linux/nodemask.h:127: error: 'nbits' undeclared (first use in this function)
include/linux/nodemask.h: At top level:
include/linux/nodemask.h:132: error: syntax error before '*' token
include/linux/nodemask.h:134: warning: function declaration isn't a prototype
include/linux/nodemask.h: In function '__nodes_or':
include/linux/nodemask.h:135: error: 'dstp' undeclared (first use in this function)
include/linux/nodemask.h:135: error: 'src1p' undeclared (first use in this function)
include/linux/nodemask.h:135: error: 'src2p' undeclared (first use in this function)
include/linux/nodemask.h:135: error: 'nbits' undeclared (first use in this function)
include/linux/nodemask.h: At top level:
include/linux/nodemask.h:140: error: syntax error before '*' token
include/linux/nodemask.h:142: warning: function declaration isn't a prototype
include/linux/nodemask.h: In function '__nodes_xor':
include/linux/nodemask.h:143: error: 'dstp' undeclared (first use in this function)
include/linux/nodemask.h:143: error: 'src1p' undeclared (first use in this function)
include/linux/nodemask.h:143: error: 'src2p' undeclared (first use in this function)
include/linux/nodemask.h:143: error: 'nbits' undeclared (first use in this function)
include/linux/nodemask.h: At top level:
include/linux/nodemask.h:148: error: syntax error before '*' token
include/linux/nodemask.h:150: warning: function declaration isn't a prototype
include/linux/nodemask.h: In function '__nodes_andnot':
include/linux/nodemask.h:151: error: 'dstp' undeclared (first use in this function)
include/linux/nodemask.h:151: error: 'src1p' undeclared (first use in this function)
include/linux/nodemask.h:151: error: 'src2p' undeclared (first use in this function)
include/linux/nodemask.h:151: error: 'nbits' undeclared (first use in this function)
include/linux/nodemask.h: At top level:
include/linux/nodemask.h:156: error: syntax error before '*' token
include/linux/nodemask.h:158: warning: function declaration isn't a prototype
include/linux/nodemask.h: In function '__nodes_complement':
include/linux/nodemask.h:159: error: 'dstp' undeclared (first use in this function)
include/linux/nodemask.h:159: error: 'srcp' undeclared (first use in this function)
include/linux/nodemask.h:159: error: 'nbits' undeclared (first use in this function)
include/linux/nodemask.h: At top level:
include/linux/nodemask.h:164: warning: type defaults to 'int' in declaration of 'nodemask_t'
include/linux/nodemask.h:164: error: syntax error before '*' token
include/linux/nodemask.h:166: warning: function declaration isn't a prototype
include/linux/nodemask.h: In function '__nodes_equal':
include/linux/nodemask.h:167: error: 'src1p' undeclared (first use in this function)
include/linux/nodemask.h:167: error: 'src2p' undeclared (first use in this function)
include/linux/nodemask.h:167: error: 'nbits' undeclared (first use in this function)
include/linux/nodemask.h: At top level:
include/linux/nodemask.h:172: warning: type defaults to 'int' in declaration of 'nodemask_t'
include/linux/nodemask.h:172: error: syntax error before '*' token
include/linux/nodemask.h:174: warning: function declaration isn't a prototype
include/linux/nodemask.h: In function '__nodes_intersects':
include/linux/nodemask.h:175: error: 'src1p' undeclared (first use in this function)
include/linux/nodemask.h:175: error: 'src2p' undeclared (first use in this function)
include/linux/nodemask.h:175: error: 'nbits' undeclared (first use in this function)
include/linux/nodemask.h: At top level:
include/linux/nodemask.h:180: warning: type defaults to 'int' in declaration of 'nodemask_t'
include/linux/nodemask.h:180: error: syntax error before '*' token
include/linux/nodemask.h:182: warning: function declaration isn't a prototype
include/linux/nodemask.h: In function '__nodes_subset':
include/linux/nodemask.h:183: error: 'src1p' undeclared (first use in this function)
include/linux/nodemask.h:183: error: 'src2p' undeclared (first use in this function)
include/linux/nodemask.h:183: error: 'nbits' undeclared (first use in this function)
include/linux/nodemask.h: At top level:
include/linux/nodemask.h:187: warning: type defaults to 'int' in declaration of 'nodemask_t'
include/linux/nodemask.h:187: error: syntax error before '*' token
include/linux/nodemask.h:188: warning: function declaration isn't a prototype
include/linux/nodemask.h: In function '__nodes_empty':
include/linux/nodemask.h:189: error: 'srcp' undeclared (first use in this function)
include/linux/nodemask.h:189: error: 'nbits' undeclared (first use in this function)
include/linux/nodemask.h: At top level:
include/linux/nodemask.h:193: warning: type defaults to 'int' in declaration of 'nodemask_t'
include/linux/nodemask.h:193: error: syntax error before '*' token
include/linux/nodemask.h:194: warning: function declaration isn't a prototype
include/linux/nodemask.h: In function '__nodes_full':
include/linux/nodemask.h:195: error: 'srcp' undeclared (first use in this function)
include/linux/nodemask.h:195: error: 'nbits' undeclared (first use in this function)
include/linux/nodemask.h: At top level:
include/linux/nodemask.h:199: warning: type defaults to 'int' in declaration of 'nodemask_t'
include/linux/nodemask.h:199: error: syntax error before '*' token
include/linux/nodemask.h:200: warning: function declaration isn't a prototype
include/linux/nodemask.h: In function '__nodes_weight':
include/linux/nodemask.h:201: error: 'srcp' undeclared (first use in this function)
include/linux/nodemask.h:201: error: 'nbits' undeclared (first use in this function)
include/linux/nodemask.h: At top level:
include/linux/nodemask.h:206: error: syntax error before '*' token
include/linux/nodemask.h:208: warning: function declaration isn't a prototype
include/linux/nodemask.h: In function '__nodes_shift_right':
include/linux/nodemask.h:209: error: 'dstp' undeclared (first use in this function)
include/linux/nodemask.h:209: error: 'srcp' undeclared (first use in this function)
include/linux/nodemask.h:209: error: 'n' undeclared (first use in this function)
include/linux/nodemask.h:209: error: 'nbits' undeclared (first use in this function)
include/linux/nodemask.h: At top level:
include/linux/nodemask.h:214: error: syntax error before '*' token
include/linux/nodemask.h:216: warning: function declaration isn't a prototype
include/linux/nodemask.h: In function '__nodes_shift_left':
include/linux/nodemask.h:217: error: 'dstp' undeclared (first use in this function)
include/linux/nodemask.h:217: error: 'srcp' undeclared (first use in this function)
include/linux/nodemask.h:217: error: 'n' undeclared (first use in this function)
include/linux/nodemask.h:217: error: 'nbits' undeclared (first use in this function)
include/linux/nodemask.h: At top level:
include/linux/nodemask.h:224: warning: type defaults to 'int' in declaration of 'nodemask_t'
include/linux/nodemask.h:224: error: syntax error before '*' token
include/linux/nodemask.h:225: warning: function declaration isn't a prototype
include/linux/nodemask.h: In function '__first_node':
include/linux/nodemask.h:226: error: syntax error before 'int'
include/linux/nodemask.h:227: warning: no return statement in function returning non-void
include/linux/nodemask.h: At top level:
include/linux/nodemask.h:230: warning: type defaults to 'int' in declaration of 'nodemask_t'
include/linux/nodemask.h:230: error: syntax error before '*' token
include/linux/nodemask.h:231: warning: function declaration isn't a prototype
include/linux/nodemask.h: In function '__next_node':
include/linux/nodemask.h:232: error: syntax error before 'int'
include/linux/nodemask.h:233: warning: no return statement in function returning non-void
include/linux/nodemask.h: At top level:
include/linux/nodemask.h:248: warning: type defaults to 'int' in declaration of 'nodemask_t'
include/linux/nodemask.h:248: error: syntax error before '*' token
include/linux/nodemask.h:249: warning: function declaration isn't a prototype
include/linux/nodemask.h: In function '__first_unset_node':
include/linux/nodemask.h:250: error: syntax error before 'int'
include/linux/nodemask.h:252: warning: no return statement in function returning non-void
include/linux/nodemask.h: At top level:
include/linux/nodemask.h:283: warning: type defaults to 'int' in declaration of 'nodemask_t'
include/linux/nodemask.h:283: error: syntax error before '*' token
include/linux/nodemask.h:284: warning: function declaration isn't a prototype
include/linux/nodemask.h: In function '__nodemask_scnprintf':
include/linux/nodemask.h:285: error: 'buf' undeclared (first use in this function)
include/linux/nodemask.h:285: error: 'len' undeclared (first use in this function)
include/linux/nodemask.h:285: error: 'srcp' undeclared (first use in this function)
include/linux/nodemask.h:285: error: 'nbits' undeclared (first use in this function)
include/linux/nodemask.h: At top level:
include/linux/nodemask.h:291: error: syntax error before 'nodemask_t'
include/linux/nodemask.h:292: warning: function declaration isn't a prototype
include/linux/nodemask.h: In function '__nodemask_parse':
include/linux/nodemask.h:293: error: 'buf' undeclared (first use in this function)
include/linux/nodemask.h:293: error: 'len' undeclared (first use in this function)
include/linux/nodemask.h:293: error: 'dstp' undeclared (first use in this function)
include/linux/nodemask.h:293: error: 'nbits' undeclared (first use in this function)
include/linux/nodemask.h: At top level:
include/linux/nodemask.h:299: warning: type defaults to 'int' in declaration of 'nodemask_t'
include/linux/nodemask.h:299: error: syntax error before '*' token
include/linux/nodemask.h:300: warning: function declaration isn't a prototype
include/linux/nodemask.h: In function '__nodelist_scnprintf':
include/linux/nodemask.h:301: error: 'buf' undeclared (first use in this function)
include/linux/nodemask.h:301: error: 'len' undeclared (first use in this function)
include/linux/nodemask.h:301: error: 'srcp' undeclared (first use in this function)
include/linux/nodemask.h:301: error: 'nbits' undeclared (first use in this function)
include/linux/nodemask.h: At top level:
include/linux/nodemask.h:305: error: syntax error before 'nodemask_t'
include/linux/nodemask.h:306: warning: function declaration isn't a prototype
include/linux/nodemask.h: In function '__nodelist_parse':
include/linux/nodemask.h:307: error: 'buf' undeclared (first use in this function)
include/linux/nodemask.h:307: error: 'dstp' undeclared (first use in this function)
include/linux/nodemask.h:307: error: 'nbits' undeclared (first use in this function)
include/linux/nodemask.h: At top level:
include/linux/nodemask.h:326: error: syntax error before 'node_online_map'
include/linux/nodemask.h:326: warning: type defaults to 'int' in declaration of 'node_online_map'
include/linux/nodemask.h:326: warning: data definition has no type or storage class
include/linux/nodemask.h:327: error: syntax error before 'node_possible_map'
include/linux/nodemask.h:327: warning: type defaults to 'int' in declaration of 'node_possible_map'
include/linux/nodemask.h:327: warning: data definition has no type or storage class
In file included from include/linux/sched.h:23,
                 from include/linux/module.h:10,
                 from /usr/src/madwifi-ng/ath_hal/ah_osdep.c:46:
include/asm/mmu.h:13: error: field 'sem' has incomplete type
In file included from include/asm/cputime.h:4,
                 from include/linux/sched.h:24,
                 from include/linux/module.h:10,
                 from /usr/src/madwifi-ng/ath_hal/ah_osdep.c:46:
include/asm-generic/cputime.h:23: error: syntax error before 'cputime64_t'
include/asm-generic/cputime.h:23: warning: type defaults to 'int' in declaration of 'cputime64_t'
include/asm-generic/cputime.h:23: warning: data definition has no type or storage class
In file included from include/linux/signal.h:4,
                 from include/linux/sched.h:28,
                 from include/linux/module.h:10,
                 from /usr/src/madwifi-ng/ath_hal/ah_osdep.c:46:
include/linux/list.h:705:2: error: #warning "don't include kernel headers in userspace"
In file included from include/asm/siginfo.h:4,
                 from include/linux/signal.h:7,
                 from include/linux/sched.h:28,
                 from include/linux/module.h:10,
                 from /usr/src/madwifi-ng/ath_hal/ah_osdep.c:46:
include/asm-generic/siginfo.h:58: error: size of array '_pad' is too large
In file included from include/linux/sched.h:32,
                 from include/linux/module.h:10,
                 from /usr/src/madwifi-ng/ath_hal/ah_osdep.c:46:
include/linux/completion.h:15: error: syntax error before 'wait_queue_head_t'
include/linux/completion.h:15: warning: no semicolon at end of struct or union
include/linux/completion.h: In function 'init_completion':
include/linux/completion.h:26: error: dereferencing pointer to incomplete type
include/linux/completion.h:27: warning: implicit declaration of function 'init_waitqueue_head'
include/linux/completion.h:27: error: dereferencing pointer to incomplete type
In file included from include/linux/sched.h:33,
                 from include/linux/module.h:10,
                 from /usr/src/madwifi-ng/ath_hal/ah_osdep.c:46:
include/linux/pid.h: At top level:
include/linux/pid.h:17: error: field 'pid_chain' has incomplete type
include/linux/pid.h:19: error: field 'pid_list' has incomplete type
In file included from include/linux/sched.h:34,
                 from include/linux/module.h:10,
                 from /usr/src/madwifi-ng/ath_hal/ah_osdep.c:46:
include/linux/percpu.h: In function '__alloc_percpu':
include/linux/percpu.h:45: warning: implicit declaration of function 'kmalloc'
include/linux/percpu.h:45: error: 'GFP_KERNEL' undeclared (first use in this function)
include/linux/percpu.h:45: warning: initialization makes pointer from integer without a cast
include/linux/percpu.h: In function 'free_percpu':
include/linux/percpu.h:52: warning: implicit declaration of function 'kfree'
In file included from include/linux/sched.h:36,
                 from include/linux/module.h:10,
                 from /usr/src/madwifi-ng/ath_hal/ah_osdep.c:46:
include/linux/seccomp.h: In function 'secure_computing':
include/linux/seccomp.h:18: warning: implicit declaration of function 'test_thread_flag'
include/linux/seccomp.h:18: error: 'TIF_SECCOMP' undeclared (first use in this function)
In file included from include/linux/sched.h:104,
                 from include/linux/module.h:10,
                 from /usr/src/madwifi-ng/ath_hal/ah_osdep.c:46:
include/linux/timer.h: At top level:
include/linux/timer.h:12: error: field 'entry' has incomplete type
In file included from /usr/src/madwifi-ng/ath_hal/ah_osdep.c:46:
include/linux/module.h:50: error: field 'attr' has incomplete type
include/linux/module.h:58: error: field 'kobj' has incomplete type
include/linux/module.h:223: error: field 'grp' has incomplete type
include/linux/module.h:234: error: field 'list' has incomplete type
include/linux/module.h:286: error: field 'modules_which_use_me' has incomplete type
include/linux/module.h: In function 'try_module_get':
include/linux/module.h:364: warning: implicit declaration of function 'likely'
include/linux/module.h: In function 'module_put':
include/linux/module.h:380: warning: implicit declaration of function 'wake_up_process'
In file included from /usr/src/madwifi-ng/ath_hal/ah_osdep.c:54:
include/linux/proc_fs.h: At top level:
include/linux/proc_fs.h:93: warning: 'struct nameidata' declared inside parameter list
include/linux/proc_fs.h:93: warning: its scope is only this definition or declaration, which is probably not what you want
include/linux/proc_fs.h:93: warning: 'struct inode' declared inside parameter list
include/linux/proc_fs.h:96: error: syntax error before 'filldir_t'
include/linux/proc_fs.h:96: warning: function declaration isn't a prototype
include/linux/proc_fs.h:106: warning: 'struct super_block' declared inside parameter list
include/linux/proc_fs.h:107: warning: 'struct super_block' declared inside parameter list
include/linux/proc_fs.h:118: error: syntax error before 'filldir_t'
include/linux/proc_fs.h:118: warning: function declaration isn't a prototype
include/linux/proc_fs.h:119: warning: 'struct nameidata' declared inside parameter list
include/linux/proc_fs.h:247: error: field 'vfs_inode' has incomplete type
include/linux/proc_fs.h: In function 'PROC_I':
include/linux/proc_fs.h:252: warning: implicit declaration of function 'container_of'
include/linux/proc_fs.h:252: error: syntax error before 'struct'
include/linux/proc_fs.h:253: warning: no return statement in function returning non-void
/usr/src/madwifi-ng/ath_hal/ah_osdep.c: In function '_ath_hal_attach':
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:89: warning: implicit declaration of function 'printk'
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:89: error: 'KERN_WARNING' undeclared (first use in this function)
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:89: error: syntax error before string constant
/usr/src/madwifi-ng/ath_hal/ah_osdep.c: At top level:
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:105: error: syntax error before 'va_list'
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:106: warning: function declaration isn't a prototype
/usr/src/madwifi-ng/ath_hal/ah_osdep.c: In function 'ath_hal_vprintf':
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:108: warning: implicit declaration of function 'vsnprintf'
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:108: error: 'fmt' undeclared (first use in this function)
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:108: error: 'ap' undeclared (first use in this function)
/usr/src/madwifi-ng/ath_hal/ah_osdep.c: In function 'ath_hal_printf':
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:115: error: 'va_list' undeclared (first use in this function)
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:115: error: syntax error before 'ap'
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:116: warning: implicit declaration of function 'va_start'
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:116: error: 'ap' undeclared (first use in this function)
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:118: warning: implicit declaration of function 'va_end'
/usr/src/madwifi-ng/ath_hal/ah_osdep.c: In function 'ath_hal_ether_sprintf':
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:129: warning: implicit declaration of function 'snprintf'
/usr/src/madwifi-ng/ath_hal/ah_osdep.c: In function 'ath_hal_malloc':
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:398: error: 'GFP_KERNEL' undeclared (first use in this function)
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:398: warning: assignment makes pointer from integer without a cast
/usr/src/madwifi-ng/ath_hal/ah_osdep.c: In function 'ath_hal_memcpy':
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:421: warning: return makes pointer from integer without a cast
/usr/src/madwifi-ng/ath_hal/ah_osdep.c: At top level:
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:432: error: syntax error before 'ath_hal_sysctls'
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:432: warning: type defaults to 'int' in declaration of 'ath_hal_sysctls'
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:442: warning: braces around scalar initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:442: warning: (near initialization for 'ath_hal_sysctls[0]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:442: error: field name not in record or union initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:442: error: (near initialization for 'ath_hal_sysctls[0]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:443: error: field name not in record or union initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:443: error: (near initialization for 'ath_hal_sysctls[0]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:443: warning: excess elements in scalar initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:443: warning: (near initialization for 'ath_hal_sysctls[0]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:444: error: field name not in record or union initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:444: error: (near initialization for 'ath_hal_sysctls[0]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:444: warning: excess elements in scalar initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:444: warning: (near initialization for 'ath_hal_sysctls[0]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:445: error: field name not in record or union initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:445: error: (near initialization for 'ath_hal_sysctls[0]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:445: warning: excess elements in scalar initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:445: warning: (near initialization for 'ath_hal_sysctls[0]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:446: error: field name not in record or union initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:446: error: (near initialization for 'ath_hal_sysctls[0]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:446: warning: excess elements in scalar initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:446: warning: (near initialization for 'ath_hal_sysctls[0]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:447: error: field name not in record or union initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:447: error: (near initialization for 'ath_hal_sysctls[0]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:448: error: 'proc_dointvec' undeclared here (not in a function)
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:448: warning: excess elements in scalar initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:448: warning: (near initialization for 'ath_hal_sysctls[0]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:449: warning: braces around scalar initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:449: warning: (near initialization for 'ath_hal_sysctls[1]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:449: error: field name not in record or union initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:449: error: (near initialization for 'ath_hal_sysctls[1]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:450: error: field name not in record or union initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:450: error: (near initialization for 'ath_hal_sysctls[1]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:450: warning: excess elements in scalar initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:450: warning: (near initialization for 'ath_hal_sysctls[1]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:451: error: field name not in record or union initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:451: error: (near initialization for 'ath_hal_sysctls[1]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:451: warning: excess elements in scalar initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:451: warning: (near initialization for 'ath_hal_sysctls[1]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:452: error: field name not in record or union initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:452: error: (near initialization for 'ath_hal_sysctls[1]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:452: warning: excess elements in scalar initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:452: warning: (near initialization for 'ath_hal_sysctls[1]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:453: error: field name not in record or union initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:453: error: (near initialization for 'ath_hal_sysctls[1]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:453: warning: excess elements in scalar initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:453: warning: (near initialization for 'ath_hal_sysctls[1]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:454: error: field name not in record or union initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:454: error: (near initialization for 'ath_hal_sysctls[1]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:455: warning: excess elements in scalar initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:455: warning: (near initialization for 'ath_hal_sysctls[1]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:456: warning: braces around scalar initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:456: warning: (near initialization for 'ath_hal_sysctls[2]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:456: error: field name not in record or union initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:456: error: (near initialization for 'ath_hal_sysctls[2]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:457: error: field name not in record or union initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:457: error: (near initialization for 'ath_hal_sysctls[2]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:457: warning: excess elements in scalar initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:457: warning: (near initialization for 'ath_hal_sysctls[2]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:458: error: field name not in record or union initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:458: error: (near initialization for 'ath_hal_sysctls[2]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:458: warning: excess elements in scalar initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:458: warning: (near initialization for 'ath_hal_sysctls[2]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:459: error: field name not in record or union initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:459: error: (near initialization for 'ath_hal_sysctls[2]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:459: warning: excess elements in scalar initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:459: warning: (near initialization for 'ath_hal_sysctls[2]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:460: error: field name not in record or union initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:460: error: (near initialization for 'ath_hal_sysctls[2]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:460: warning: excess elements in scalar initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:460: warning: (near initialization for 'ath_hal_sysctls[2]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:461: error: field name not in record or union initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:461: error: (near initialization for 'ath_hal_sysctls[2]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:462: warning: excess elements in scalar initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:462: warning: (near initialization for 'ath_hal_sysctls[2]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:484: warning: braces around scalar initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:484: warning: (near initialization for 'ath_hal_sysctls[3]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:485: warning: data definition has no type or storage class
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:486: error: syntax error before 'ath_hal_table'
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:486: warning: type defaults to 'int' in declaration of 'ath_hal_table'
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:487: warning: braces around scalar initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:487: warning: (near initialization for 'ath_hal_table[0]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:487: error: field name not in record or union initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:487: error: (near initialization for 'ath_hal_table[0]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:488: error: field name not in record or union initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:488: error: (near initialization for 'ath_hal_table[0]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:488: warning: excess elements in scalar initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:488: warning: (near initialization for 'ath_hal_table[0]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:489: error: field name not in record or union initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:489: error: (near initialization for 'ath_hal_table[0]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:489: warning: excess elements in scalar initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:489: warning: (near initialization for 'ath_hal_table[0]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:490: error: field name not in record or union initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:490: error: (near initialization for 'ath_hal_table[0]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:491: warning: excess elements in scalar initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:491: warning: (near initialization for 'ath_hal_table[0]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:491: warning: braces around scalar initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:491: warning: (near initialization for 'ath_hal_table[1]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:492: warning: data definition has no type or storage class
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:493: error: syntax error before 'ath_ath_table'
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:493: warning: type defaults to 'int' in declaration of 'ath_ath_table'
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:494: warning: braces around scalar initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:494: warning: (near initialization for 'ath_ath_table[0]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:494: error: field name not in record or union initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:494: error: (near initialization for 'ath_ath_table[0]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:495: error: field name not in record or union initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:495: error: (near initialization for 'ath_ath_table[0]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:495: warning: excess elements in scalar initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:495: warning: (near initialization for 'ath_ath_table[0]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:496: error: field name not in record or union initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:496: error: (near initialization for 'ath_ath_table[0]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:496: warning: excess elements in scalar initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:496: warning: (near initialization for 'ath_ath_table[0]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:497: error: field name not in record or union initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:497: error: (near initialization for 'ath_ath_table[0]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:498: warning: excess elements in scalar initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:498: warning: (near initialization for 'ath_ath_table[0]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:498: warning: braces around scalar initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:498: warning: (near initialization for 'ath_ath_table[1]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:499: warning: data definition has no type or storage class
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:500: error: syntax error before 'ath_root_table'
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:500: warning: type defaults to 'int' in declaration of 'ath_root_table'
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:501: warning: braces around scalar initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:501: warning: (near initialization for 'ath_root_table[0]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:501: error: field name not in record or union initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:501: error: (near initialization for 'ath_root_table[0]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:502: error: field name not in record or union initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:502: error: (near initialization for 'ath_root_table[0]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:502: warning: excess elements in scalar initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:502: warning: (near initialization for 'ath_root_table[0]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:503: error: field name not in record or union initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:503: error: (near initialization for 'ath_root_table[0]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:503: warning: excess elements in scalar initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:503: warning: (near initialization for 'ath_root_table[0]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:504: error: field name not in record or union initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:504: error: (near initialization for 'ath_root_table[0]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:505: warning: excess elements in scalar initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:505: warning: (near initialization for 'ath_root_table[0]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:505: warning: braces around scalar initializer
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:505: warning: (near initialization for 'ath_root_table[1]')
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:506: warning: data definition has no type or storage class
/usr/src/madwifi-ng/ath_hal/ah_osdep.c: In function 'ath_hal_sysctl_register':
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:516: warning: implicit declaration of function 'register_sysctl_table'
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:516: warning: assignment makes pointer from integer without a cast
/usr/src/madwifi-ng/ath_hal/ah_osdep.c: In function 'ath_hal_sysctl_unregister':
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:525: warning: implicit declaration of function 'unregister_sysctl_table'
/usr/src/madwifi-ng/ath_hal/ah_osdep.c: In function 'init_ath_hal':
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:555: error: 'KERN_INFO' undeclared (first use in this function)
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:555: error: syntax error before string constant
/usr/src/madwifi-ng/ath_hal/ah_osdep.c: In function 'exit_ath_hal':
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:575: error: 'KERN_INFO' undeclared (first use in this function)
/usr/src/madwifi-ng/ath_hal/ah_osdep.c:575: error: syntax error before string constant
make[3]: *** [/usr/src/madwifi-ng/ath_hal/ah_osdep.o] Error 1
make[2]: *** [_module_/usr/src/madwifi-ng/ath_hal] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.12-10-386'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/madwifi-ng/ath_hal'
make: *** [all] Erreur 1

J avais ouvert un sujet dans la section Hardware mais je n ai pas eu e que je voulais alors je m essaye ici.

Hors ligne

#2 Le 21/12/2005, à 07:16

empoire

Re : Installer Madwifi pour Ag530

up

Hors ligne

#3 Le 18/01/2006, à 18:48

Lie Algebra

Re : Installer Madwifi pour Ag530

Salut,


j'ai rencontré le même type d'erreur en voulant installer ma carte wifi 3com (chip atheros AR5212). Comme cela a été signalé sur un autre fil, les erreurs de "module" sont probablement dues au fait que tu ne compiles pas les sources de madwifi-ng avec la même version de gcc que celle qui a été utilisée pour compiler ton kernel. A vérifier donc.

Dans mon cas, kernel 2.6.12-9, la version de gcc utilisée était la 3.4.(5). Lors du passage de hoarty à breezy, mon gcc est passé en version 4.0.2 et il a donc fallu que je réinstalle gcc version 3.4 avec synaptic.
Ensuite c'est pas compliqué, pour utiliser cette version de gcc à la place de la 4.0, j'ai du faire ceci après m'être loggué en root (ou en sudoant) :

1) rm /usr/bin/gcc 
2) ln -s /usr/bin/gcc-3.4 /usr/bin/gcc

Dans 1) j'efface le lien symbolique nommé gcc, lien qui invoque ta version de gcc courante (obtenue avec gcc -v);
dans 2) je crée un lien pointant vers la version de gcc dont j'avais besoin pour compiler madwifi-ng.
A adapter donc, ca devrait fonctionner.
Bonne chance wink

Hors ligne

#4 Le 08/02/2006, à 03:22

zedtux

Re : Installer Madwifi pour Ag530

empoire a écrit :

Checking requirements... ok.
Checking kernel configuration... ok.
mkdir -p ./symbols
for i in ./ath_hal ./net80211 ath_rate/sample ./ath ./tools ; do \
        make -C $i || exit 1; \
done
make[1]: Entering directory `/usr/src/madwifi-ng/ath_hal'
make -C /usr/src/linux-headers-2.6.12-10-386 SUBDIRS=/usr/src/madwifi-ng/ath_hal MODVERDIR=/usr/src/madwifi-ng/ath_hal/../symbols modules
/usr/src/linux-headers-2.6.12-10-386/scripts/gcc-version.sh: line 11: gcc-3.4: command not found
/usr/src/linux-headers-2.6.12-10-386/scripts/gcc-version.sh: line 12: gcc-3.4: command not found
make[2]: gcc-3.4: Command not found

Ouvre Synaptic, et cherche gcc, et installe le paquet gcc 3.4.

Voila smile

Dernière modification par zedtux (Le 08/02/2006, à 03:22)


RECOLLER VOS FICHIERS XTM AVEC TUXTREMSPLIT !!
Adhérant April numéro 4985 [Rejoindre l'April moi aussi !].

Hors ligne