khri81
30-12-2003, 19:49
ho scaricato questo rpm delle module-init-tool:
module-init-tools-0.9.9-1mdk.src.rpm
nn ho ancora capito se servono oppure no cmq una volta installato l'rpm, l'rpm viene correttamente installato, mi vengono fuori questi 3 file nella cartella principala /
module-init-tools-0.9.7-export-gpl.patch.bz2
module-init-tools-0.9.9.tar.bz2
module-init-tools.spec
con questi 3 file che cavolo ci devo fare?????
io ho scompattato questo:
module-init-tools-0.9.9.tar.bz2
e ho letto la guida che ci ho trovato dentro che è questa:
READ INSTRUCTIONS CAREFULLY, OTHERWISE YOU MAY DESTROY YOUR OLD UTILS!
NOTE: See NEWS for kernel patch to make USB and PCI device tables work.
1a) If you want to install in /sbin:
./configure --prefix=/
make moveold (if installing for the first time).
"make moveold" renames the old insmod, modprobe, rmmod and lsmod to
insmod.old, modprobe.old, rmmod.old and lsmod.old, and the matching
manpages.
OR,
1b) If you want to install in /usr/local/sbin:
./configure
make links
"make links" makes links to the previous insmod, modprobe, rmmod and
lsmod (which are in /sbin) in /usr/local/sbin
2) Now, build it:
make
make install
3) If running for the first time, you might want to convert your old
modules.conf to modprobe.conf:
./generate-modprobe.conf /etc/modprobe.conf
4) You will need to run "depmod" for your new kernel, eg:
depmod 2.5.50
5) If you want to hack on the source:
aclocal && automake --add-missing --copy && autoconf
If this is all too complicated, I recomment getting and installing the
source rpm or debian package instead.
cos'è meglio fare il punto 1a) oppure il punto 1b)????????
cmq ho provato a fare in tutti e due i modi ma quando do il make mi restituisce questo errore:
gcc -g -O2 -o insmod.static -static insmod.o
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make: *** [insmod.static] Error 1
cosa cavolo vuole sto benedetto make!!!!!!!!
dai su qualcuno mi aiuti è da giorni che sto cercando di installare sto c@@@o di kernel 2.6!!!!!!!!!!!!!
ciao e grazie.
module-init-tools-0.9.9-1mdk.src.rpm
nn ho ancora capito se servono oppure no cmq una volta installato l'rpm, l'rpm viene correttamente installato, mi vengono fuori questi 3 file nella cartella principala /
module-init-tools-0.9.7-export-gpl.patch.bz2
module-init-tools-0.9.9.tar.bz2
module-init-tools.spec
con questi 3 file che cavolo ci devo fare?????
io ho scompattato questo:
module-init-tools-0.9.9.tar.bz2
e ho letto la guida che ci ho trovato dentro che è questa:
READ INSTRUCTIONS CAREFULLY, OTHERWISE YOU MAY DESTROY YOUR OLD UTILS!
NOTE: See NEWS for kernel patch to make USB and PCI device tables work.
1a) If you want to install in /sbin:
./configure --prefix=/
make moveold (if installing for the first time).
"make moveold" renames the old insmod, modprobe, rmmod and lsmod to
insmod.old, modprobe.old, rmmod.old and lsmod.old, and the matching
manpages.
OR,
1b) If you want to install in /usr/local/sbin:
./configure
make links
"make links" makes links to the previous insmod, modprobe, rmmod and
lsmod (which are in /sbin) in /usr/local/sbin
2) Now, build it:
make
make install
3) If running for the first time, you might want to convert your old
modules.conf to modprobe.conf:
./generate-modprobe.conf /etc/modprobe.conf
4) You will need to run "depmod" for your new kernel, eg:
depmod 2.5.50
5) If you want to hack on the source:
aclocal && automake --add-missing --copy && autoconf
If this is all too complicated, I recomment getting and installing the
source rpm or debian package instead.
cos'è meglio fare il punto 1a) oppure il punto 1b)????????
cmq ho provato a fare in tutti e due i modi ma quando do il make mi restituisce questo errore:
gcc -g -O2 -o insmod.static -static insmod.o
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make: *** [insmod.static] Error 1
cosa cavolo vuole sto benedetto make!!!!!!!!
dai su qualcuno mi aiuti è da giorni che sto cercando di installare sto c@@@o di kernel 2.6!!!!!!!!!!!!!
ciao e grazie.