When compiling wineasio on gentoo amd64, I get the following error:
gcc-c-I.-I/usr/include-I/usr/include-I/usr/include/wine-I/usr/include/wine/windows-g-O2-D__WINESRC__-DNATIVE_INT64-D_REENTRANT-fPIC-Wall-pipe-fno-strict-aliasing-Wdeclaration-after-statement-Wwrite-strings-Wpointer-arith-oregsvr.oregsvr.cwinegcc-sharedwineasio.dll.spec-mnocygwin-L/usr/lib/wine-L/usr/lib-owineasio.dll.soasio.omain.oregsvr.o-ljack-lodbc32-lole32-lwinmm-luuidmain.o:Infunction`DllGetClassObject':/var/tmp/portage/app-emulation/wineasio-9999/work/wineasio-9999/main.c:134:undefinedreferenceto`IID_IClassFactory'/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld:main.o:relocationR_X86_64_PC32againstundefinedhiddensymbol`IID_IClassFactory' can not be used when making a shared object/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld:finallinkfailed:Badvaluecollect2:error:ldreturned1exitstatuswinegcc:x86_64-pc-linux-gnu-gccfailedmake:***[Makefile64:113:wineasio.dll.so]Error2
I get the 32 bits version to compile by adding "-L/usr/lib32/${WINE_FLAVOR_INSTALLED}/wine -L/usr/lib32/${WINE_FLAVOR_INSTALLED}" after -mnocygwin in the linker flags in Makefile.
Currently with the 64 bits distribution,s you cannot rely on /usr/lib, and with the different wine flavors, you cannot rely on /usr/lib[32|64]/wine either.
Last edit: Dominique Michel 2018-08-17
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When compiling wineasio on gentoo amd64, I get the following error:
I find a wineasio fork on github which compile fine: https://github.com/Jajcus/wineasio
That fork compile only with the 64 bits version.
I get the 32 bits version to compile by adding "-L/usr/lib32/${WINE_FLAVOR_INSTALLED}/wine -L/usr/lib32/${WINE_FLAVOR_INSTALLED}" after -mnocygwin in the linker flags in Makefile.
Currently with the 64 bits distribution,s you cannot rely on /usr/lib, and with the different wine flavors, you cannot rely on /usr/lib[32|64]/wine either.
Last edit: Dominique Michel 2018-08-17