Re: compilation 2.4.20 & erreurs SCSI

Page principale

Répondre à ce message
Auteur: chapron
Date:  
À: guilde
CC: yves.chapron, yc_aied
Sujet: Re: compilation 2.4.20 & erreurs SCSI
Merci Francois-Xavier de tes .config. Les 2 derniers (avec et sans himem=4g)
m'ont donnes le meme type d'erreur.
Par ailleurs pour repondre a ta question, ma carte SCSI est Teckam
Technology (IRQ9).
Voici les 2 fichiers de fin de compilation:
--------------

root@energy linux-2.4.20]# make dep && make bzImage && make modules
------------------------------HIMEM=yes
/usr/src/linux-2.4.20/include/linux/isapnp.h:261: warning:
`isapnp_activate_dev' defined but not used
/usr/src/linux-2.4.20/include/linux/isapnp.h:263: warning:
`isapnp_register_driver' defined but not used
/usr/src/linux-2.4.20/include/linux/isapnp.h:265: warning:
`isapnp_unregister_driver' defined but not used
isapnp.c:1244: warning: `isapnp_match_card' defined but not used
isapnp.c:1666: warning: `isapnp_test_handler' defined but not used
isapnp.c:2168: warning: `isapnp_announce_device' defined but not used
isapnp.c:2197: warning: `isapnp_dev_driver' defined but not used
{standard input}: Assembler messages:
{standard input}:613: Error: symbol `tmp' is already defined
{standard input}:634: Error: symbol `tmp' is already defined
make[3]: *** [isapnp.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.20/drivers/pnp'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.20/drivers/pnp'
make[1]: *** [_subdir_pnp] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20/drivers'
make: *** [_dir_drivers] Error 2
[root@energy linux-2.4.20]# make dep && make bzImage && make modules
------------------------------HIMEM=no
/usr/src/linux-2.4.20/include/linux/isapnp.h:261: warning:
`isapnp_activate_dev' defined but not used
/usr/src/linux-2.4.20/include/linux/isapnp.h:263: warning:
`isapnp_register_driver' defined but not used
/usr/src/linux-2.4.20/include/linux/isapnp.h:265: warning:
`isapnp_unregister_driver' defined but not used
isapnp.c:1244: warning: `isapnp_match_card' defined but not used
isapnp.c:1666: warning: `isapnp_test_handler' defined but not used
isapnp.c:2168: warning: `isapnp_announce_device' defined but not used
isapnp.c:2197: warning: `isapnp_dev_driver' defined but not used
{standard input}: Assembler messages:
{standard input}:613: Error: symbol `tmp' is already defined
{standard input}:634: Error: symbol `tmp' is already defined
make[3]: *** [isapnp.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.20/drivers/pnp'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.20/drivers/pnp'
make[1]: *** [_subdir_pnp] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20/drivers'
make: *** [_dir_drivers] Error 2
[root@energy linux-2.4.20]#
----------------------------------------
Est-ce une mauvaise manipulation de ma part?
Que me conseilles tu ?
Mon compilateur GCC est aussi 3.2
Merci de ton aide.

    Yves






A 14:15 29/03/03 +0100, vous avez écrit :
>>>>

Francois-Xavier Kowalski wrote:
[...]Puis la manip classique -- avec reponse negative a toutes les
questions.
make oldconfig

Et enfin la compilation & installation
make bzImage && make modules && make install &&
make modules_install

Resultat... au prochain numero: il est tard, l'ordinateur est bruyant & la
compil' prends du temps.

La compilation chez moi a reussi:
[...]
strict-aliasing -fno-common -fomit-frame-pointer -pipe
-mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include
/home/fxk/srcs/linux-2.4.20/include/linux/modversions.h" MAKING_MODULES=1
modules
make[1]: Entering directory `/home/fxk/srcs/linux-2.4.20/arch/i386/lib'
make[1]: Nothing to be done for `modules'.
make[1]: Leaving directory `/home/fxk/srcs/linux-2.4.20/arch/i386/lib'
[fxk@fuerteventura linux-2.4.20]>

Si elle echoue chez toi, il faut a mon avis mettre en cause le compilateur,
ou plus exactement sa version. J'ai utilise ici GCC-3.2, qui est le
compilateur pour RedHat 8.0 par defaut (y compris pour le kernel):
[fxk@fuerteventura linux-2.4.20]> gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --host=i386-redhat-linux --with-system-zlib
--enable-__cxa_atexit
Thread model: posix
gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)

A+
--
Francois-Xavier 'FiX' KOWALSKI

<<<<