From: listmail <listmail@triad.rr.com>
To: ilish ilish <ilishim@hotmail.com>
Cc: Xen Devel <xen-devel@lists.xensource.com>,
Xen Users <xen-users@lists.xensource.com>
Subject: Re: [Xen-devel] error: tpm_version.h, error: gmp.h:, error: expected specifier-qualifier-list before ‘tpm_bn_t’,-SOLVED
Date: Sat, 24 Apr 2010 12:38:55 -0400 [thread overview]
Message-ID: <4BD31E9F.8090209@triad.rr.com> (raw)
In-Reply-To: <SNT139-w48A87040918A3A70BEDCDFBC060@phx.gbl>
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@eu.citrix.com
> > To: ilishim@hotmail.com; xen-devel@lists.xensource.com
> > 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@lists.xensource.com
> [xen-devel-bounces@lists.xensource.com] On Behalf Of ilish ilish
> [ilishim@hotmail.com]
> > 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@lists.xensource.com
> > 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@lists.xensource.com
> http://lists.xensource.com/xen-devel
> *
prev parent reply other threads:[~2010-04-24 16:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-24 8:22 error: tpm_version.h, error: gmp.h:, error: expected specifier-qualifier-list before ‘tpm_bn_t’, ilish ilish
2010-04-24 9:42 ` Keir Fraser
2010-04-24 16:23 ` [Xen-devel] error: tpm_version.h, error: gmp.h:, error: expected specifier-qualifier-list before ‘tpm_bn_t’,-SOLVED ilish ilish
2010-04-24 16:38 ` listmail [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4BD31E9F.8090209@triad.rr.com \
--to=listmail@triad.rr.com \
--cc=ilishim@hotmail.com \
--cc=xen-devel@lists.xensource.com \
--cc=xen-users@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.