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 10/12/2005, à 01:21

empoire

DWL-AG530 - comment installer?

Salut,

Je viens d acheter cette carte reseau sans fil ( d-link dwl-ag530 ). Ubuntu ne le detect pas au demarrage et je ne sais pas comment l installer. En cherchant sur google j ai lu qu il faullait installer les drivers madwifi. Est-ce qu il y a un paquetage .deb de ces drivers. Si non comment on les installe?

Merci

#2 Le 10/12/2005, à 01:30

Bobbybionic

Re : DWL-AG530 - comment installer?

Bonsoir/jour ;-)
Sur le site qui t'as indiqué ce driver, tu n'as pas eu de liend e téléchargement des sources, d'un .deb (je ne pense pas vu la question!) ou de .rpm ?


Non à la vente liée. Non au monopole Windows.
Tous ensemble, refusons les logiciels préinstallés et tournons nous vers le libre.

http://bobbybionic.wordpress.com

Hors ligne

#3 Le 10/12/2005, à 01:34

empoire

Re : DWL-AG530 - comment installer?

Non je n ai pas vu de liens de paquetage. Il expliquat comment telecharger la cvs, mais je ne peux pas faire ca car je ne peux pas me connecter.

#4 Le 10/12/2005, à 01:56

docteur_marc

Re : DWL-AG530 - comment installer?

madwifi est installer par defaut  sur ubuntu

Hors ligne

#5 Le 10/12/2005, à 03:24

empoire

Re : DWL-AG530 - comment installer?

docteur_marc a écrit :

madwifi est installer par defaut  sur ubuntu

Alors pourquoi ma carte wifi n est pas detecter? Pendant le demarrage ubuntu reste bloquer a l initialisation du reseau. Quand je met le live cd il n arrive pas a detecter l interface reseau. Si le probleme n est pas lie au drivers ca peut etre quoi?

#6 Le 10/12/2005, à 11:01

docteur_marc

Re : DWL-AG530 - comment installer?

pour le live CD je sait pas , mais pour une installation normal ya pas de probleme

Hors ligne

#7 Le 11/12/2005, à 10:09

empoire

Re : DWL-AG530 - comment installer?

Up

il y a peut-être quelqu'un qui posséde cette carte et qui peut me dire comment qu'il a fait pour installer les drivers.

#8 Le 12/12/2005, à 08:36

empoire

Re : DWL-AG530 - comment installer?

encore un pti up roll

#9 Le 12/12/2005, à 12:52

Bobbybionic

Re : DWL-AG530 - comment installer?

Bonjour
Désolé j'étais privé de connexion depuis quelques jours.
Peux tu donner l'adresse du tuto que tu essaye de suivre ?


Non à la vente liée. Non au monopole Windows.
Tous ensemble, refusons les logiciels préinstallés et tournons nous vers le libre.

http://bobbybionic.wordpress.com

Hors ligne

#10 Le 13/12/2005, à 07:27

empoire

Re : DWL-AG530 - comment installer?

Celui-là pour installer les drivers: http://madwifi.org/wiki/UserDocs/FirstTimeHowTo.
ET celui là pour regler le code de la région qui est briser sur cette carte:

http://www.gentoo-wiki.com/HARDWARE_ar5212.

Pour installer les drivers ca ne marche à cause de problèmes de dépendences. Je ne trouve pas "sharutils" que je ne trouve pas dans synaptic.

Je ne peux pas corriger le code de la région de la carte avec le deuxiéme tuto parce que gcc retourne des erreurs quand j'essaye de compiler les sources (voir le deuxième lien).

C'est quoi les dépendences pour pouvoir installer les drivers madwifi?

#11 Le 13/12/2005, à 10:57

Bobbybionic

Re : DWL-AG530 - comment installer?

Alors, selon docteur_marc, tu as tout ce qu'il te faut par défaut dans ubuntu.
Soit il te manque des dépots, soit ta carte est reconnue mais tu ne t'en ai pas rendu compte.
Lorsque tu vas dans système>administration>réseau, ta carte apparait-elle ?


Non à la vente liée. Non au monopole Windows.
Tous ensemble, refusons les logiciels préinstallés et tournons nous vers le libre.

http://bobbybionic.wordpress.com

Hors ligne

#12 Le 14/12/2005, à 02:04

empoire

Re : DWL-AG530 - comment installer?

Non quand je vais dans système>administration>réseau la fenetre en s ouvre pas elle plante.

#13 Le 18/12/2005, à 08:12

empoire

Re : DWL-AG530 - comment installer?

J'ai trouvé n howto sur le forum anglais de ubuntu: http://ubuntuforums.org/showthread.php?t=75451.

Mais je n'arrive pas a compiler les modules. Voici ce que j'ai comme message 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

Comme vous voyez, plein d'ereurs big_smile

#14 Le 19/12/2005, à 18:09

empoire

Re : DWL-AG530 - comment installer?

up

Hors ligne

#15 Le 26/12/2005, à 02:04

Helix

Re : DWL-AG530 - comment installer?

empoire a écrit :

J'ai trouvé n howto sur le forum anglais de ubuntu: http://ubuntuforums.org/showthread.php?t=75451.

Mais je n'arrive pas a compiler les modules. Voici ce que j'ai comme message 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
...

Voilà la solution au problème :

$ sed s/gcc-3.4/gcc/ /lib/modules/$(uname -r)/build/Makefile > /tmp/Makefile.tmp
$ sudo mv /tmp/Makefile.tmp sed s/gcc-3.4/gcc/ /lib/modules/$(uname -r)/build/Makefile