VMWare and ALSA

From Nearline Storage
Jump to: navigation, search

Use the vmwaredsp wrapper

In order to get it to compile on Fedora 7 I had to add the -I/usr/include/kde option in the src/Makefile so that it could find the artsc/artsc.h file:

--- src/Makefile.orig   2007-08-30 09:00:27.000000000 -0400
+++ src/Makefile        2007-08-30 09:00:46.000000000 -0400
@@ -32,7 +32,7 @@
        $(CC) -shared -Wl,-version-script=$(@:lib%.so=%).map -o $@ $^ ${LIBS_$(@:lib%.so=%)} -lpthread -ldl -lc

 %.o: %.c
-       $(CC) -c -g -W -Wall -O2 -fPIC -o $@ $^
+       $(CC) -I/usr/include/kde -c -g -W -Wall -O2 -fPIC -o $@ $^

 clean:
        rm -f $(LIB) $(PLUGINS) *.o