* [Qemu-devel] getting link errors when building for qga-vss.dll
@ 2018-11-07 17:23 Kirk Allan
2018-11-29 12:51 ` Markus Armbruster
0 siblings, 1 reply; 3+ messages in thread
From: Kirk Allan @ 2018-11-07 17:23 UTC (permalink / raw)
To: qemu-devel
When I try to build qga-vss.dll I get the following link error:
LINK qga/vss-win32/qga-vss.dll
/usr/lib64/gcc/i686-w64-mingw32/8.2.0/../../../../i686-w64-mingw32/bin/ld: qga/vss-win32/requester.o: in function `requester_freeze':
/src/qemu/qga/vss-win32/requester.cpp:284: undefined reference to `g_assertion_message_expr'
I started getting this link error with commit 3ebee3b191e755d3f7311a6a62eea5c9628b221b where assert is redefined to g_assert.
Is there something additional I need to add to my configure or make commands to resolve g_assertion_message_expr?
My configure command is: ./configure --cross-prefix=i686-w64-mingw32- --enable-guest-agent --with-vss-sdk
My make command is: make qemu-ga.exe qga/vss-win32/qga-vss.dll
Thanks,
Kirk
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] getting link errors when building for qga-vss.dll
2018-11-07 17:23 [Qemu-devel] getting link errors when building for qga-vss.dll Kirk Allan
@ 2018-11-29 12:51 ` Markus Armbruster
2018-11-29 16:10 ` Michael Roth
0 siblings, 1 reply; 3+ messages in thread
From: Markus Armbruster @ 2018-11-29 12:51 UTC (permalink / raw)
To: Kirk Allan; +Cc: qemu-devel, Stefan Weil, Michael Roth
Cc'ing folks who might be able to help.
"Kirk Allan" <kallan@suse.com> writes:
> When I try to build qga-vss.dll I get the following link error:
>
> LINK qga/vss-win32/qga-vss.dll
> /usr/lib64/gcc/i686-w64-mingw32/8.2.0/../../../../i686-w64-mingw32/bin/ld: qga/vss-win32/requester.o: in function `requester_freeze':
> /src/qemu/qga/vss-win32/requester.cpp:284: undefined reference to `g_assertion_message_expr'
>
> I started getting this link error with commit 3ebee3b191e755d3f7311a6a62eea5c9628b221b where assert is redefined to g_assert.
>
> Is there something additional I need to add to my configure or make commands to resolve g_assertion_message_expr?
>
> My configure command is: ./configure --cross-prefix=i686-w64-mingw32- --enable-guest-agent --with-vss-sdk
>
> My make command is: make qemu-ga.exe qga/vss-win32/qga-vss.dll
>
> Thanks,
> Kirk
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] getting link errors when building for qga-vss.dll
2018-11-29 12:51 ` Markus Armbruster
@ 2018-11-29 16:10 ` Michael Roth
0 siblings, 0 replies; 3+ messages in thread
From: Michael Roth @ 2018-11-29 16:10 UTC (permalink / raw)
To: Kirk Allan, Markus Armbruster; +Cc: qemu-devel, Stefan Weil
Quoting Markus Armbruster (2018-11-29 06:51:46)
> Cc'ing folks who might be able to help.
>
> "Kirk Allan" <kallan@suse.com> writes:
>
> > When I try to build qga-vss.dll I get the following link error:
> >
> > LINK qga/vss-win32/qga-vss.dll
> > /usr/lib64/gcc/i686-w64-mingw32/8.2.0/../../../../i686-w64-mingw32/bin/ld: qga/vss-win32/requester.o: in function `requester_freeze':
> > /src/qemu/qga/vss-win32/requester.cpp:284: undefined reference to `g_assertion_message_expr'
> >
> > I started getting this link error with commit 3ebee3b191e755d3f7311a6a62eea5c9628b221b where assert is redefined to g_assert.
> >
> > Is there something additional I need to add to my configure or make commands to resolve g_assertion_message_expr?
> >
> > My configure command is: ./configure --cross-prefix=i686-w64-mingw32- --enable-guest-agent --with-vss-sdk
> >
> > My make command is: make qemu-ga.exe qga/vss-win32/qga-vss.dll
Hi Kirk,
I've sent a patch to fix this here:
https://patchwork.kernel.org/patch/10682937/
but it was recommended we take a different approach that I wasn't able to
get working in time for 3.1. So you might need to make use of the
posted patch in the meantime. The final fix should go in shortly after
the 3.1 release next week.
> >
> > Thanks,
> > Kirk
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-11-29 16:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-07 17:23 [Qemu-devel] getting link errors when building for qga-vss.dll Kirk Allan
2018-11-29 12:51 ` Markus Armbruster
2018-11-29 16:10 ` Michael Roth
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).