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)


-- 
Christophe Gaubert
http://ch4tn01r.free.fr/blog
Participez à la liste Avis de citoyens :
http://fr.groups.yahoo.com/group/Avis_de_citoyens/

=========================================
Vous souhaitez acquerir votre Pack ou des Services Mandriva?
Rendez-vous sur "http://store.mandriva.com";.
Rejoignez le club mandrake : http://www.mandrivaclub.com
=========================================

Répondre à