#457: [PATCH] Fixes for converting jiffies to msec and vice versa
----------------------------------------+-----------------------------------
      Reporter:  [EMAIL PROTECTED]           |       Owner:  kelmo              
                 
          Type:  defect                 |      Status:  assigned                
            
      Priority:  trivial                |   Milestone:  version 0.9.0 - move to 
new codebase
     Component:  madwifi: 802.11 stack  |     Version:  trunk                   
            
    Resolution:                         |    Keywords:                          
            
Patch_attached:  1                      |  
----------------------------------------+-----------------------------------
Comment (by kelmo):

 Hi, i really would like to see this small tweak to go in, but it seriously
 doesn't compile on my setup:-

 {{{
 $ make info
 The following settings will be used for compilation:
 TARGET       : i386-elf
 OS           : linux
 ARCH         : i386
 BUS          : PCI
 KERNELRELEASE: 2.4.33-pre2-kel-2
 KERNELPATH   : /lib/modules/2.4.33-pre2-kel-2/build
 KERNELCONF   : /lib/modules/2.4.33-pre2-kel-2/build/.config
 MODULEPATH   : /lib/modules/2.4.33-pre2-kel-2/net
 KMODSUF      : o

 $ make
 Checking requirements... ok.
 Checking kernel configuration... ok.

 <snip>

 gcc -D__KERNEL__ -I/usr/src/linux-2.4.33-pre2-kel-2/include -Wall
 -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
 -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686
 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.33-pre2-
 kel-2/include/linux/modversions.h -include ./../include/compat.h
 -I./../include -I./../hal -I./../hal/linux -I./../ath_hal -I./../net80211
 -I./.. -Werror -DAH_BYTE_ORDER=AH_LITTLE_ENDIAN -fomit-frame-pointer
 -DATH_SUPERG_FF=1 -DATH_SUPERG_DYNTURBO=1 -DATH_TURBO_SCAN=1
 -DATH_SUPERG_XR=1 -nostdinc -iwithprefix include
 -DKBUILD_BASENAME=ieee80211_proto  -DEXPORT_SYMTAB -c ieee80211_proto.c
 gcc -D__KERNEL__ -I/usr/src/linux-2.4.33-pre2-kel-2/include -Wall
 -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
 -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686
 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.33-pre2-
 kel-2/include/linux/modversions.h -include ./../include/compat.h
 -I./../include -I./../hal -I./../hal/linux -I./../ath_hal -I./../net80211
 -I./.. -Werror -DAH_BYTE_ORDER=AH_LITTLE_ENDIAN -fomit-frame-pointer
 -DATH_SUPERG_FF=1 -DATH_SUPERG_DYNTURBO=1 -DATH_TURBO_SCAN=1
 -DATH_SUPERG_XR=1 -nostdinc -iwithprefix include
 -DKBUILD_BASENAME=ieee80211_scan  -DEXPORT_SYMTAB -c ieee80211_scan.c
 gcc -D__KERNEL__ -I/usr/src/linux-2.4.33-pre2-kel-2/include -Wall
 -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
 -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686
 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.33-pre2-
 kel-2/include/linux/modversions.h -include ./../include/compat.h
 -I./../include -I./../hal -I./../hal/linux -I./../ath_hal -I./../net80211
 -I./.. -Werror -DAH_BYTE_ORDER=AH_LITTLE_ENDIAN -fomit-frame-pointer
 -DATH_SUPERG_FF=1 -DATH_SUPERG_DYNTURBO=1 -DATH_TURBO_SCAN=1
 -DATH_SUPERG_XR=1 -nostdinc -iwithprefix include
 -DKBUILD_BASENAME=ieee80211_wireless  -DEXPORT_SYMTAB -c
 ieee80211_wireless.c
 ieee80211_wireless.c: In function `ieee80211_ioctl_setparam':
 ieee80211_wireless.c:2151: warning: implicit declaration of function
 `msecs_to_jiffies'
 ieee80211_wireless.c: In function `ieee80211_ioctl_getparam':
 ieee80211_wireless.c:2490: warning: implicit declaration of function
 `jiffies_to_msecs'
 make[3]: *** [ieee80211_wireless.o] Error 1
 make[3]: Leaving directory `/home/kelmo/madwifi/madwifi-ng-test/net80211'
 make[2]: *** [_mod_/home/kelmo/madwifi/madwifi-ng-test/net80211] Error 2
 make[2]: Leaving directory `/usr/src/linux-2.4.33-pre2-kel-2'
 make[1]: *** [all] Error 2
 make[1]: Leaving directory `/home/kelmo/madwifi/madwifi-ng-test/net80211'
 make: *** [modules] Error 1
 }}}

 Have you tried compilation on anything >2.4.29 < 2.5.0 ?

-- 
Ticket URL: <http://madwifi.org/ticket/457>
MadWifi <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity

Reply via email to