Message ID | 20170627182952.GZ3857@mail-itl (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Wed, 28 Jun 2017, at 04:29, Marek Marczykowski-Górecki wrote: > /home/user/rpmbuild/BUILD/xen-4.8.1/stubdom/vtpmmgr/vtpm_cmd_handler.c:555: > undefined reference to `tpmrsa_free' Hi, I think this was fixed for me with: Olaf Hering's [Xen-devel] [PATCH] vtpmmgr: make inline functions static https://lists.xenproject.org/archives/html/xen-devel/2017-06/msg02896.html Where the static keyword is added to the inline functions in vtpmmgr -- John Thomson
--- xen-4.6.5/stubdom/vtpmmgr/Makefile 2017-03-07 17:19:05.000000000 +0100 +++ xen-4.6.5/stubdom/vtpmmgr/Makefile.new 2017-05-12 01:49:02.589000000 +0200 @@ -17,7 +17,7 @@ OBJS += vtpm_disk.o disk_tpm.o disk_io.o OBJS += mgmt_authority.o CFLAGS+=-Werror -Iutil -Icrypto -Itcs -CFLAGS+=-Wno-declaration-after-statement -Wno-unused-label +CFLAGS+=-Wno-declaration-after-statement -Wno-unused-label -fkeep-inline-functions build: $(TARGET) $(TARGET): $(OBJS)