Merci pour ta reponse....
quand le PC essaye de booter sur Fedora :
ERROR! Could not automatically detect the network card.
PCI cards should be detected automatically.
ISA cards cannot be detected, so they require
the nic driver to be specified in a 'NIC=' parameter
to be passed on the kernel command line,
usually specified in option-129, in the
/etc/dhcpd.conf file. See the LTSP docs for more info.
sinon pour installer les pilotes : le rpm -ivh tg3-<version>.src.rpm fonctionne et decompresse un fichier tg3.spec
je fais : rpm -bb tg3.spec --> -bb inconu
donc je fais un : rpmbuild -bb tg3.spec
reponse :
Exécution_de(%prep): /bin/sh -e /var/tmp/rpm-tmp.95392
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /usr/src/redhat/BUILD
+ rm -rf tg3-3.122n
+ /usr/bin/bzip2 -dc /usr/src/redhat/SOURCES/tg3-3.122n.tar.bz2
+ tar -xvvf -
drwxr-xr-x root/root 0 2012-03-10 08:45:21 tg3-3.122n/
-rwxr--r-- root/root 12184 2012-03-09 21:11:54 tg3-3.122n/makeflags.sh
-rw-r--r-- root/root 512225 2012-03-09 21:11:54 tg3-3.122n/ChangeLog
-rw-r--r-- root/root 4040 2012-03-09 21:11:54 tg3-3.122n/Makefile
-rw-r--r-- root/root 43934 2012-03-09 21:11:54 tg3-3.122n/tg3_firmware.h
-rw-r--r-- root/root 478635 2012-03-10 04:09:31 tg3-3.122n/tg3.c
-rw-r--r-- root/root 126268 2012-03-09 21:11:54 tg3-3.122n/tg3.h
-rw-r--r-- root/root 33442 2012-03-10 04:10:20 tg3-3.122n/tg3_vmware.c
-rw-r--r-- root/root 43734 2012-03-09 21:11:54 tg3-3.122n/tg3_compat.h
-rw-r--r-- root/root 15153 2012-03-09 21:11:54 tg3-3.122n/LICENSE
-rw-r--r-- root/root 11376 2012-03-09 21:11:54 tg3-3.122n/tg3_compat2.h
-rw-r--r-- root/root 3688 2012-03-09 21:11:54 tg3-3.122n/tg3.4
-rw-r--r-- root/root 3293 2012-03-10 08:43:58 tg3-3.122n/tg3_vmware.h
-rw-r--r-- root/root 12324 2012-03-10 03:59:12 tg3-3.122n/README.TXT
-rw------- root/root 2437 2012-03-09 21:11:54 tg3-3.122n/esx_ioctl.h
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd tg3-3.122n
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Exécution_de(%build): /bin/sh -e /var/tmp/rpm-tmp.95392
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd tg3-3.122n
+ LANG=C
+ export LANG
+ unset DISPLAY
+ value=
+ '[' -z '' ']'
++ uname -r
+ KVER=2.6.23.17-88.fc7
+ make KVER=2.6.23.17-88.fc7
sh makeflags.sh > tg3_flags.h
makeflags.sh: No kernel source directory provided.
make: *** [tg3_flags.h] Error 255
erreur: Mauvais status de sortie pour /var/tmp/rpm-tmp.95392 (%build)
Erreur de construction de RPM:
Mauvais status de sortie pour /var/tmp/rpm-tmp.95392 (%build)