[Spice-devel] How to build spice vdagent for win32?
Pencc
yxpengi386 at 163.com
Fri May 25 01:41:59 UTC 2018
Hi
>
> Hello, everyone!
> I build spice vdagent as [1] in fedora28, but it failed as
> [2], I'm a truly newbie in windows,
> that's helped if I can get some document or a build flow.
>
> [1]
> # sudo apt-get install mingw-w64-x86-64 mingw64-filesystem
> mingw64-cximage-static mingw64-jasper-static
> mingw64-libjpeg-turbo-static mingw64-libpng-static
> mingw64-libtiff-static mingw64-zlib-static mingw64-winpthreads-static
>
> # ./autogen.sh
>
> # ./configure
> CXXFLAGS=-I/usr/x86_64-w64-mingw32/sys-root/mingw/include
> CXIMAGE_CFLAGS=-I/usr/x86_64-w64-mingw32/sys-root/mingw/include/CxImage
> CXIMAGE_LIBS=-ljasper -ljpeg -lpng -ltiff -lz -lcximage
> LDFLAGS=-L/usr/x86_64-w64-mingw32/sys-root/mingw/lib
> CXX=x86_64-w64-mingw32-g++ CC=gcc
>
> CxImage requirement was removed time ago using libpng directly (also
> considering that CxImage is not more maintained and contains security
> issues).
> Why you are passing CXIMAGE flags?
> To cross compile is better to use the --host option, like
>
> ./configure --host=x86_64-w64-mingw32
>
> in Fedora there's a very useful script called "mingw32-configure" (or
> "mingw64-configure") which calls configure with the correct
> settings to cross compile with MingW
>
thx, it works well in master branch.
> add follows to Makefile:
> WINDRES = x86_64-w64-mingw32-windres
> EXEEXT = .exe
>
> # make
>
> [2]
> [pencc at localhost vdagent-win-0.8.0]$ make
> make all-recursive
> CXX vdagent-vdcommon.o
> CXX vdagent-vdlog.o
> CXX vdagent-display_configuration.o
> CXX vdagent-desktop_layout.o
> CXX vdagent-display_setting.o
> CXX vdagent-file_xfer.o
> CXX vdagent-vdagent.o
> CXX vdagent-as_user.o
> GEN vdagent_rc.o
> CXXLD vdagent.exe
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libtiff.a(tif_win32.o):(.text+0x7f0):
> multiple definition of `_TIFFmalloc'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(tif_xfile.o):(.text+0x2d0):
> first defined here
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libtiff.a(tif_win32.o):(.text+0x830):
> multiple definition of `_TIFFfree'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(tif_xfile.o):(.text+0x2e0):
> first defined here
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libtiff.a(tif_win32.o):(.text+0x840):
> multiple definition of `_TIFFrealloc'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(tif_xfile.o):(.text+0x2f0):
> first defined here
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libtiff.a(tif_win32.o):(.text+0x850):
> multiple definition of `_TIFFmemset'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(tif_xfile.o):(.text+0x300):
> first defined here
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libtiff.a(tif_win32.o):(.text+0x860):
> multiple definition of `_TIFFmemcpy'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(tif_xfile.o):(.text+0x310):
> first defined here
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libtiff.a(tif_win32.o):(.text+0x870):
> multiple definition of `_TIFFmemcmp'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(tif_xfile.o):(.text+0x320):
> first defined here
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libtiff.a(tif_win32.o):(.data+0x0):
> multiple definition of `_TIFFerrorHandler'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(tif_xfile.o):(.data+0x0):
> first defined here
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libtiff.a(tif_win32.o):(.data+0x8):
> multiple definition of `_TIFFwarningHandler'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(tif_xfile.o):(.data+0x8):
> first defined here
> /tmp/cc9kug4b.ltrans1.ltrans.o:<artificial>:(.text+0x1113):
> undefined reference to `__imp_CreateDCW'
>
> Why using LTO?
> Looks like you are using an older version, looking at your previous
> e-mail you
> have the correct git repository but you are not using master.
I download it from
https://www.spice-space.org/download/windows/vdagent/vdagent-win-0.8.0/,
and we are using the vdagent provided by
oVirt-toolsSetup-4.2-1.el7.centos.iso, is the vdagent build
from master code will works well with the other program provided by
oVirt-toolsSetup-4.2-1.el7.centos.iso?
if so, we can use the newest version rather than vdagent-win-0.8.0(or
others version).
> /tmp/cc9kug4b.ltrans1.ltrans.o:<artificial>:(.text+0x1340):
> undefined reference to `__imp_CreateDCW'
> /tmp/cc9kug4b.ltrans1.ltrans.o:<artificial>:(.text+0x1525):
> undefined reference to `__imp_ExtEscape'
> /tmp/cc9kug4b.ltrans1.ltrans.o:<artificial>:(.text+0x16dc):
> undefined reference to `__imp_DeleteDC'
> /tmp/cc9kug4b.ltrans1.ltrans.o:<artificial>:(.text+0x1791):
> undefined reference to `__imp_CreateDCW'
> /tmp/cc9kug4b.ltrans1.ltrans.o:<artificial>:(.text+0x17fe):
> undefined reference to `__imp_ExtEscape'
> /tmp/cc9kug4b.ltrans1.ltrans.o:<artificial>:(.text+0x1981):
> undefined reference to `__imp_DeleteDC'
> /tmp/cc9kug4b.ltrans1.ltrans.o:<artificial>:(.text+0x2b37):
> undefined reference to `__imp_CreateDCW'
> /tmp/cc9kug4b.ltrans1.ltrans.o:<artificial>:(.text+0x2ecd):
> undefined reference to `__imp_DeleteDC'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximasel.o):(.text+0x1ed1):
> undefined reference to `__imp_CreateRectRgn'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximasel.o):(.text+0x1ed8):
> undefined reference to `__imp_CombineRgn'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximasel.o):(.text+0x1f2a):
> undefined reference to `__imp_DeleteObject'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximasel.o):(.text+0x1f8c):
> undefined reference to `__imp_CombineRgn'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximasel.o):(.text+0x1f95):
> undefined reference to `__imp_DeleteObject'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawmf.o):(.text+0x1ff):
> undefined reference to `__imp_GetDeviceCaps'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawmf.o):(.text+0x24d):
> undefined reference to `__imp_SetWinMetaFileBits'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawmf.o):(.text+0x4d6):
> undefined reference to `__imp_SetEnhMetaFileBits'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawmf.o):(.text+0x4f7):
> undefined reference to `__imp_GetEnhMetaFileHeader'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawmf.o):(.text+0x5d7):
> undefined reference to `__imp_DeleteEnhMetaFile'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawmf.o):(.text+0x65d):
> undefined reference to `__imp_GetDeviceCaps'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawmf.o):(.text+0x6e6):
> undefined reference to `__imp_DeleteEnhMetaFile'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawmf.o):(.text+0x7a9):
> undefined reference to `__imp_DeleteEnhMetaFile'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawmf.o):(.text+0x857):
> undefined reference to `__imp_CreateCompatibleBitmap'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawmf.o):(.text+0x863):
> undefined reference to `__imp_CreateCompatibleDC'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawmf.o):(.text+0x8ab):
> undefined reference to `__imp_GetDeviceCaps'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawmf.o):(.text+0x8bc):
> undefined reference to `__imp_SelectObject'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawmf.o):(.text+0x8d6):
> undefined reference to `__imp_SetBkColor'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawmf.o):(.text+0x927):
> undefined reference to `__imp_ExtTextOutA'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawmf.o):(.text+0x93d):
> undefined reference to `__imp_GetEnhMetaFilePaletteEntries'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawmf.o):(.text+0x9b0):
> undefined reference to `__imp_CreatePalette'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawmf.o):(.text+0x9d4):
> undefined reference to `__imp_SelectPalette'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawmf.o):(.text+0x9dd):
> undefined reference to `__imp_RealizePalette'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawmf.o):(.text+0x9ee):
> undefined reference to `__imp_PlayEnhMetaFile'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawmf.o):(.text+0xa02):
> undefined reference to `__imp_DeleteEnhMetaFile'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawmf.o):(.text+0xa65):
> undefined reference to `__imp_GetDIBits'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawmf.o):(.text+0xa70):
> undefined reference to `__imp_DeleteObject'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawmf.o):(.text+0xa79):
> undefined reference to `__imp_DeleteDC'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawmf.o):(.text+0xaaa):
> undefined reference to `__imp_DeleteObject'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawmf.o):(.text+0xab3):
> undefined reference to `__imp_DeleteEnhMetaFile'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawmf.o):(.text+0xac5):
> undefined reference to `__imp_DeleteObject'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawmf.o):(.text+0xace):
> undefined reference to `__imp_DeleteDC'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawmf.o):(.text+0xaf5):
> undefined reference to `__imp_DeleteDC'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawmf.o):(.text+0xb35):
> undefined reference to `__imp_DeleteObject'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawmf.o):(.text+0xb3e):
> undefined reference to `__imp_DeleteDC'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawmf.o):(.text+0xb47):
> undefined reference to `__imp_DeleteEnhMetaFile'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawmf.o):(.text+0xb75):
> undefined reference to `__imp_DeleteObject'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawmf.o):(.text+0xb7e):
> undefined reference to `__imp_DeleteDC'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x54):
> undefined reference to `__imp_CreateDIBPatternBrushPt'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x6b):
> undefined reference to `__imp_SetBrushOrgEx'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x7b):
> undefined reference to `__imp_SelectObject'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0xa2):
> undefined reference to `__imp_PatBlt'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0xc6):
> undefined reference to `__imp_DeleteObject'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0xb6b):
> undefined reference to `__imp_CreateDIBSection'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0xba5):
> undefined reference to `__imp_CreateCompatibleDC'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0xbce):
> undefined reference to `__imp_CreateDIBSection'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0xbff):
> undefined reference to `__imp_DeleteDC'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0xc60):
> undefined reference to `__imp_GetObjectA'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0xca9):
> undefined reference to `__imp_SelectObject'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0xcb2):
> undefined reference to `__imp_RealizePalette'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0xcdf):
> undefined reference to `__imp_GetDIBits'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0xd92):
> undefined reference to `__imp_GetObjectA'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0xe49):
> undefined reference to `__imp_GetDIBits'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0xe70):
> undefined reference to `__imp_DeleteObject'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x1088):
> undefined reference to `__imp_SaveDC'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x10ab):
> undefined reference to `__imp_GetClipBox'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x10c8):
> undefined reference to `__imp_CreateRectRgnIndirect'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x10dd):
> undefined reference to `__imp_ExtSelectClipRgn'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x10e6):
> undefined reference to `__imp_DeleteObject'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x1243):
> undefined reference to `__imp_CreateCompatibleDC'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x1273):
> undefined reference to `__imp_CreateDIBSection'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x127d):
> undefined reference to `__imp_SelectObject'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x160b):
> undefined reference to `__imp_CreateCompatibleDC'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x163b):
> undefined reference to `__imp_CreateDIBSection'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x164a):
> undefined reference to `__imp_SelectObject'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x16a7):
> undefined reference to `__imp_BitBlt'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x1cf9):
> undefined reference to `__imp_SetDIBitsToDevice'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x1d1f):
> undefined reference to `__imp_DeleteObject'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x1d28):
> undefined reference to `__imp_DeleteDC'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x1d41):
> undefined reference to `__imp_CreateRectRgnIndirect'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x1d56):
> undefined reference to `__imp_ExtSelectClipRgn'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x1d5f):
> undefined reference to `__imp_DeleteObject'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x1d6f):
> undefined reference to `__imp_RestoreDC'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x1de5):
> undefined reference to `__imp_SetDIBitsToDevice'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x209e):
> undefined reference to `__imp_SetStretchBltMode'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x20f5):
> undefined reference to `__imp_SetDIBitsToDevice'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x21fb):
> undefined reference to `__imp_SaveDC'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x2245):
> undefined reference to `__imp_RectVisible'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x2258):
> undefined reference to `__imp_RestoreDC'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x228a):
> undefined reference to `__imp_SetStretchBltMode'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x22ed):
> undefined reference to `__imp_StretchDIBits'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x230e):
> undefined reference to `__imp_CreateCompatibleDC'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x2333):
> undefined reference to `__imp_CreateCompatibleBitmap'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x2340):
> undefined reference to `__imp_SelectObject'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x2361):
> undefined reference to `__imp_SetStretchBltMode'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x23b6):
> undefined reference to `__imp_StretchDIBits'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x23d8):
> undefined reference to `__imp_CreateBitmap'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x2421):
> undefined reference to `__imp_SetBkColor'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x2480):
> undefined reference to `__imp_BitBlt'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x24b6):
> undefined reference to `__imp_StretchBlt'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x25b5):
> undefined reference to `__imp_DeleteObject'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x25c1):
> undefined reference to `__imp_DeleteDC'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x2678):
> undefined reference to `__imp_SetStretchBltMode'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x26d6):
> undefined reference to `__imp_StretchDIBits'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x2732):
> undefined reference to `__imp_SetStretchBltMode'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x2796):
> undefined reference to `__imp_StretchDIBits'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x29c1):
> undefined reference to `__imp_CreateCompatibleDC'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x2a28):
> undefined reference to `__imp_CreateFontIndirectA'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x2a40):
> undefined reference to `__imp_SelectObject'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x2a6a):
> undefined reference to `__imp_SetTextColor'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x2a75):
> undefined reference to `__imp_SetBkColor'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x2a83):
> undefined reference to `__imp_SetBkMode'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x2b61):
> undefined reference to `__imp_CreateDIBSection'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x2c7f):
> undefined reference to `__imp_DeleteObject'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x2cad):
> undefined reference to `__imp_DeleteDC'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x2d1c):
> undefined reference to `__imp_CreateCompatibleDC'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x2d3c):
> undefined reference to `__imp_GetStockObject'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x2d46):
> undefined reference to `__imp_SelectObject'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x2e0e):
> undefined reference to `__imp_CreateCompatibleDC'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x2e2c):
> undefined reference to `__imp_CreateFontIndirectA'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x2eb5):
> undefined reference to `__imp_SelectObject'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x2ed9):
> undefined reference to `__imp_SetTextColor'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x2ee4):
> undefined reference to `__imp_SetBkColor'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x2ef2):
> undefined reference to `__imp_SetBkMode'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x307a):
> undefined reference to `__imp_CreateDIBSection'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x33fe):
> undefined reference to `__imp_DeleteObject'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x3425):
> undefined reference to `__imp_DeleteDC'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x36d9):
> undefined reference to `__imp_CreateCompatibleDC'
> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcximage.a(ximawnd.o):(.text+0x36f9):
> undefined reference to `__imp_GetStockObject'
> collect2: error: ld returned 1 exit status
> make[2]: *** [Makefile:532:vdagent.exe]
>
> Frediano
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20180525/1c4c217e/attachment-0001.html>
More information about the Spice-devel
mailing list