[Linuxtrent] Re: Come compilare moduli del kernel senza ricompilare il kernel: the debian way...

  • From: Flavio Visentin <THe_ZiPMaN@xxxxxxxxx>
  • To: linuxtrent@xxxxxxxxxxxxx
  • Date: Thu, 26 Aug 2004 10:39:54 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


| apt-get install kernel-source-2.4.25 cipe-common cipe-source pkcipe

Primo errore:

apt-get install kernel-tree-2.4.25 cipe-common cipe-source pkcipe
.               ^^^^^^^^^^^^^^^^^^

Così hai anche tutte le patch che Debian ha applicato al suo kernel,
necessarie per compilare moduli compatibili.

| ###Ho copiato la configurazione del kernel attuale
|
| cp /boot/config-2.4.25-1-386 /usr/src/kernel-source-2.4.25/.config
|
| ###Ho creato il pacchetto .deb con il modulo che mi serviva.
| cd /usr/src/kernel-source-2.4.25
| make-kpkg modules_image

make-kpkg --append-to-version='-1-386' --config=old configure

Eccoti servito. Aggiungi l'opzione --append-to-version e prima di tutto
fai sempre un giro di configure.


- -- Flavio Visentin

|                     \|||/
|                    @/0.0\@
|                     \ - /
+------------------oOOo---oOOo------------------

There are only 10 types of people in this world:
those who understand binary, and those who don't.

GPG Key: http://www.zipman.it/gpgkey.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBLaHausUmHkh1cnoRAoh+AKCDasrhSGtKN5aHQxediV7qykzadACfZWUe
IX1/AeWsLhCAMYNjCTAXmS8=
=HAYA
-----END PGP SIGNATURE-----
--
Per iscriversi  (o disiscriversi), basta spedire un  messaggio con OGGETTO
"subscribe" (o "unsubscribe") a mailto:linuxtrent-request@xxxxxxxxxxxxx


Other related posts: