Compiling problems in Fedora2

jar jar
Sun Jun 20 07:47:42 PDT 2004


jim tate wrote:

> jim tate wrote:
> 
>> Juan Carlos Martin Severiano wrote:
>>
>>>  
>>>
>>>> fedora2, kernel 2.6.6-1.435,Dell Inspiron 8600, trying to get a Intel
>>>> Pro2100 PCI wireless card to work.
>>>> copyied the hostap-driver-0.1.3 directory to /usr/src/linux-2.6.6-1.435
>>>> and did make
>>>> and got the following error:
>>>>   
>>>
>>>
>>>
>>> You have to change the line 3 of the Makefile to the following:
>>>
>>> KERNEL_PATH=/usr/src/linux-2.6.6-1.435/
>>>
>>> since the path that comes by default in the Makefile 
>>> (/usr/src/linux/) is
>>> wrong.
>>>
>>> It might be also necessary to run a make oldconfig (from
>>> /usr/src/linux-2.6.6-1.435/), in case there is no .config file.
>>>
>>> Juan Carlos Mart?n Severiano
>>>
>>>  
>>>
>>>>
>>>>
>>>>
>>>> Jim Tate
>>>>
>>>>   
>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------------- 
>>>
>>> ----
>>>
>>>
>>>  
>>>
>>>> hostap-driver-0.1.3]# make
>>>> Makefile:20: /usr/src/linux/.config: No such file or directory
>>>> Makefile:38: WARNING: No kernel PCMCIA support found and PCMCIA_PATH is
>>>>   
>>>
>>>
>>> not defined
>>>  
>>>
>>>> Makefile:45: WARNING: Linux wireless extensions, CONFIG_NET_RADIO, not
>>>>   
>>>
>>>
>>> enabled in the kernel
>>>  
>>>
>>>> make: *** No rule to make target `/usr/src/linux/.config'.  Stop.
>>>>
>>>>   
>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------------- 
>>>
>>> ----
>>>
>>>
>>>  
>>>
>>>> _______________________________________________
>>>> HostAP mailing list
>>>> HostAP at shmoo.com
>>>> http://lists.shmoo.com/mailman/listinfo/hostap
>>>>
>>>>   
>>>
>>>
>>>
>>>
>>>  
>>>
>> I made the changes as you suggested, when I run the make command, Iget 
>> so many
>> errors and warnings, I cannot list them all here.
>> I believe someone more knowledgable than my self at linux has got to 
>> sort this out.
>> They have made so many changes to Fedora Core2 that I can't compile 
>> anything.
>> These are just a few of the examples I get by running  "make"   
>> "error: stoage size of" ,  "error: dereferencing pointer to incomplete 
>> type" ,
>> "warning: initialization from incompatible pointer type" .
>>
>>
>> Thanks for your help
>> Jim tate
>>
>> ------------------------------------------------------------------------
>>
>> This is make oldconfig command, errors.
>>
>> hostap-driver-0.1.3]# make oldconfig
>> Makefile:38: WARNING: No kernel PCMCIA support found and PCMCIA_PATH 
>> is not defined
>> Makefile:45: WARNING: Linux wireless extensions, CONFIG_NET_RADIO, not 
>> enabled in the kernel
>> make: *** No rule to make target `oldconfig'.  Stop.
>>
>> This is the last three erro messages I got from the  make  command, 
>> there were so many I can't list them.
>>
>> make[2]: *** 
>> [/usr/src/linux-2.6.6-1.435/hostap-driver-0.1.3/driver/modules/hostap.o] 
>> Error 1
>> make[1]: *** 
>> [_module_/usr/src/linux-2.6.6-1.435/hostap-driver-0.1.3/driver/modules] 
>> Error 2
>> make[1]: Leaving directory `/usr/src/linux-2.6.6-1.435'
>> make: *** [2.6] Error 2

hostap-driver-0.1.3 compiles uder FC2 just fine.

1. cd /usr/src/linux-2.6.6-1.435
2. make mrproper
3. edit Makefile: EXTRAVERSION = -1.435custom --> EXTRAVERSION = -1.435
4. cp /boot/config-2.6.6-1.435 .config
5. make oldconfig
6. make
--------
7. cd /path_to_your_hostap/directory
8. edit Makefile:
KERNEL_PATH=/usr/src/linux -->
KERNEL_PATH=/usr/src/linux-2.6.6-1.435
9. make
10. cp driver/modules/*.ko 
/lib/modules/2.6.6-1.435/kernel/drivers/net/wireless
11. depmod -a
12. The end. Hostap moduless are now installed and ready for use !

BR. Jar




More information about the Hostap mailing list