Re: Compilation des virtualbox-ise-guest

トップ ページ

このメッセージに返信
著者: Stephane Bonhomme
日付:  
To: ML guilde
題目: Re: Compilation des virtualbox-ise-guest
Tu es sur que virtualbox supporte les archi 64 bits en guest ?



Le vendredi 26 septembre 2008 à 17:40 +0200, Frédéric a écrit :
> Ça ne fonctionne pas. J'ai l'erreur :
>
> # m-a build --text-mode virtualbox-ose-guest
> [...]
> Build the modules
> kmk -C /lib/modules/2.6.26-1-amd64/build
> M=/usr/src/modules/virtualbox-ose-guest
> kmk[1]: Entering directory `/usr/src/linux-headers-2.6.26-1-amd64'
> kmk[2]: Entering directory `/usr/src/linux-headers-2.6.26-1-amd64'
> grep: /usr/src/modules/virtualbox-ose-guest/include/linux/version.h: Aucun
> fichier ou répertoire de ce type
> kmk[3]: Entering directory `/usr/src/linux-headers-2.6.26-1-amd64'
> /usr/src/modules/virtualbox-ose-guest/vboxadd/hgcmcall.c: In
> function ‘vbox_hgcm_get_r3_params’:
> /usr/src/modules/virtualbox-ose-guest/vboxadd/hgcmcall.c:137: warning: cast
> to pointer from integer of different size
> /usr/src/modules/virtualbox-ose-guest/vboxadd/hgcmcall.c:148: warning: cast
> from pointer to integer of different size
> /usr/src/modules/virtualbox-ose-guest/vboxadd/hgcmcall.c:158: warning: cast
> from pointer to integer of different size
> /usr/src/modules/virtualbox-ose-guest/vboxadd/hgcmcall.c: In
> function ‘vbox_hgcm_return_r0_struct’:
> /usr/src/modules/virtualbox-ose-guest/vboxadd/hgcmcall.c:250: warning: cast
> to pointer from integer of different size
> /usr/src/modules/virtualbox-ose-guest/vboxadd/hgcmcall.c:252: warning: cast
> to pointer from integer of different size
> /usr/src/modules/virtualbox-ose-guest/vboxadd/vboxmod.c: In
> function ‘vboxadd_reserve_hypervisor’:
> /usr/src/modules/virtualbox-ose-guest/vboxadd/vboxmod.c:735: warning: cast
> from pointer to integer of different size
> /usr/src/modules/virtualbox-ose-guest/vboxadd/vboxmod.c: In
> function ‘vboxadd_ioctl’:
> /usr/src/modules/virtualbox-ose-guest/vboxadd/vboxmod.c:441:
> warning: ‘cbRequestSize’ may be used uninitialized in this function
> /usr/src/modules/virtualbox-ose-guest/vboxadd/HGCMInternal.c: In
> function ‘VbglHGCMCall’:
> /usr/src/modules/virtualbox-ose-guest/vboxadd/HGCMInternal.c:196: warning:
> cast to pointer from integer of different size
> /usr/src/modules/virtualbox-ose-guest/vboxadd/HGCMInternal.c:274: warning:
> cast to pointer from integer of different size
> /usr/src/modules/virtualbox-ose-guest/vboxadd/r0drv/linux/alloc-r0drv-linux.c:51:24:
> error: iprt/heap.h: Aucun fichier ou répertoire de ce type
> /usr/src/modules/virtualbox-ose-guest/vboxadd/r0drv/linux/alloc-r0drv-linux.c:52:28:
> error: iprt/spinlock.h: Aucun fichier ou répertoire de ce type
> /usr/src/modules/virtualbox-ose-guest/vboxadd/r0drv/linux/alloc-r0drv-linux.c:
> In function ‘rtR0MemExecCleanup’:
> /usr/src/modules/virtualbox-ose-guest/vboxadd/r0drv/linux/alloc-r0drv-linux.c:73:
> error: implicit declaration of function ‘RTSpinlockDestroy’
> /usr/src/modules/virtualbox-ose-guest/vboxadd/r0drv/linux/alloc-r0drv-linux.c:
> In function ‘RTR0MemExecDonate’:
> /usr/src/modules/virtualbox-ose-guest/vboxadd/r0drv/linux/alloc-r0drv-linux.c:98:
> error: implicit declaration of function ‘RTSpinlockCreate’
> /usr/src/modules/virtualbox-ose-guest/vboxadd/r0drv/linux/alloc-r0drv-linux.c:101:
> error: implicit declaration of function ‘RTHeapSimpleInit’
> /usr/src/modules/virtualbox-ose-guest/vboxadd/r0drv/linux/alloc-r0drv-linux.c:
> In function ‘rtMemAlloc’:
> /usr/src/modules/virtualbox-ose-guest/vboxadd/r0drv/linux/alloc-r0drv-linux.c:126:
> error: ‘RTSPINLOCKTMP’ undeclared (first use in this function)
> /usr/src/modules/virtualbox-ose-guest/vboxadd/r0drv/linux/alloc-r0drv-linux.c:126:
> error: (Each undeclared identifier is reported only once
> /usr/src/modules/virtualbox-ose-guest/vboxadd/r0drv/linux/alloc-r0drv-linux.c:126:
> error: for each function it appears in.)
> /usr/src/modules/virtualbox-ose-guest/vboxadd/r0drv/linux/alloc-r0drv-linux.c:126:
> error: expected ‘;’ before ‘SpinlockTmp’
> /usr/src/modules/virtualbox-ose-guest/vboxadd/r0drv/linux/alloc-r0drv-linux.c:127:
> error: implicit declaration of function ‘RTSpinlockAcquireNoInts’
> /usr/src/modules/virtualbox-ose-guest/vboxadd/r0drv/linux/alloc-r0drv-linux.c:127:
> error: ‘SpinlockTmp’ undeclared (first use in this function)
> /usr/src/modules/virtualbox-ose-guest/vboxadd/r0drv/linux/alloc-r0drv-linux.c:128:
> error: implicit declaration of function ‘RTHeapSimpleAlloc’
> /usr/src/modules/virtualbox-ose-guest/vboxadd/r0drv/linux/alloc-r0drv-linux.c:128:
> warning: cast to pointer from integer of different size
> /usr/src/modules/virtualbox-ose-guest/vboxadd/r0drv/linux/alloc-r0drv-linux.c:129:
> error: implicit declaration of function ‘RTSpinlockReleaseNoInts’
> /usr/src/modules/virtualbox-ose-guest/vboxadd/r0drv/linux/alloc-r0drv-linux.c:
> In function ‘rtMemFree’:
> /usr/src/modules/virtualbox-ose-guest/vboxadd/r0drv/linux/alloc-r0drv-linux.c:179:
> error: ‘RTSPINLOCKTMP’ undeclared (first use in this function)
> /usr/src/modules/virtualbox-ose-guest/vboxadd/r0drv/linux/alloc-r0drv-linux.c:179:
> error: expected ‘;’ before ‘SpinlockTmp’
> /usr/src/modules/virtualbox-ose-guest/vboxadd/r0drv/linux/alloc-r0drv-linux.c:180:
> error: ‘SpinlockTmp’ undeclared (first use in this function)
> /usr/src/modules/virtualbox-ose-guest/vboxadd/r0drv/linux/alloc-r0drv-linux.c:181:
> error: implicit declaration of function ‘RTHeapSimpleFree’
> kmk[3]: ***
> [/usr/src/modules/virtualbox-ose-guest/vboxadd/r0drv/linux/alloc-r0drv-linux.o]
> Error 1
> kmk[3]: Leaving directory `/usr/src/linux-headers-2.6.26-1-amd64'
> kmk[2]: *** [/usr/src/modules/virtualbox-ose-guest/vboxadd] Error 2
> kmk[2]: Leaving directory `/usr/src/linux-headers-2.6.26-1-amd64'
> kmk[1]: *** [_module_/usr/src/modules/virtualbox-ose-guest] Error 2
> kmk[1]: Leaving directory `/usr/src/linux-headers-2.6.26-1-amd64'
> kmk: *** [binary-modules] Error 2
> make: *** [kdist_build] Erreur 2
> BUILD FAILED!
> See /var/cache/modass/virtualbox-ose-guest-source.buildlog.2.6.26-1-amd64.1222443408
> for details.
> La construction a échoué. Appuyez sur Entrée pour continuer...
>
> Le problème semble venir du fait qu'il n'y a pas de fichier :
>
>     /usr/src/modules/virtualbox-ose-guest/include/linux/version.h

>
> Même si je copie celui des sources du noyau, il est viré dès la
> compilation...
>
> Une idée ?
>

-- 
           Stéphane Bonhomme           --           Exselt Services


        Formations, Conseil et Réalisations en Ingénierie Documentaire,
                    Technologies Web et Logiciels Libres 
             stephane@???   -   http://www.exselt.com
                04 57 39 30 78        /      06 88 57 27 08