_SL0T_
(usa Slackware)
Enviado em 07/04/2009 - 12:04h
Eu mesmo encontrei a solução!!!
O negocio é o seguinte presta atenção galera:
Observem que ele tava dando o erro:
( include/linux/mmzone.h:18:26: error: linux/bounds.h: No such file or directory )
Ou seja ele nao tava encontrando o tal do arquivo ( bounds.h ).
Dai eu mesmo criei o danadinho dentro do diretorio ( /lib/modules/MEU_KERNEL/build/include/linux/ ) com o seguinte conteúdo:
==========================================================================================
#ifndef __LINUX_BOUNDS_H__
#define __LINUX_BOUNDS_H__
/*
* DO NOT MODIFY.
*
* This file was generated by Kbuild
*
*/
#define NR_PAGEFLAGS 19 /* __NR_PAGEFLAGS # */
#define MAX_NR_ZONES 4 /* __MAX_NR_ZONES # */
#endif
========================================================================================
Depois que criou o arquivo so rodar os comandos normais observerm:
=========================================================================================
root@TRIAD:/opt/dell_wireless_module# make -C /lib/modules/2.6.27.7-smp/build M=`pwd` clean
make: Entering directory `/usr/src/linux-2.6.27.7'
CLEAN /opt/dell_wireless_module/.tmp_versions
make: Leaving directory `/usr/src/linux-2.6.27.7'
root@TRIAD:/opt/dell_wireless_module# make -C /lib/modules/2.6.27.7-smp/build M=`pwd`
make: Entering directory `/usr/src/linux-2.6.27.7'
LD /opt/dell_wireless_module/built-in.o
CC [M] /opt/dell_wireless_module/src/wl/sys/wl_linux.o
In file included from include/linux/mmzone.h:18,
from include/linux/gfp.h:4,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from /opt/dell_wireless_module/src/include/linuxver.h:38,
from /opt/dell_wireless_module/src/wl/sys/wl_linux.c:34:
include/linux/bounds.h:13:7: warning: no newline at end of file
In file included from include/linux/page-flags.h:11,
from include/linux/mm.h:220,
from /opt/dell_wireless_module/src/include/linuxver.h:63,
from /opt/dell_wireless_module/src/wl/sys/wl_linux.c:34:
include/linux/bounds.h:13:7: warning: no newline at end of file
CC [M] /opt/dell_wireless_module/src/wl/sys/wl_iw.o
In file included from include/linux/mmzone.h:18,
from include/linux/gfp.h:4,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from /opt/dell_wireless_module/src/include/linuxver.h:38,
from /opt/dell_wireless_module/src/wl/sys/wl_iw.c:31:
include/linux/bounds.h:13:7: warning: no newline at end of file
In file included from include/linux/page-flags.h:11,
from include/linux/mm.h:220,
from /opt/dell_wireless_module/src/include/linuxver.h:63,
from /opt/dell_wireless_module/src/wl/sys/wl_iw.c:31:
include/linux/bounds.h:13:7: warning: no newline at end of file
CC [M] /opt/dell_wireless_module/src/shared/linux_osl.o
In file included from include/linux/mmzone.h:18,
from include/linux/gfp.h:4,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from /opt/dell_wireless_module/src/include/linuxver.h:38,
from /opt/dell_wireless_module/src/shared/linux_osl.c:32:
include/linux/bounds.h:13:7: warning: no newline at end of file
In file included from include/linux/page-flags.h:11,
from include/linux/mm.h:220,
from /opt/dell_wireless_module/src/include/linuxver.h:63,
from /opt/dell_wireless_module/src/shared/linux_osl.c:32:
include/linux/bounds.h:13:7: warning: no newline at end of file
LD [M] /opt/dell_wireless_module/wl.o
Building modules, stage 2.
MODPOST 1 modules
CC /opt/dell_wireless_module/wl.mod.o
In file included from include/linux/mmzone.h:18,
from include/linux/gfp.h:4,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from /opt/dell_wireless_module/wl.mod.c:1:
include/linux/bounds.h:13:7: warning: no newline at end of file
LD [M] /opt/dell_wireless_module/wl.ko
make: Leaving directory `/usr/src/linux-2.6.27.7'
============================================================================================
Depois so ver se o arquivo ( wl.ko ) foi criado:
============================================================================================
root@TRIAD:/opt/dell_wireless_module# ls
Makefile Module.symvers built-in.o modules.order wl.ko wl.mod.o
Module.markers PATCH/ lib/ src/ wl.mod.c wl.o
root@TRIAD:/opt/dell_wireless_module#
===========================================================================================
Bom o resto meu amigo já descreveu ai em cima e nao precisa nem comentar...
Bom obrigado mesmo de coração!!!!
Abração!!!