abclinuxu.cz AbcLinuxu.cz itbiz.cz ITBiz.cz HDmag.cz HDmag.cz abcprace.cz AbcPráce.cz
AbcLinuxu hledá autory!
Inzerujte na AbcPráce.cz od 950 Kč
Rozšířené hledání
×
včera 21:32 | Nasazení Linuxu

Canonical představuje nejnovější verzi chytré helmy DAQRI s Ubuntu pro rozšířenou realitu. K vidění bude příští týden v Barceloně na veletrhu Mobile World Congress 2017.

Ladislav Hagara | Komentářů: 0
včera 21:31 | Pozvánky

Pro zájemce o hlubší znalosti fungování operačních systémů připravila MFF UK nový předmět Pokročilé operační systémy, v rámci něhož se vystřídají přednášející nejen z řad pracovníků fakulty, ale dorazí také odborníci ze společností AVAST, Oracle, Red Hat a SUSE. Tento předmět volně navazuje na kurz Operační systémy ze zimního semestru, ale pokud máte praktické zkušenosti odjinud (například z přispívání do jádra Linuxu) a chcete si

… více »
Martin Děcký | Komentářů: 0
včera 21:30 | Pozvánky

Czech JBoss User Group Vás srdečně zve na setkání JBUG v Brně, které se koná ve středu 1. března 2017 v prostorách Fakulty Informatiky Masarykovy Univerzity v místnosti A318 od 18:00. Přednáší Tomáš Remeš a Matěj Novotný na téma CDI 2.0 - New and Noteworthy. Více informací na Facebooku a na Twitteru #jbugcz.

mjedlick | Komentářů: 0
20.2. 23:45 | Zajímavý software

Na blogu Qt bylo představeno Qt 3D Studio. Jedná se o produkt dosud známý pod názvem NVIDIA DRIVE™ Design Studio. NVIDIA jej věnovala Qt. Jedná se o několik set tisíc řádků zdrojového kódu. Qt 3D Studio bude stejně jako Qt k dispozici jak pod open source, tak pod komerční licencí. Ukázka práce s Qt 3D Studiem na YouTube.

Ladislav Hagara | Komentářů: 10
20.2. 17:50 | Komunita

Nadace The Document Foundation (TDF) zastřešující vývoj svobodného kancelářského balíku LibreOffice slaví 5 let od svého oficiálního vzniku. Nadace byla představena 28. září 2010. Formálně byla založena ale až 17. února 2012.

Ladislav Hagara | Komentářů: 0
20.2. 12:50 | Komunita

Mozilla.cz informuje, že dosud experimentální funkce Page Shot z programu Firefox Test Pilot (zprávička) se stane součástí Firefoxu. Page Shot je nástroj pro vytváření snímků webových stránek. Umí výběr oblasti, prvku stránky (např. odstavce), nebo uložení snímku celé stránky. Snímky lze ukládat na disk nebo nahrávat na server Mozilly. Nedávno bylo oznámeno, že se součástí Firefoxu stane Activity Stream.

Ladislav Hagara | Komentářů: 31
20.2. 04:10 | Nová verze

Po 10 týdnech vývoje od vydání Linuxu 4.9 (zprávička) oznámil Linus Torvalds, mj. již 20 let žijící v USA, vydání Linuxu 4.10 (LKML). Přehled nových vlastností a vylepšení například na Kernel Newbies a v Jaderných novinách (1, 2 a 3). Kódové jméno Linuxu 4.10 je Fearless Coyote.

Ladislav Hagara | Komentářů: 22
19.2. 15:55 | Zajímavý projekt

Vyzkoušet si příkazy a vyřešit několik úkolů lze na stránkách Commandline Challenge (CMD Challenge). Úkoly lze řešit různými způsoby, důležitý je výsledek. Zdrojové kódy jsou k dispozici na GitHubu pod licencí MIT.

Ladislav Hagara | Komentářů: 18
18.2. 17:35 | Bezpečnostní upozornění

Německá Bundesnetzagentur (obdoba českého ČTU) zakázala na německém území prodej panenky Cayla kvůli „špionáži“ dětí. Tato elektronická hračka obsahuje mikrofon, reproduktor a kameru a bezdrátové komunikační rozhraní, pomocí kterého se hračka připojuje na servery výrobce. Takovýmto způsobem může hračka pomocí umělé inteligence „odpovídat“ na dotazy dítěte. Hlavní problém bude ale asi někde jinde, podle prvotních zpráv může

… více »
Petr Tomášek | Komentářů: 34
17.2. 15:30 | Bezpečnostní upozornění

CSIRT.CZ upozorňuje, že bezpečnostní experti objevili nový typ malwaru, jenž cílí na open source e-commerce platformu Magento. Malware je zajímavý tím, že se jedná o první svého druhu, jehož kód zůstává skrytý v SQL databázi zasaženého e-shopu. Škodlivý kód je volán pomocí tzv. SQL trigerru, který je spouštěn při každém vytvoření objednávky v systému.

Ladislav Hagara | Komentářů: 6
Jak se stavíte k trendu ztenčování přenosných zařízení (smartphony, notebooky)?
 (13%)
 (2%)
 (72%)
 (3%)
 (10%)
Celkem 679 hlasů
 Komentářů: 61, poslední včera 13:06
Rozcestník

Dotaz: Problem s kompilaci rt2x00-2.0.0_beta3

andering avatar 2.8.2007 03:49 andering | skóre: 6 | Bystřice pod Hostýnem
Problem s kompilaci rt2x00-2.0.0_beta3
Přečteno: 543×
Ahoj mam problem s kompilaci na GEntoo a to s balikem net-wireless/rt2x00-2.0.0_beta3

Kernel: linux-2.6.21-gentoo-r4

Omlouvam se nevim co ztoho je dulezite tak sem to sem dal cele :

  Preparing rt2x00core module
  CC [M]  /var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.o
  CC [M]  /var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2400pci.o
In file included from include/asm/thread_info.h:16,
                 from include/linux/thread_info.h:21,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:49,
                 from include/linux/seqlock.h:29,
                 from include/linux/time.h:7,
                 from include/linux/skbuff.h:19,
                 from include/linux/if_ether.h:111,
                 from include/linux/etherdevice.h:27,
                 from /var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/ieee80211/net/ieee80211_compat.h:9,
                 from (command line):1:
include/asm/processor.h:82: error: ‘CONFIG_X86_L1_CACHE_SHIFT’ undeclared here (not in a function)
include/asm/processor.h:82: error: requested alignment is not a constant
In file included from include/linux/sched.h:51,
                 from include/linux/utsname.h:35,
                 from include/asm/elf.h:12,
                 from include/linux/elf.h:7,
                 from include/linux/module.h:15,
                 from include/linux/textsearch.h:9,
                 from include/linux/skbuff.h:26,
                 from include/linux/if_ether.h:111,
                 from include/linux/etherdevice.h:27,
                 from /var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/ieee80211/net/ieee80211_compat.h:9,
                 from (command line):1:
include/linux/jiffies.h:18:5: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:20:7: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:22:7: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:24:7: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:26:7: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:28:7: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:30:7: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:33:3: error: #error You lose.
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: error: division by zero in #if
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: error: division by zero in #if
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: error: division by zero in #if
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: error: division by zero in #if
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: error: division by zero in #if
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: error: division by zero in #if
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: error: division by zero in #if
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: error: division by zero in #if
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: error: division by zero in #if
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: error: division by zero in #if
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: error: division by zero in #if
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: error: division by zero in #if
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: error: division by zero in #if
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: error: division by zero in #if
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: error: division by zero in #if
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: error: division by zero in #if
include/linux/jiffies.h:225:46: warning: "SHIFT_HZ" is not defined
In file included from include/asm/thread_info.h:16,
                 from include/linux/thread_info.h:21,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:49,
                 from include/linux/seqlock.h:29,
                 from include/linux/time.h:7,
                 from include/linux/skbuff.h:19,
                 from include/linux/if_ether.h:111,
                 from include/linux/etherdevice.h:27,
                 from /var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/ieee80211/net/ieee80211_compat.h:9,
                 from (command line):1:
