[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-devel] error: tpm_version.h, error: gmp.h:, error: expected specifier-qualifier-list before ‘tpm_bn_t’,


  • To: ilish ilish <ilishim@xxxxxxxxxxx>, Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxxx>
  • Date: Sat, 24 Apr 2010 10:42:36 +0100
  • Accept-language: en-US
  • Acceptlanguage: en-US
  • Cc:
  • Delivery-date: Sat, 24 Apr 2010 02:44:24 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Acrjh1QVWfIexMvSSeSlAZVAx9/ZSwACynqv
  • Thread-topic: [Xen-devel] error: tpm_version.h, error: gmp.h:, error: expected specifier-qualifier-list before ‘tpm_bn_t’,

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 know 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/rsa.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: expected ‘)’ 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/Desktop/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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.