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 -o asio.o asio.c
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 -o main.o main.c
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 -o regsvr.o regsvr.c
winegcc -shared wineasio.dll.spec -mnocygwin -L/usr/lib/wine -L/usr/lib -o wineasio.dll.so asio.o main.o regsvr.o -ljack -lodbc32 -lole32 -lwinmm -luuid
main.o: In function `DllGetClassObject':
/home/templarrr/Garbage/wineasio/main.c:134: undefined reference to `IID_IClassFactory'
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: main.o: relocation R_X86_64_PC32 against undefined hidden symbol `IID_IClassFactory' can not be used when making a shared object
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
winegcc: x86_64-pc-linux-gnu-gcc failed
make: *** [Makefile64:113: wineasio.dll.so] Error 2
Что с этим можно сделать?