WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] error: tpm_version.h, error: gmp.h:, error: expected s

To: ilish ilish <ilishim@xxxxxxxxxxx>
Subject: Re: [Xen-devel] error: tpm_version.h, error: gmp.h:, error: expected specifier-qualifier-list before ‘tpm_bn_t’,-SOLVED
From: listmail <listmail@xxxxxxxxxxxx>
Date: Sat, 24 Apr 2010 12:38:55 -0400
Cc: Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Xen Users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sat, 24 Apr 2010 09:40:01 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <SNT139-w48A87040918A3A70BEDCDFBC060@xxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <SNT139-w16F7C1F39D3B639C2C4D81BC060@xxxxxxx>, <A1AB79C06219B34FBD39BC5B1E36CB97679418D139@xxxxxxxxxxxxxxxxxxxxxxxxx> <SNT139-w48A87040918A3A70BEDCDFBC060@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.23 (X11/20090817)
I think 'apt-get build-dep xen-#.#' before the make should pull in this dependency (where # is the current package version in the repository).

ilish ilish wrote:
Hi all,

apt-get install libgmp3-dev solved my problem.

Thanks

> From: Keir.Fraser@xxxxxxxxxxxxx
> To: ilishim@xxxxxxxxxxx; xen-devel@xxxxxxxxxxxxxxxxxxx
> Date: Sat, 24 Apr 2010 10:42:36 +0100
> Subject: RE: [Xen-devel] error: tpm_version.h, error: gmp.h:, error: expected specifier-qualifier-list before ‘tpm_bn_t’,
> CC:
>
> Maybe you need to install libgmp-devel package from your distro?
>
> -- Keir
> ________________________________________
> From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx [xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of ilish ilish [ilishim@xxxxxxxxxxx]
> Sent: Saturday, April 24, 2010 9:22 AM
> To: Xen Devel; Xen Users
> Subject: [Xen-devel] error: tpm_version.h, error: gmp.h:, error: expected specifier-qualifier-list before ‘tpm_bn_t’,
>
> Hi all,
>
> I am trying to build Xen 4.0.0 with "make world" command. As far as I kn ow if I use "make world" it will automatically get the kernel and build it with Xen source code.
>
> >From Config.mk file of Xen-4.0.0(xen-4.0.0/Config.mk ) I modified "VTPM_TOOLS=y" and I also modified "BUILD_EMULATOR=n" in tools/vtpm/Rules.mk directory. Then I said "make world" and got these errors.
>
> After that I though it can be something related to TPM_emulator and then modified "BUILD_EMULATOR=y" in tools/vtpm/Rules.mk. I got the same error after that.
>
> I am using Debian 5 Lenny.
>
> Any help appriciated.
>
> patching file Makefile
> patching file tpm/tpm_capability.c
> patching file tpmd/Makefile
> patching file tpmd/tpmd.c
> patching file tpmd/tpm_emulator_config.h
> set -e; if [ -e /usr/include/gmp.h ]; then \
> make -C vtpm; \
> else \
> &nbs p; echo "=== Unable to build VTPMs. libgmp could not be found."; \
> fi*> === Unable to build VTPMs. libgmp could not be found.
> make -C vtpm install
> make[5]: Entering directory `/home/b649/Desktop/xen-4.0.0/tools/vtpm/vtpm'
> Making install in tpmd
> make[6]: Entering directory `/home/b649/Desktop/xen-4.0.0/tools/vtpm/vtpm/tpmd' > gcc -Wall -Wno-unused -Wpointer-arith -Wcast-align -Wwrite-strings -Wsign-compare -Wno-multichar -g -I.. -I. -O2 -fno-strict-aliasing -I../../../../tools/vtpm_manager/manager -c -o tpm_audit.o ../tpm/tpm_audit.c
> In file included from ../tpm/tpm_audit.c:18:
> ../tpm/tpm_emulator.h:25:25: error: tpm_version.h: No such file or directory
> In file included from ../crypto/rsa.h:21,
> from ../tpm/tpm_structures.h:23,
> &nbs p; from ../tpm/tpm_commands.h:21,
> from ../tpm/tpm_audit.c:19:
> ../crypto/bn.h:22:17: error: gmp.h: No such file or directory
> In file included from ../crypto/r sa.h:21,
> from ../tpm/tpm_structures.h:23,
> from ../tpm/tpm_commands.h:21,
> from ../tpm/tpm_audit.c:19:
> ../crypto/bn.h:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘tpm_bn_t’
> ../crypto/bn.h:26: error: expected ‘)’ before ‘a’
> ../crypto/bn.h:28: error: expected ‘)’ before ‘a’
> ../crypto/bn.h:30: error: expected ‘)’ before ‘a’
> ../crypto/bn.h:32: error: expected ‘)’ before ‘a’
> ../ crypto/bn.h:34: error: expected ‘)’ before ‘a’
> ../crypto/bn.h:36: error: expected ‘)’ before ‘a’
> ../crypto/bn.h:38: error: expected ‘)’ before ‘a’
> ../crypto/bn.h:40: error: expected ‘)’ before ‘a’
> ../crypto/bn.h:42: error: expected ‘)’ before ‘out’
> ../crypto/bn.h:44: error: expected declaration specifiers or ‘...’ before ‘tpm_bn_t’
> ../crypto/bn.h:46: error: expected ‘)’ before ‘a’
> ../crypto/bn.h:48: error: exp ected ‘)’ before ‘a’
> ../crypto/bn.h:50: error: expected ‘)’ before ‘a’
> ../crypto/bn.h:52: error: expected ‘)’ before ‘res’
> ../crypto/bn.h:54: error: expected ‘)’ before ‘res’
> ../crypto/bn.h:56: error: expected ‘)’ before ‘res’
> ../crypto/bn.h:58: error: expected ‘)’ before ‘res’
> ../crypto/bn.h:60: error: expected ‘)’ before ‘res’
> ../crypto/bn.h:62: error: expected ‘)’ before ‘res’
> ../crypto/bn.h:64: error: expected ‘)’ before ‘res’
> ../crypto/bn.h:66: error: expected ‘)’ before ‘res’
> ../crypto/bn.h:68: error: expected ‘)’ before ‘res’
> ../crypto/bn.h:70: error: expected ‘)’ before ‘res’
> ../crypto/bn.h:72: error: expected ‘)’ before ‘res’
> ../crypto/bn.h:74: error: expected ‘)’ before ‘res’
> ../crypto/bn.h:76: error: expected ‘)’ before ‘res’
> ../crypto/bn.h:78: error: expected ‘)’ before ‘res’
> In file included from ../tpm/tpm_structures.h:23,
> from ../tpm/tpm_commands.h:21,
> from ../tpm/tpm_audit.c:19:
> ../crypto/rsa.h:24: error: expected specifier-qualifier-list before ‘tpm_bn_t’ > ../crypto/rsa.h:34: error: expected specifier-qualifier-list before ‘tpm_bn_t’
> make[6]: *** [tpm_audit.o] Error 1
> make[6]: Leaving directory `/home/b649/Desktop/xen-4.0.0/tools/vtpm/vtpm/tpmd'
> make[5]: *** [install-recursive] Error 255
> make[5]: Leaving directory `/home/b649/Desktop/xen-4.0.0/ tools/vtpm/vtpm'
> make[4]: *** [install] Error 2
> make[4]: Leaving directory `/home/b649/Desktop/xen-4.0.0/tools/vtpm'
> make[3]: *** [subdir-install-vtpm] Error 2
> make[3]: Leaving directory `/home/b649/Desktop/xen-4.0.0/tools'
> make[2]: *** [subdirs-install] Error 2
> make[2]: Leaving directory `/home/b649/Desktop/xen-4.0.0/tools'
> make[1]: *** [install-tools] Error 2
> make[1]: Leaving directory `/home/b649/Deskto p/xen-4.0.0'
> make: *** [world] Error 2
>
>
> ________________________________
> Hotmail: Ücretsiz, güvenilir ve zengin e-posta servisi. Hemen edinin.<https://signup.live.com/signup.aspx?id=60969>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel

*
------------------------------------------------------------------------
*Hareket Halindeyken E-postanız ve Çok Daha Fazlası. Windows Live Hotmail'i Ücretsiz Edinin. Hemen kaydolun. <https://signup.live.com/signup.aspx?id=60969>*
*
*
------------------------------------------------------------------------
*
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
*


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel