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

Errore di Makefile in kernel-source-2.4.22



Salve a Tutti,
questa volta mi pare di avere un problemino un attimino più serio a cui 
non riesco a venirne a capo. 
Il kernel in questione è:
kernel-source-2.4.22-3
con le patch lowlatency, preemptible, debianlogo, acl, supermount


Queste paiono essere le righe incriminate che fanno abortire la procedura di
installazione dei moduli (make modules_install), o il fine di make-kpkg
kernel_image con l'errore:

[snip]
cd /usr/src/linux/debian/tmp-image/lib/modules/2.4.22preempt+lowlat; \
mkdir -p pcmcia; \
find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
if [ -r System.map ]; then /sbin/depmod -ae -F System.map -b
/usr/src/linux/debian/tmp-image -r 2.4.22preempt+lowlat; fi
depmod: Can't open
/usr/src/linux/debian/tmp-image/lib/modules/extra/modules.dep for writing
make[2]: *** [_modinst_post] Error 255
make[2]: Leaving directory /usr/src/kernel-source-2.4.22'
make[1]: *** [real_stamp_image] Error 2
make[1]: Leaving directory /usr/src/kernel-source-2.4.22'
make: *** [kernel-image-deb] Error 2

--------------------- /usr/src/linux/Makefile  -------------------------
[snip]
# If System.map exists, run depmod.  This deliberately does not have a
# dependency on System.map since that would run the dependency tree on
# vmlinux.  This depmod is only for convenience to give the initial
# boot a modules.dep even before / is mounted read-write.  However the
# boot script depmod is the master version.
ifeq "$(strip $(INSTALL_MOD_PATH))" ""
depmod_opts     :=
else
depmod_opts     := -b $(INSTALL_MOD_PATH) -r
endif
.PHONY: _modinst_post
_modinst_post: _modinst_post_pcmcia
        if [ -r System.map ]; then $(DEPMOD) -ae -F System.map
$(depmod_opts) $(KERNELRELEASE); fi
                                                                                                   
# Backwards compatibilty symlinks for people still using old versions
# of pcmcia-cs with hard coded pathnames on insmod.  Remove
# _modinst_post_pcmcia for kernel 2.4.1.
.PHONY: _modinst_post_pcmcia
_modinst_post_pcmcia:
        cd $(MODLIB); \
        mkdir -p pcmcia; \
        find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf
../{} pcmcia
                                                                                                   
.PHONY: $(patsubst %, _modinst_%, $(SUBDIRS))
$(patsubst %, _modinst_%, $(SUBDIRS)) :
        $(MAKE) -C $(patsubst _modinst_%, %, $@) modules_install
                                                                                                   
[snip]
-----------------------------------------------------------------------

ovviamente non ho abilitato alcun supporto per il PCMCIA:
 cat .config |grep PCMCIA
# CONFIG_PCMCIA is not set
# CONFIG_PHONE_IXJ_PCMCIA is not set
# CONFIG_HISAX_AVM_A1_PCMCIA is not set

cos'è che che non va in tutto questo?

Intanto continuo a provare:
1) 
togliendo le righe incriminate (ma anche se andasse poi tutto a buon 
fine (cosa di cui dubito), non mi sembra una soluzione ortodossa).
2) 
a mettere un modulo qualsiasi pcmcia per far star contento il Makefile
(ma di che me ne faccio io del pcmcia?) 


-- 
     Ciao Umberto
#------------------------------------------------------------------------#
|	Umberto Genovese (Seldon)	E-mail: <tanto.un@te.lo.dico>	 |
|PGP  fingerprint =  526A B526 2BF4 E3FF 6200  30B4 AD2C D110 D0F3 66E4  |
|		       <GNU & Linux: the dynamic duo>			 |
#------------------------------------------------------------------------#

Attachment: pgpQisvEH8xTR.pgp
Description: PGP signature


Reply to: