Le jeudi 18 mai 2006 à 00:00 +0200, Christophe Gaubert a écrit : > Le 17/05/06, Christophe Gaubert <[EMAIL PROTECTED]> a > écrit : > > > Ça donne quoi si tu enregistres ceci dans un fichier toto.c : > > --------------8<-------------------------------------------------------- > > #include <linux/version.h> > > > > @@VMWARE@@ UTS_RELEASE > > ----------------8<------------------------------------------------------- > > et que tu lances : > > gcc -E toto.c > > ? > > Euh non, il faut donner à gcc le répertoire que tu donnes quand vmware > te demande le répertoire des headers du noyau, normalement : > gcc -E -I /usr/src/linux/include toto.c > ^^^(c'est un I comme Irène)
Voila $ gcc -E -I /usr/src/linux/include toto.c # 1 "toto.c" # 1 "<built-in>" # 1 "<command line>" # 1 "toto.c" # 1 "/usr/src/linux/include/linux/version.h" 1 # 2 "toto.c" 2 @@VMWARE@@ "2.6.12-18mdkcustom" -- René °¿°
========================================= Vous souhaitez acquerir votre Pack ou des Services Mandriva? Rendez-vous sur "http://store.mandriva.com". Rejoignez le club mandrake : http://www.mandrivaclub.com =========================================
