This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-users] Xen unstable with vTPM support compiling troubles..

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Xen unstable with vTPM support compiling troubles..
From: nicolas.munoz.zz@xxxxxxxxx
Date: Thu, 16 Jul 2009 14:58:18 +0000
Delivery-date: Thu, 16 Jul 2009 07:59:25 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

I am trying to follow the tutorial from Didier Colin here : http://cybione.org/~cdidier/blog/200812020841.html to install Xen unstable over my Ubuntu 9.04 with vTPM support.

I follow all the steps (skipping the tpm emulator as my machine already has one), and I'm trying to make world, and troubles are beginning here.
I get the following type of error:

sym_crypto.c: In function 'Crypto_symcrypto_initkey':
sym_crypto.c:71: error: format '%s' expects type 'char *', but argument 6 has type 'int'

[other similar errors are following for other lines of the file that look the same]

The "guilty" line is this one :

TPMTRYRETURN( buffer_init_copy (&key->key, keybits));

I dont understand the error at all, as this function has only 1 argument, or if talking about buffer_init_copy, it only has 2 arguments...

To try to solve this problem, i found here http://osdir.com/ml/emulators.xen.cvs/2005-08/msg00799.html a patch for vtpm manager. The change in the files that do not compile is replacing TPMTRYRETURN function like this ;



status = x;

I do not really understand, but I tried it. It seems to fix the compilation errors for one of the files, but something else is happening for the other file :

In function `buffer_copy': /usr/src/xen-unstable/tools/vtpm_manager/util/buffer.c:181: undefined reference to 'STATUSCHECK'

and other undefined references in the same file.

So I'm pretty stuck here, and I'm desperate.

Any help would be really appreciated!
Thank you in advance.
Xen-users mailing list
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Xen unstable with vTPM support compiling troubles.., nicolas . munoz . zz <=