From mboxrd@z Thu Jan 1 00:00:00 1970 From: listmail Subject: =?windows-1254?Q?Re=3A_=5BXen-devel=5D_error=3A_tpm=5Fvers?= =?windows-1254?Q?ion=2Eh=2C__error=3A_gmp=2Eh=3A=2C__error=3A_?= =?windows-1254?Q?expected_specifier-qualifier-list_before_=91tpm=5F?= =?windows-1254?Q?bn=5Ft=92=2C-SOLVED?= Date: Sat, 24 Apr 2010 12:38:55 -0400 Message-ID: <4BD31E9F.8090209@triad.rr.com> References: , Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1254; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: ilish ilish Cc: Xen Devel , Xen Users List-Id: xen-devel@lists.xenproject.org I think 'apt-get build-dep xen-#.#' before the make should pull in this=20 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:=20 > expected specifier-qualifier-list before =91tpm_bn_t=92, > > CC: > > > > Maybe you need to install libgmp-devel package from your distro? > > > > -- Keir > > ________________________________________ > > From: xen-devel-bounces@lists.xensource.com=20 > [xen-devel-bounces@lists.xensource.com] On Behalf Of ilish ilish=20 > [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:=20 > expected specifier-qualifier-list before =91tpm_bn_t=92, > > > > Hi all, > > > > I am trying to build Xen 4.0.0 with "make world" command. As far as=20 > I kn ow if I use "make world" it will automatically get the kernel and=20 > build it with Xen source code. > > > > >From Config.mk file of Xen-4.0.0(xen-4.0.0/Config.mk ) I modified=20 > "VTPM_TOOLS=3Dy" and I also modified "BUILD_EMULATOR=3Dn" in=20 > tools/vtpm/Rules.mk directory. Then I said "make world" and got these=20 > errors. > > > > After that I though it can be something related to TPM_emulator and=20 > then modified "BUILD_EMULATOR=3Dy" in tools/vtpm/Rules.mk. I got the=20 > 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 "=3D=3D=3D Unable to build VTPMs. libgmp could not be fo= und."; \ > > fi*> =3D=3D=3D Unable to build VTPMs. libgmp could not be found. > > make -C vtpm install > > make[5]: Entering directory=20 > `/home/b649/Desktop/xen-4.0.0/tools/vtpm/vtpm' > > Making install in tpmd > > make[6]: Entering directory=20 > `/home/b649/Desktop/xen-4.0.0/tools/vtpm/vtpm/tpmd' > > gcc -Wall -Wno-unused -Wpointer-arith -Wcast-align -Wwrite-strings=20 > -Wsign-compare -Wno-multichar -g -I.. -I. -O2 -fno-strict-aliasing=20 > -I../../../../tools/vtpm_manager/manager -c -o tpm_audit.o=20 > ../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=20 > 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 =91=3D=92, =91,=92, =91;=92, =91as= m=92 or=20 > =91__attribute__=92 before =91tpm_bn_t=92 > > ../crypto/bn.h:26: error: expected =91)=92 before =91a=92 > > ../crypto/bn.h:28: error: expected =91)=92 before =91a=92 > > ../crypto/bn.h:30: error: expected =91)=92 before =91a=92 > > ../crypto/bn.h:32: error: expected =91)=92 before =91a=92 > > ../ crypto/bn.h:34: error: expected =91)=92 before =91a=92 > > ../crypto/bn.h:36: error: expected =91)=92 before =91a=92 > > ../crypto/bn.h:38: error: expected =91)=92 before =91a=92 > > ../crypto/bn.h:40: error: expected =91)=92 before =91a=92 > > ../crypto/bn.h:42: error: expected =91)=92 before =91out=92 > > ../crypto/bn.h:44: error: expected declaration specifiers or =91...=92= =20 > before =91tpm_bn_t=92 > > ../crypto/bn.h:46: error: expected =91)=92 before =91a=92 > > ../crypto/bn.h:48: error: exp ected =91)=92 before =91a=92 > > ../crypto/bn.h:50: error: expected =91)=92 before =91a=92 > > ../crypto/bn.h:52: error: expected =91)=92 before =91res=92 > > ../crypto/bn.h:54: error: expected =91)=92 before =91res=92 > > ../crypto/bn.h:56: error: expected =91)=92 before =91res=92 > > ../crypto/bn.h:58: error: expected =91)=92 before =91res=92 > > ../crypto/bn.h:60: error: expected =91)=92 before =91res=92 > > ../crypto/bn.h:62: error: expected =91)=92 before =91res=92 > > ../crypto/bn.h:64: error: expected =91)=92 before =91res=92 > > ../crypto/bn.h:66: error: expected =91)=92 before =91res=92 > > ../crypto/bn.h:68: error: expected =91)=92 before =91res=92 > > ../crypto/bn.h:70: error: expected =91)=92 before =91res=92 > > ../crypto/bn.h:72: error: expected =91)=92 before =91res=92 > > ../crypto/bn.h:74: error: expected =91)=92 before =91res=92 > > ../crypto/bn.h:76: error: expected =91)=92 before =91res=92 > > ../crypto/bn.h:78: error: expected =91)=92 before =91res=92 > > 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=20 > =91tpm_bn_t=92 > > ../crypto/rsa.h:34: error: expected specifier-qualifier-list before=20 > =91tpm_bn_t=92 > > make[6]: *** [tpm_audit.o] Error 1 > > make[6]: Leaving directory=20 > `/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/=20 > 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: =DCcretsiz, g=FCvenilir ve zengin e-posta servisi. Hemen=20 > edinin. > > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xensource.com > > http://lists.xensource.com/xen-devel > > * > -----------------------------------------------------------------------= - > *Hareket Halindeyken E-postan=FDz ve =C7ok Daha Fazlas=FD. Windows Live= =20 > Hotmail'i =DCcretsiz Edinin. Hemen kaydolun.=20 > * > * > * > -----------------------------------------------------------------------= - > * > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > *