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

Re: [Xen-users] [Xen-devel] Building Xen 4.2.1 with vTPM on NetBSD 6.0.1



I’ve never tried to use vtpm on netbsd so I cannot say whether it will work or not.

 

This is the old vtpm system which is now deprecated. Even if you can build it I wouldn’t recommend using it.

 

From: xen-devel-bounces@xxxxxxxxxxxxx [mailto:xen-devel-bounces@xxxxxxxxxxxxx] On Behalf Of tech mailinglists
Sent: Saturday, February 09, 2013 7:39 AM
To: port-xen@xxxxxxxxxx; xen-users; xen-devel@xxxxxxxxxxxxx
Subject: [Xen-devel] Building Xen 4.2.1 with vTPM on NetBSD 6.0.1

 

 

Hello all,

I try to build Xen 4.2.1 on NetBSD 6.0.1 with vTPM. I would say that dependencies are missing but I don't know it.

I have done the following:

I installed the building dependencies from pkgsrc

Run configure as follows:

./configure PYTHON=/usr/pkg/bin/python2.7 APPEND_INCLUDES=/usr/pkg/include APPEND_LIB=/usr/pkg/lib --prefix=/usr/xen42 --enable-vtpm

 
Builded Xen itself successfully.
Run gmake for the tools target as follows: 

gmake LD_LIBRARY_PATH=/usr/pkg/lib tools
This fails with the following error:
gmake[5]: Entering directory `/root/xen-4.2.1/tools/vtpm_manager/manager'
gcc  -Werror -g3 -D_GNU_SOURCE -DLOGGING_MODULES="(BITMASK(VTPM_LOG_TCS)|BITMASK(VTPM_LOG_VTSP)|BITMASK(VTPM_LOG_VTPM))" -I/root/xen-4.2.1/tools/vtpm_manager/manager/../../../tools/vtpm_manager/crypto -I/root/xen-4.2.1/tools/vtpm_manager/manager/../../../tools/vtpm_manager/util -I/root/xen-4.2.1/tools/vtpm_manager/manager/../../../tools/vtpm_manager/tcs -I/root/xen-4.2.1/tools/vtpm_manager/manager/../../../tools/vtpm_manager/manager -pthread  -c -o vtpmd.o vtpmd.c  -I/usr/pkg/include

cc1: warnings being treated as errors
vtpmd.c: In function 'signal_handler':
vtpmd.c:96:3: error: passing argument 2 of '__libc_thr_equal' makes pointer from integer without a cast
/usr/include/pthread.h:368:5: note: expected 'pthread_t' but argument is of type '__pid_t'

vtpmd.c: In function 'main':
vtpmd.c:343:28: error: assignment makes integer from pointer without a cast
gmake[5]: *** [vtpmd.o] Error 1
gmake[5]: Leaving directory `/root/xen-4.2.1/tools/vtpm_manager/manager'

gmake[4]: *** [subdir-install-manager] Error 2
gmake[4]: Leaving directory `/root/xen-4.2.1/tools/vtpm_manager'
gmake[3]: *** [subdirs-install] Error 2
gmake[3]: Leaving directory `/root/xen-4.2.1/tools/vtpm_manager'

gmake[2]: *** [subdir-install-vtpm_manager] Error 2
gmake[2]: Leaving directory `/root/xen-4.2.1/tools'
gmake[1]: *** [subdirs-install] Error 2
gmake[1]: Leaving directory `/root/xen-4.2.1/tools'
gmake: *** [install-tools] Error 2

 
So I know that already one dependency is missing I think it's libgmp but I found no way to build it on NetBSD.
Is vTPM buildable on NetBSD and what does this error/warning which was treated as error mean?

 
Best Regards
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

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