include/asm/processor.h:82: error: ‘CONFIG_X86_L1_CACHE_SHIFT’ undeclared here (not in a function)
include/asm/processor.h:82: error: requested alignment is not a constant
In file included from include/linux/utsname.h:35,
                 from include/asm/elf.h:12,
                 from include/linux/elf.h:7,
                 from include/linux/module.h:15,
                 from include/linux/textsearch.h:9,
                 from include/linux/skbuff.h:26,
                 from include/linux/if_ether.h:111,
                 from include/linux/etherdevice.h:27,
                 from /var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/ieee80211/net/ieee80211_compat.h:9,
                 from (command line):1:
include/linux/sched.h:272:16: warning: "CONFIG_SPLIT_PTLOCK_CPUS" is not defined
In file included from include/linux/utsname.h:35,
                 from include/asm/elf.h:12,
                 from include/linux/elf.h:7,
                 from include/linux/module.h:15,
                 from include/linux/textsearch.h:9,
                 from include/linux/skbuff.h:26,
                 from include/linux/if_ether.h:111,
                 from include/linux/etherdevice.h:27,
                 from /var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/ieee80211/net/ieee80211_compat.h:9,
                 from (command line):1:
include/linux/sched.h: In function ‘dequeue_signal_lock’:
include/linux/sched.h:1310: warning: implicit declaration of function ‘local_irq_save’
include/linux/sched.h:1312: warning: implicit declaration of function ‘local_irq_restore’
In file included from include/linux/sched.h:51,
                 from include/linux/utsname.h:35,
                 from include/asm/elf.h:12,
                 from include/linux/elf.h:7,
                 from include/linux/module.h:15,
                 from include/linux/textsearch.h:9,
                 from include/linux/skbuff.h:26,
                 from include/linux/if_ether.h:111,
                 from include/linux/etherdevice.h:27,
                 from /var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/ieee80211/net/ieee80211_compat.h:9,
                 from (command line):1:
include/linux/jiffies.h:18:5: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:20:7: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:22:7: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:24:7: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:26:7: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:28:7: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:30:7: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:33:3: error: #error You lose.
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: error: division by zero in #if
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: error: division by zero in #if
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: error: division by zero in #if
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: error: division by zero in #if
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: error: division by zero in #if
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: error: division by zero in #if
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: error: division by zero in #if
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: error: division by zero in #if
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: error: division by zero in #if
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: error: division by zero in #if
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: error: division by zero in #if
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: error: division by zero in #if
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: error: division by zero in #if
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: error: division by zero in #if
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: error: division by zero in #if
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: error: division by zero in #if
include/linux/jiffies.h:225:46: warning: "SHIFT_HZ" is not defined
In file included from include/linux/module.h:21,
                 from include/linux/textsearch.h:9,
                 from include/linux/skbuff.h:26,
                 from include/linux/if_ether.h:111,
                 from include/linux/etherdevice.h:27,
                 from /var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/ieee80211/net/ieee80211_compat.h:9,
                 from (command line):1:
include/asm/module.h:62:2: error: #error unknown processor family
In file included from include/asm/hardirq.h:5,
                 from include/linux/hardirq.h:7,
                 from include/linux/interrupt.h:11,
                 from include/linux/netdevice.h:568,
                 from include/linux/etherdevice.h:28,
                 from /var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/ieee80211/net/ieee80211_compat.h:9,
                 from (command line):1:
include/linux/irq.h: At top level:
include/linux/irq.h:178: error: requested alignment is not a constant
In file included from include/linux/hardirq.h:7,
                 from include/linux/interrupt.h:11,
                 from include/linux/netdevice.h:568,
                 from include/linux/etherdevice.h:28,
                 from /var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/ieee80211/net/ieee80211_compat.h:9,
                 from (command line):1:
include/asm/hardirq.h:12: error: requested alignment is not a constant
In file included from include/linux/netdevice.h:568,
                 from include/linux/etherdevice.h:28,
                 from /var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/ieee80211/net/ieee80211_compat.h:9,
                 from (command line):1:
include/linux/interrupt.h: In function ‘cli’:
include/linux/interrupt.h:207: warning: implicit declaration of function ‘local_irq_disable’
include/linux/interrupt.h: In function ‘sti’:
include/linux/interrupt.h:211: warning: implicit declaration of function ‘local_irq_enable’
include/linux/interrupt.h: In function ‘save_flags’:
include/linux/interrupt.h:215: warning: implicit declaration of function ‘local_save_flags’
In file included from include/linux/utsname.h:35,
                 from include/asm/elf.h:12,
                 from include/linux/elf.h:7,
                 from include/linux/module.h:15,
                 from include/linux/textsearch.h:9,
                 from include/linux/skbuff.h:26,
                 from include/linux/if_ether.h:111,
                 from include/linux/etherdevice.h:27,
                 from /var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/ieee80211/net/ieee80211_compat.h:9,
                 from (command line):1:
include/linux/sched.h:272:16: warning: "CONFIG_SPLIT_PTLOCK_CPUS" is not defined
In file included from include/linux/utsname.h:35,
                 from include/asm/elf.h:12,
                 from include/linux/elf.h:7,
                 from include/linux/module.h:15,
                 from include/linux/textsearch.h:9,
                 from include/linux/skbuff.h:26,
                 from include/linux/if_ether.h:111,
                 from include/linux/etherdevice.h:27,
                 from /var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/ieee80211/net/ieee80211_compat.h:9,
                 from (command line):1:
include/linux/sched.h: In function ‘dequeue_signal_lock’:
include/linux/sched.h:1310: warning: implicit declaration of function ‘local_irq_save’
include/linux/sched.h:1312: warning: implicit declaration of function ‘local_irq_restore’
In file included from include/linux/module.h:21,
                 from include/linux/textsearch.h:9,
                 from include/linux/skbuff.h:26,
                 from include/linux/if_ether.h:111,
                 from include/linux/etherdevice.h:27,
                 from /var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/ieee80211/net/ieee80211_compat.h:9,
                 from (command line):1:
include/asm/module.h:62:2: error: #error unknown processor family
In file included from /var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.c:36:
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.h:251:38: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
In file included from /var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.c:36:
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.h: In function ‘rt2x00_init_ring’:
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.h:251: error: ‘INIT_WORK’ undeclared (first use in this function)
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.h:251: error: (Each undeclared identifier is reported only once
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.h:251: error: for each function it appears in.)
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.h: In function ‘rt2x00_disable_ring’:
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.h:270: warning: passing argument 1 of ‘cancel_delayed_work’ from incompatible pointer type
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.c: In function ‘rt2x00_start_scan’:
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.c:914: warning: passing argument 2 of ‘queue_delayed_work’ from incompatible pointer type
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.c: In function ‘rt2x00_stop_scan’:
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.c:922: warning: passing argument 1 of ‘cancel_delayed_work’ from incompatible pointer type
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.c: In function ‘rt2x00_scan_periodic’:
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.c:996: warning: passing argument 2 of ‘queue_delayed_work’ from incompatible pointer type
In file included from include/asm/hardirq.h:5,
                 from include/linux/hardirq.h:7,
                 from include/linux/interrupt.h:11,
                 from include/linux/netdevice.h:568,
                 from include/linux/etherdevice.h:28,
                 from /var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/ieee80211/net/ieee80211_compat.h:9,
                 from (command line):1:
include/linux/irq.h: At top level:
include/linux/irq.h:178: error: requested alignment is not a constant
In file included from include/linux/hardirq.h:7,
                 from include/linux/interrupt.h:11,
                 from include/linux/netdevice.h:568,
                 from include/linux/etherdevice.h:28,
                 from /var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/ieee80211/net/ieee80211_compat.h:9,
                 from (command line):1:
include/asm/hardirq.h:12: error: requested alignment is not a constant
In file included from include/linux/netdevice.h:568,
                 from include/linux/etherdevice.h:28,
                 from /var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/ieee80211/net/ieee80211_compat.h:9,
                 from (command line):1:
