xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* error: tpm_version.h, error: gmp.h:, error: expected specifier-qualifier-list before ‘tpm_bn_t’,
@ 2010-04-24  8:22 ilish ilish
  2010-04-24  9:42 ` Keir Fraser
  0 siblings, 1 reply; 4+ messages in thread
From: ilish ilish @ 2010-04-24  8:22 UTC (permalink / raw)
  To: Xen Devel, Xen Users


[-- Attachment #1.1: Type: text/plain, Size: 4674 bytes --]


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 \
        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,
                 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.
https://signup.live.com/signup.aspx?id=60969

[-- Attachment #1.2: Type: text/html, Size: 5813 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-04-24 16:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).