Caro Claiton,

Eu estava com problemas de instalação do Driver NVIDIA pra placa RIVA TNT e
olhei os logs do instalador e dava também o mesmo erro, de nao encontrar o
arquivo config.h. Fiz o procedimento que você aconselhou para o Alisson, e
deu certo. Creio qe seja assunto para outro tópico, mas queria entender o
motivo de adição desse arquivo.

sds;

Luiz Almeida

2007/7/28, Alisson Ceolin <[EMAIL PROTECTED]>:
>
> estranho o seguinte, para resolver o problema, baixei novamente o pacote
> do ipw3045 ,a ultima versao, e funcionou de cara...
>
> achei bem estranho... mas tudo bem..
>
>
> obrigado pela dica...
>
>
> *Claiton Santos <[EMAIL PROTECTED]>* escreveu:
>
> "/usr/local/intel/ipw3945-1.1.0/ipw3945.h:32:26: error: linux/config.h: *No
> such file or directory*"
>
> Faça o seguinte. Crie
>
> * /usr/include/linux/config.h
> /usr/src/linux*/include/linux/config.h*
>
> [onde * é a versão do seu kernel]
>
> com o seguinte código:
>
> #ifndef _LINUX_CONFIG_H
> #define _LINUX_CONFIG_H
> /* This file is no longer in use and kept only for backward compatibility.
> * * autoconf.h is now included via -imacros on the commandline
> * */
> #include <linux/autoconf.h>
>
> #endif
>
> Tente compilar novamente.
>
>
>
>
> Alisson Ceolin wrote:
>
> caros amigos
>
> tenho um note ACER com wireless intel ipw3945
>
> estava rodando legal com o slack 11, agora instalei o 12, e ocorre um
> problema ao tentar compilar o modulo do wireless... segue abaixo..
> [EMAIL PROTECTED]:/usr/local/intel/ipw3945-1.1.0# make
>  Using ieee80211 subsystem version 'git-1.1.13' (API v1) from:
>
>         Base: /lib/modules/2.6.21.5-smp/build/
>         Path: /lib/modules/2.6.21.5-smp/build/include/
>
>  EXTRA_CFLAGS = -DIEEE80211_API_VERSION=1 -g -Wa,-adhlms=check_inc.lst
>
> make -C /lib/modules/2.6.21.5-smp/build M=/usr/local/intel/ipw3945-1.1.0
> modules
> make[1]: Entering directory `/usr/src/linux-2.6.21.5'
>   CC [M]  /usr/local/intel/ipw3945-1.1.0/ipw3945.o
> In file included from /usr/local/intel/ipw3945-1.1.0/ipw3945.c:68:
> /usr/local/intel/ipw3945-1.1.0/ipw3945.h:32:26: error: linux/config.h: No
> such file or directory
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c: In function
> 'ipw_setup_activity_timer':
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:1351: warning: passing argument 2
> of 'queue_delayed_work' from incompatible pointer type
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c: In function
> 'ipw_bg_activity_timer':
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:1371: warning: passing argument 2
> of 'queue_delayed_work' from incompatible pointer type
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c: In function 'ipw_scan_schedule':
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:2436: warning: passing argument 2
> of 'queue_delayed_work' from incompatible pointer type
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c: In function 'ipw_scan_cancel':
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:2502: warning: passing argument 1
> of 'cancel_delayed_work' from incompatible pointer type
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c: In function
> 'ipw_scan_completed':
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:2533: warning: passing argument 1
> of 'cancel_delayed_work' from incompatible pointer type
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c: In function
> 'ipw_send_associate':
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:4409: error: too few arguments to
> function 'ieee80211_tx_frame'
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c: In function
> 'ipw_bg_calibrated_work':
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:4564: warning: passing argument 2
> of 'queue_delayed_work' from incompatible pointer type
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c: In function 'ipw_bg_daemon_cmd':
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:4885: error: too few arguments to
> function 'ieee80211_tx_frame'
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c: In function 'ipw_disassociate':
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:6750: warning: passing argument 1
> of 'cancel_delayed_work' from incompatible pointer type
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c: In function 'ipw_gather_stats':
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:7134: warning: passing argument 2
> of 'queue_delayed_work' from incompatible pointer type
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c: In function
> 'ipw_bg_request_scan':
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:8388: warning: passing argument 2
> of 'queue_delayed_work' from incompatible pointer type
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c: In function 'ipw_auth_work':
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:9454: error: too few arguments to
> function 'ieee80211_tx_frame'
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:9504: error: too few arguments to
> function 'ieee80211_tx_frame'
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c: In function
> 'ipw_handle_probe_request':
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:9577: error: too few arguments to
> function 'ieee80211_tx_frame'
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c: In function
> 'ipw_handle_assoc_response':
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:9812: warning: passing argument 1
> of 'cancel_delayed_work' from incompatible pointer type
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c: In function
> 'ipw_associate_network':
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:9996: warning: passing argument 2
> of 'queue_delayed_work' from incompatible pointer type
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c: In function 'ipw_rx_handle':
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:11378: warning: passing argument
> 2 of 'queue_delayed_work' from incompatible pointer type
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c: In function 'ipw_wx_set_mode':
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:11821: warning: passing argument
> 1 of 'cancel_delayed_work' from incompatible pointer type
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:11822: warning: passing argument
> 1 of 'cancel_delayed_work' from incompatible pointer type
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c: In function
> 'ipw_bg_rate_scale_flush':
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:13932: warning: passing argument
> 1 of 'cancel_delayed_work' from incompatible pointer type
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:13959: warning: passing argument
> 2 of 'queue_delayed_work' from incompatible pointer type
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c: In function
> 'ipw_rate_scale_tx_resp_handle':
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:14216: warning: passing argument
> 1 of 'cancel_delayed_work' from incompatible pointer type
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c: In function 'ipw_link_down':
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:15269: warning: passing argument
> 1 of 'cancel_delayed_work' from incompatible pointer type
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:15270: warning: passing argument
> 1 of 'cancel_delayed_work' from incompatible pointer type
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:15380:52: error: macro
> "INIT_WORK" passed 3 arguments, but takes just 2
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c: In function
> 'ipw_setup_deferred_work':
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:15380: error: 'INIT_WORK'
> undeclared (first use in this function)
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:15380: error: (Each undeclared
> identifier is reported only once
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:15380: error: for each function
> it appears in.)
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:15381:64: error: macro
> "INIT_WORK" passed 3 arguments, but takes just 2
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:15382:58: error: macro
> "INIT_WORK" passed 3 arguments, but takes just 2
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:15383:64: error: macro
> "INIT_WORK" passed 3 arguments, but takes just 2
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:15384:48: error: macro
> "INIT_WORK" passed 3 arguments, but takes just 2
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:15385:38: error: macro
> "INIT_WORK" passed 3 arguments, but takes just 2
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:15386:42: error: macro
> "INIT_WORK" passed 3 arguments, but takes just 2
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:15387:58: error: macro
> "INIT_WORK" passed 3 arguments, but takes just 2
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:15388:58: error: macro
> "INIT_WORK" passed 3 arguments, but takes just 2
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:15389:54: error: macro
> "INIT_WORK" passed 3 arguments, but takes just 2
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:15390:42: error: macro
> "INIT_WORK" passed 3 arguments, but takes just 2
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:15391:54: error: macro
> "INIT_WORK" passed 3 arguments, but takes just 2
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:15392:48: error: macro
> "INIT_WORK" passed 3 arguments, but takes just 2
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:15393:64: error: macro
> "INIT_WORK" passed 3 arguments, but takes just 2
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:15394:52: error: macro
> "INIT_WORK" passed 3 arguments, but takes just 2
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:15395:49: error: macro
> "INIT_WORK" passed 3 arguments, but takes just 2
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:15396:64: error: macro
> "INIT_WORK" passed 3 arguments, but takes just 2
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:15397:65: error: macro
> "INIT_WORK" passed 3 arguments, but takes just 2
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:15399:56: error: macro
> "INIT_WORK" passed 3 arguments, but takes just 2
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:15400:56: error: macro
> "INIT_WORK" passed 3 arguments, but takes just 2
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:15408:56: error: macro
> "INIT_WORK" passed 3 arguments, but takes just 2
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:15410:62: error: macro
> "INIT_WORK" passed 3 arguments, but takes just 2
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:15412:62: error: macro
> "INIT_WORK" passed 3 arguments, but takes just 2
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:15414:59: error: macro
> "INIT_WORK" passed 3 arguments, but takes just 2
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:15416:39: error: macro
> "INIT_WORK" passed 3 arguments, but takes just 2
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:15418:66: error: macro
> "INIT_WORK" passed 3 arguments, but takes just 2
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c: In function 'ipw_down':
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:15910: warning: passing argument
> 1 of 'cancel_delayed_work' from incompatible pointer type
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:15911: warning: passing argument
> 1 of 'cancel_delayed_work' from incompatible pointer type
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:15912: warning: passing argument
> 1 of 'cancel_delayed_work' from incompatible pointer type
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:15913: warning: passing argument
> 1 of 'cancel_delayed_work' from incompatible pointer type
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:15914: warning: passing argument
> 1 of 'cancel_delayed_work' from incompatible pointer type
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:15915: warning: passing argument
> 1 of 'cancel_delayed_work' from incompatible pointer type
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:15916: warning: passing argument
> 1 of 'cancel_delayed_work' from incompatible pointer type
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:15917: warning: passing argument
> 1 of 'cancel_delayed_work' from incompatible pointer type
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:15918: warning: passing argument
> 1 of 'cancel_delayed_work' from incompatible pointer type
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:15919: warning: passing argument
> 1 of 'cancel_delayed_work' from incompatible pointer type
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:15920: warning: passing argument
> 1 of 'cancel_delayed_work' from incompatible pointer type
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:15921: warning: passing argument
> 1 of 'cancel_delayed_work' from incompatible pointer type
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c: In function 'ipw_pci_probe':
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:16355: warning: passing argument
> 2 of 'request_irq' from incompatible pointer type
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:16445: warning: passing argument
> 1 of 'cancel_delayed_work' from incompatible pointer type
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c: In function 'ipw_pci_resume':
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:16641: warning: passing argument
> 2 of 'queue_delayed_work' from incompatible pointer type
> /usr/local/intel/ipw3945-1.1.0/ipw3945.c:16622: warning: ignoring return
> value of 'pci_enable_device', declared with attribute warn_unused_result
> make[2]: *** [/usr/local/intel/ipw3945-1.1.0/ipw3945.o] Error 1
> make[1]: *** [_module_/usr/local/intel/ipw3945-1.1.0] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.6.21.5'
> make: *** [modules] Error 2
> [EMAIL PROTECTED]:/usr/local/intel/ipw3945-1.1.0#
>
>
> o que posso fazer pra resolver?   o kernel é o padrão 2.6.21.5 SMP
>
> obrigado
>
>
>
>
> Alisson Ceolin
>
> |   _
> |  °v°
> | /(S)\    SLACKWARE
> |  ^ ^           Linux
> _____________________
>  Flickr agora em português. Você cria, todo mundo vê. Saiba 
> mais<http://www.flickr.com.br/>
> .
>
>
>
> |  ^ ^           Linux
> _____________________
>
> Alertas do Yahoo! Mail em seu celular. Saiba 
> mais<http://br.mobile.yahoo.com/mailalertas/>
> .
> >
>

--~--~---------~--~----~------------~-------~--~----~
GUS-BR - Grupo de Usuários de Slackware Brasil
http://www.slackwarebrasil.org/
http://groups.google.com/group/slack-users-br
-~----------~----~----~----~------~----~------~--~---

Responder a