include/linux/interrupt.h: In function ‘cli’:
include/linux/interrupt.h:207: warning: implicit declaration of function ‘local_irq_disable’
include/linux/interrupt.h: In function ‘sti’:
include/linux/interrupt.h:211: warning: implicit declaration of function ‘local_irq_enable’
include/linux/interrupt.h: In function ‘save_flags’:
include/linux/interrupt.h:215: warning: implicit declaration of function ‘local_save_flags’
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.c: In function ‘rt2x00_link_up’:
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.c:1695: warning: passing argument 2 of ‘queue_delayed_work’ from incompatible pointer type
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.c: In function ‘rt2x00_link_down’:
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.c:1703: warning: passing argument 1 of ‘cancel_delayed_work’ from incompatible pointer type
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.c: In function ‘rt2x00_link_periodic’:
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.c:1803: warning: passing argument 2 of ‘queue_delayed_work’ from incompatible pointer type
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.c: In function ‘rt2x00_open’:
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.c:3763: warning: passing argument 2 of ‘queue_delayed_work’ from incompatible pointer type
In file included from include/asm/pci.h:6,
                 from include/linux/pci.h:744,
                 from /var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2400pci.c:30:
include/linux/mm.h: In function ‘lowmem_page_address’:
include/linux/mm.h:538: warning: implicit declaration of function ‘__page_to_pfn’
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.c:3910:59: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.c: In function ‘rt2x00_core_probe’:
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.c:3910: error: ‘INIT_WORK’ undeclared (first use in this function)
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.c:3911:59: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
make[3]: *** [/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.o] Error 1
make[3]: *** Waiting for unfinished jobs....
include/linux/mm.h: At top level:
include/linux/mm.h:974: error: expected identifier or ‘(’ before numeric constant
In file included from include/linux/pci.h:744,
                 from /var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2400pci.c:30:
include/asm/pci.h: In function ‘pci_dac_dma_to_page’:
include/asm/pci.h:72: warning: implicit declaration of function ‘__pfn_to_page’
include/asm/pci.h:72: warning: return makes pointer from integer without a cast
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2400pci.c: In function ‘rt2x00_dev_radio_on’:
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2400pci.c:554: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
make[3]: *** [/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2400pci.o] Error 1
make[2]: *** [_module_/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3] Error 2
make[1]: *** [modules] Error 2
make: *** [rt2x00-debug] Error 2
 
dekuji
I think the hardest part of holding on is lettin go. ...A myslím že nejtěžěí na tom něčeho se držet je pustit se.

Odpovědi

Shadow avatar 2.8.2007 09:58 Shadow | skóre: 25 | blog: Brainstorm
Rozbalit Rozbalit vše Re: Problem s kompilaci rt2x00-2.0.0_beta3
Na Gentoo sice odborník nejsem, ale tenhle balík je označený jako "hard masked", takže problémy se dají očekávat. Podle hlášek bych soudil, že modul je vytvořen pro jinou verzi jádra. Co zkusit balík "rt2x00-9999"? Ten "hard masked" není...
If we do not believe in freedom of speech for those we despise we do not believe in it at all.
andering avatar 2.8.2007 17:50 andering | skóre: 6 | Bystřice pod Hostýnem
Rozbalit Rozbalit vše Re: Problem s kompilaci rt2x00-2.0.0_beta3
OK dik, zkusil jsem rt2x00-9999 na jadru linux-2.6.22-gentoo a vznikl jiny problem. Nejprve to po me chtelo aby povolil v jadru CONFIG_NET_RADIO ,který tam není(od jadra 2.6.22 doslo k prejmenovani na CONFIG_WLAN_80211). Tak sem jednoduse (ikdyz myslim ze ne spravne) zapsal do linux/.config CONFIG_NET_RADIO , aby to proslo kontrolou... Avsak pri samotne kompilaci nastal jiny problem :

 * Preparing 80211 module
  CC [M]  /var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/eeprom_93cx6/eeprom_93cx6.o
  CC [M]  /var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/rt2x00dev.o
  CC [M]  /var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/rt2x00mac.o
/var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/rt2x00mac.c: In function ‘rt2x00mac_tx_rts_cts’:
/var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/rt2x00mac.c:61: warning: passing argument 2 of ‘ieee80211_ctstoself_get’ makes pointer from integer without a cast
/var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/rt2x00mac.c:61: warning: passing argument 3 of ‘ieee80211_ctstoself_get’ makes integer from pointer without a cast
/var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/rt2x00mac.c:61: warning: passing argument 4 of ‘ieee80211_ctstoself_get’ makes pointer from integer without a cast
/var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/rt2x00mac.c:61: warning: passing argument 5 of ‘ieee80211_ctstoself_get’ from incompatible pointer type
/var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/rt2x00mac.c:61: error: too many arguments to function ‘ieee80211_ctstoself_get’
/var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/rt2x00mac.c:65: warning: passing argument 2 of ‘ieee80211_rts_get’ makes pointer from integer without a cast
/var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/rt2x00mac.c:65: warning: passing argument 3 of ‘ieee80211_rts_get’ makes integer from pointer without a cast
/var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/rt2x00mac.c:65: warning: passing argument 4 of ‘ieee80211_rts_get’ makes pointer from integer without a cast
/var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/rt2x00mac.c:65: warning: passing argument 5 of ‘ieee80211_rts_get’ from incompatible pointer type
/var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/rt2x00mac.c:65: error: too many arguments to function ‘ieee80211_rts_get’
make[3]: *** [/var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/rt2x00mac.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [_module_/var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999] Error 2
make[1]: *** [modules] Error 2
make: *** [default] Error 2
I think the hardest part of holding on is lettin go. ...A myslím že nejtěžěí na tom něčeho se držet je pustit se.
Shadow avatar 2.8.2007 19:29 Shadow | skóre: 25 | blog: Brainstorm
Rozbalit Rozbalit vše Re: Problem s kompilaci rt2x00-2.0.0_beta3
Pár rad k tomuto problému je tady, zkuste, jestli vám nepomohou.
If we do not believe in freedom of speech for those we despise we do not believe in it at all.
andering avatar 2.8.2007 23:37 andering | skóre: 6 | Bystřice pod Hostýnem
Rozbalit Rozbalit vše Re: Problem s kompilaci rt2x00-2.0.0_beta3
Moc Dekuji, ale to vyresilo jen muj prvni problem ,ale to hlavni nic, no zkusim se zeptat i tam .
I think the hardest part of holding on is lettin go. ...A myslím že nejtěžěí na tom něčeho se držet je pustit se.
andering avatar 3.8.2007 11:01 andering | skóre: 6 | Bystřice pod Hostýnem
Rozbalit Rozbalit vše Re: Problem s kompilaci rt2x00-2.0.0_beta3
Tak sem nasel reseni zde: http://rt2x00.serialmonkey.com/phpBB2/viewtopic.php?t=4109 Jen by me zajimalo jestli je normalni ze se ten modul tak dlouho nacita cca 10 - 15 vterin

Dekuji za spolupraci
I think the hardest part of holding on is lettin go. ...A myslím že nejtěžěí na tom něčeho se držet je pustit se.
3.8.2007 14:41 crusoe
Rozbalit Rozbalit vše Re: Problem s kompilaci rt2x00-2.0.0_beta3
nie je to prilis , ja mam rt61 a trva to 0.5 sekundy , preco potrebujes rt2x00-9999 ? neskusal si iba rt2x00 ?
andering avatar 3.8.2007 17:08 andering | skóre: 6 | Bystřice pod Hostýnem
Rozbalit Rozbalit vše Re: Problem s kompilaci rt2x00-2.0.0_beta3
Uz se to samo zpravilo...rt2x00-9999 je rt2x00 akorat to 9999 je oznaceni verze...resp. ze se pouzije CVS pro stazeni. Teda doufam ze rikam pravdu :) dik.
I think the hardest part of holding on is lettin go. ...A myslím že nejtěžěí na tom něčeho se držet je pustit se.

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267   www.czech-server.cz
© 1999-2015 Nitemedia s. r. o. Všechna práva vyhrazena.