问题描述
各位大侠:在ubuntu12下安装xen4.1.2时,进行#maketools时出现如下错误:bn.o:Infunction`tpm_bn_bitsize':/root/下载/xen-4.1.2/tools/vtpm/vtpm/tpmd/../crypto/bn.c:57:undefinedreferenceto`__gmpz_sizeinbase'bn.o:Infunction`tpm_bn_import':/root/下载/xen-4.1.2/tools/vtpm/vtpm/tpmd/../crypto/bn.c:62:undefinedreferenceto`__gmpz_import'bn.o:Infunction`tpm_bn_export':/root/下载/xen-4.1.2/tools/vtpm/vtpm/tpmd/../crypto/bn.c:67:undefinedreferenceto`__gmpz_export'bn.o:Infunction`tpm_bn_init':/root/下载/xen-4.1.2/tools/vtpm/vtpm/tpmd/../crypto/bn.c:22:undefinedreferenceto`__gmpz_init'bn.o:Infunction`tpm_bn_init2':/root/下载/xen-4.1.2/tools/vtpm/vtpm/tpmd/../crypto/bn.c:27:undefinedreferenceto`__gmpz_init2'bn.o:Infunction`tpm_bn_init_set':/root/下载/xen-4.1.2/tools/vtpm/vtpm/tpmd/../crypto/bn.c:32:undefinedreferenceto`__gmpz_init_set'bn.o:Infunction`tpm_bn_init_set_ui':/root/下载/xen-4.1.2/tools/vtpm/vtpm/tpmd/../crypto/bn.c:37:undefinedreferenceto`__gmpz_init_set_ui'bn.o:Infunction`tpm_bn_set_ui':/root/下载/xen-4.1.2/tools/vtpm/vtpm/tpmd/../crypto/bn.c:42:undefinedreferenceto`__gmpz_set_ui'bn.o:Infunction`tpm_bn_clear':/root/下载/xen-4.1.2/tools/vtpm/vtpm/tpmd/../crypto/bn.c:47:undefinedreferenceto`__gmpz_clear'bn.o:Infunction`tpm_bn_swap':/root/下载/xen-4.1.2/tools/vtpm/vtpm/tpmd/../crypto/bn.c:52:undefinedreferenceto`__gmpz_swap'bn.o:Infunction`tpm_bn_cmp':/root/下载/xen-4.1.2/tools/vtpm/vtpm/tpmd/../crypto/bn.c:72:undefinedreferenceto`__gmpz_cmp'bn.o:Infunction`tpm_bn_cmp_ui':/root/下载/xen-4.1.2/tools/vtpm/vtpm/tpmd/../crypto/bn.c:77:undefinedreferenceto`__gmpz_cmp_ui'bn.o:Infunction`tpm_bn_setbit':/root/下载/xen-4.1.2/tools/vtpm/vtpm/tpmd/../crypto/bn.c:87:undefinedreferenceto`__gmpz_setbit'bn.o:Infunction`tpm_bn_add':/root/下载/xen-4.1.2/tools/vtpm/vtpm/tpmd/../crypto/bn.c:92:undefinedreferenceto`__gmpz_add'bn.o:Infunction`tpm_bn_add_ui':/root/下载/xen-4.1.2/tools/vtpm/vtpm/tpmd/../crypto/bn.c:97:undefinedreferenceto`__gmpz_add_ui'bn.o:Infunction`tpm_bn_sub':/root/下载/xen-4.1.2/tools/vtpm/vtpm/tpmd/../crypto/bn.c:102:undefinedreferenceto`__gmpz_sub'bn.o:Infunction`tpm_bn_sub_ui':/root/下载/xen-4.1.2/tools/vtpm/vtpm/tpmd/../crypto/bn.c:107:undefinedreferenceto`__gmpz_sub_ui'bn.o:Infunction`tpm_bn_mul':/root/下载/xen-4.1.2/tools/vtpm/vtpm/tpmd/../crypto/bn.c:112:undefinedreferenceto`__gmpz_mul'bn.o:Infunction`tpm_bn_mod':/root/下载/xen-4.1.2/tools/vtpm/vtpm/tpmd/../crypto/bn.c:117:undefinedreferenceto`__gmpz_mod'bn.o:Infunction`tpm_bn_powm':/root/下载/xen-4.1.2/tools/vtpm/vtpm/tpmd/../crypto/bn.c:122:undefinedreferenceto`__gmpz_powm'bn.o:Infunction`tpm_bn_ui_pow_ui':/root/下载/xen-4.1.2/tools/vtpm/vtpm/tpmd/../crypto/bn.c:127:undefinedreferenceto`__gmpz_ui_pow_ui'bn.o:Infunction`tpm_bn_fdiv_q_2exp':/root/下载/xen-4.1.2/tools/vtpm/vtpm/tpmd/../crypto/bn.c:132:undefinedreferenceto`__gmpz_fdiv_q_2exp'bn.o:Infunction`tpm_bn_tdiv_q':/root/下载/xen-4.1.2/tools/vtpm/vtpm/tpmd/../crypto/bn.c:137:undefinedreferenceto`__gmpz_tdiv_q'bn.o:Infunction`tpm_bn_gcd':/root/下载/xen-4.1.2/tools/vtpm/vtpm/tpmd/../crypto/bn.c:142:undefinedreferenceto`__gmpz_gcd'bn.o:Infunction`tpm_bn_invert':/root/下载/xen-4.1.2/tools/vtpm/vtpm/tpmd/../crypto/bn.c:147:undefinedreferenceto`__gmpz_invert'bn.o:Infunction`tpm_bn_nextprime':/root/下载/xen-4.1.2/tools/vtpm/vtpm/tpmd/../crypto/bn.c:152:undefinedreferenceto`__gmpz_nextprime'collect2:ld返回1make[5]:***[tpmd]错误1make[5]:正在离开目录`/root/下载/xen-4.1.2/tools/vtpm/vtpm/tpmd'/bin/sh:4:exit:Illegalnumber:-1make[4]:***[all-recursive]错误2make[4]:正在离开目录`/root/下载/xen-4.1.2/tools/vtpm/vtpm'make[3]:***[build_sub]错误2make[3]:正在离开目录`/root/下载/xen-4.1.2/tools/vtpm'make[2]:***[subdir-install-vtpm]错误2make[2]:正在离开目录`/root/下载/xen-4.1.2/tools'make[1]:***[subdirs-install]错误2make[1]:正在离开目录`/root/下载/xen-4.1.2/tools'make:***[install-tools]错误2
解决方案
解决方案二:
为什么没有人回复呢?唉……