Précédent   Forum des professionnels en informatique > Systèmes > Autres systèmes > Unix > BSD
BSD Forum d'entraide sur les systèmes BSD. Avant de poster -> FAQ BSD et cours BSD
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 29/12/2010, 15h10   #1
Futur Membre du Club
 
Étudiant
Inscription : septembre 2009
Messages : 24
Détails du profil
Informations personnelles :
Localisation : France, Rhône (Rhône Alpes)

Informations professionnelles :
Activité : Étudiant

Informations forums :
Inscription : septembre 2009
Messages : 24
Points : 16
Points : 16
Par défaut Noyau FreeBsd compilation -> Problème

En essayant de recompiler mon noyau bsd j'ai ceci en fin de compilation :

Code :
1
2
3
4
5
6
7
8
9
10
11
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -g -fno-omit-frame-pointer -I/usr/obj/usr/src/sys/GENERIC -mcmodel=kernel -mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -c /usr/src/sys/modules/zlib/../../net/zlib.c
ld  -d -warn-common -r -d -o zlib.ko.debug zlib.o
:> export_syms
awk -f /usr/src/sys/conf/kmod_syms.awk zlib.ko.debug  export_syms | xargs -J% objcopy % zlib.ko.debug
objcopy --only-keep-debug zlib.ko.debug zlib.ko.symbols
objcopy --strip-debug --add-gnu-debuglink=zlib.ko.symbols zlib.ko.debug zlib.ko
--------------------------------------------------------------
>>> Kernel build for GENERIC completed on Wed Dec 29 14:51:15 CET 2010
--------------------------------------------------------------
make: don't know how to make KERNCONFTORTUEGENIALE. Stop
Et ce qui m'intrigue surtout c'est ceci :
Code :
1
2
3
4
5
--------------------------------------------------------------
>>> Kernel build for GENERIC completed on Wed Dec 29 14:51:15 CET 2010
--------------------------------------------------------------
make: don't know how to make KERNCONFTORTUEGENIALE. Stop
make: don't know how to make KERNCONFTORTUEGENIALE. Stop Outre le fait de me rappeller que je ne suis pas doué, cela confirme t'il bien que la compilation a échoué ? ???
damien_mathieu est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 29/12/2010, 15h33   #2
En attente de confirmation mail
 
Inscription : juin 2002
Messages : 6 164
Détails du profil
Informations forums :
Inscription : juin 2002
Messages : 6 164
Points : 6 404
Points : 6 404
Code :
1
2
3
4
5
6
cd /usr/src

make buildkernel KERNCONF=MYKERNEL
make installkernel KERNCONF=MYKERNEL
# ou directement
make kernel KERNCONF=MYKERNEL
(KERNCONF peut être renseigné dans /etc/make.conf pour être quitte de le préciser)

Cf handbook.
julp est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 29/12/2010, 15h39   #3
Futur Membre du Club
 
Étudiant
Inscription : septembre 2009
Messages : 24
Détails du profil
Informations personnelles :
Localisation : France, Rhône (Rhône Alpes)

Informations professionnelles :
Activité : Étudiant

Informations forums :
Inscription : septembre 2009
Messages : 24
Points : 16
Points : 16
J'ai une erreur, je dois mal utilisé les arguments de make
Code :
1
2
3
4
5
6
7
8
9
[root@tortue_geniale /usr/src]# make kernel KERNCONF=TORTUE_GENIALE
ERROR: Missing kernel configuration file(s) (TORTUE_GENIALE).
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
voici le contenu de mon /etc/make.conf
Code :
1
2
3
 
added by use.perl 2009-11-30 13:50:51
PERL_VERSION=5.8.9
Merci
damien_mathieu est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 29/12/2010, 15h58   #4
En attente de confirmation mail
 
Inscription : juin 2002
Messages : 6 164
Détails du profil
Informations forums :
Inscription : juin 2002
Messages : 6 164
Points : 6 404
Points : 6 404
Le fichier de configuration TORTUE_GENIALE est bien à cet endroit :
Code :
/usr/src/sys/`uname -p`/conf/TORTUE_GENIALE
?

(éventuellement par un lien symbolique sur son emplacement réel)
julp est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 29/12/2010, 16h13   #5
Futur Membre du Club
 
Étudiant
Inscription : septembre 2009
Messages : 24
Détails du profil
Informations personnelles :
Localisation : France, Rhône (Rhône Alpes)

Informations professionnelles :
Activité : Étudiant

Informations forums :
Inscription : septembre 2009
Messages : 24
Points : 16
Points : 16
non en effet celui-ci ne se trouvait pas là.

Je m'étais positionné dans /usr/src/sys/ia64, je suis sur une architecture intel.

Cela marche quand même si je me met dans amd64 ? Bizarre non ?

la compilation vient bien de ce lancer.

Merci
damien_mathieu est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 29/12/2010, 16h31   #6
En attente de confirmation mail
 
Inscription : juin 2002
Messages : 6 164
Détails du profil
Informations forums :
Inscription : juin 2002
Messages : 6 164
Points : 6 404
Points : 6 404
ia64 est spécifique aux processeurs Intel Itanium
amd64 pour les x86-64 (AMD/Intel Core)

Citation:
2.2.1.2 FreeBSD/amd64

There are two classes of processors capable of running FreeBSD/amd64. The first are AMD64 processors, including the AMD Athlon™64, AMD Athlon64-FX, AMD Opteron™ or better processors.

The second class of processors that can use FreeBSD/amd64 includes those using the Intel® EM64T architecture. Examples of these processors include the Intel Core™ 2 Duo, Quad, and Extreme processor families and the Intel Xeon™ 3000, 5000, and 7000 sequences of processors.
julp est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 31/12/2010, 14h17   #7
Futur Membre du Club
 
Étudiant
Inscription : septembre 2009
Messages : 24
Détails du profil
Informations personnelles :
Localisation : France, Rhône (Rhône Alpes)

Informations professionnelles :
Activité : Étudiant

Informations forums :
Inscription : septembre 2009
Messages : 24
Points : 16
Points : 16
pb résolu.
damien_mathieu est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité Cette discussion est résolue.
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 12h16.


 
 
 
 
Partenaires

Hébergement Web