[Centos] Error compiling madwifi for CentOS-4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi all,

 I am trying to compile madwifi for CentOS-4 without
success. Error is:

Checking if all requirements are met... ok.
mkdir -p ./symbols
for i in ./ath_hal ath_rate/onoe ./net80211 ./ath; do
\
        (cd $i; make) || exit 1; \
done
make[1]: Entering directory `/usr/src/madwifi/ath_hal'
make -C /lib/modules/2.6.9-5.0.3.ELsmp/build
SUBDIRS=/usr/src/madwifi/ath_hal
MODVERDIR=/usr/src/madwifi/ath_hal/../symbols modules
make[2]: Entering directory
`/usr/src/linux-2.6.9-5.0.3.EL'
  CC [M]  /usr/src/madwifi/ath_hal/ah_osdep.o
In file included from <command line>:6:
/usr/src/madwifi/ath_hal/../include/compat.h:71:22:
asm/page.h: No such file or directory
In file included from
/usr/src/madwifi/ath_hal/ah_osdep.c:44:
include/linux/config.h:4:28: linux/autoconf.h: No such
file or directory
/usr/src/madwifi/ath_hal/ah_osdep.c:45:27:
linux/version.h: No such file or directory
In file included from include/linux/module.h:10,
                 from
/usr/src/madwifi/ath_hal/ah_osdep.c:46:
include/linux/sched.h:4:36: asm/param.h: No such file
or directory
In file included from include/linux/types.h:13,
                 from include/linux/capability.h:16,
                 from include/linux/sched.h:7,
                 from include/linux/module.h:10,
                 from
/usr/src/madwifi/ath_hal/ah_osdep.c:46:
include/linux/posix_types.h:47:29: asm/posix_types.h:
No such file or directory
In file included from include/linux/capability.h:16,
                 from include/linux/sched.h:7,
                 from include/linux/module.h:10,
                 from
/usr/src/madwifi/ath_hal/ah_osdep.c:46:
include/linux/types.h:14:23: asm/types.h: No such file
or directory
In file included from include/linux/capability.h:16,
                 from include/linux/sched.h:7,
                 from include/linux/module.h:10,
                 from
/usr/src/madwifi/ath_hal/ah_osdep.c:46:
include/linux/types.h:18: error: syntax error before
"__kernel_dev_t"
include/linux/types.h:18: warning: type defaults to
`int' in declaration of `__kernel_dev_t'
include/linux/types.h:18: warning: data definition has
no type or storage class

 ... ... and more errors ...

 I have installed rpm kernel sources and all
depedencies, I have copy /boot/config-xxx to
/usr/src/linux-xxx and I create build symlink from
/lib/modules to /usr/src. 

  Seems that make does not find config.h, autoconf.h,
asm symlink directory, etc... From my experience, this
error is produced when kernel does not have compiled.

How con I fix this on centos-4??

_________________________________________________________
Do You Yahoo!?
Informaci?n de Estados Unidos y Am?rica Latina, en Yahoo! Noticias.
Vis?tanos en http://noticias.espanol.yahoo.com

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux