Hi,
After a lot of hacking around I managed to build vstserver on Planet
CCRMA FC2 with wine20041201.
I had to:
-modify winemaker: This perl script uses the global variable
%directories before it is defined. Moving the declaration my
%directories; to the global variables section make the script work.
-Remove ./configure --with-wine=/usr/local from makevstserver.sh (which
was generated by winemaker)
-When I get:
winegcc -mwindows -mno-cygwin -o win.exe.so dummy.o main.o
windowsstuff.o winwin.o rsrc.res win.exe.dbg.o -lodbc32 -lole32
-loleaut32 -lwinspool -luuid
main.o(.text+0x151): In function `WinMain':
: undefined reference to `MAINHANDLER_control'
windowsstuff.o(.text+0x224): In function `WINDOWS_new':
: undefined reference to `VSTS_audioMaster'
collect2: ld returned 1 exit status
I have to modify the makefile inside servant/win to include:
line 18:
LIBRARY_PATH = -L ~/src/vstserver-0.3.1
LIBRARIES = -l vstservant -l pthread
line 113:
$(CC) $(win_exe_LDFLAGS) -o $@ $(win_exe_OBJS) $(win_exe_MODULE).dbg.o
$(win_exe_LIBRARY_PATH) $(LIBRARY_PATH) $(LIBRARIES)
$(win_exe_DLLS:%=-l%) $(win_exe_LIBRARIES:%=-l%)
And now:-----Compilation Ok.
but...
When I run vstserver, I get:
[andres@localhost vstserver-0.3.1]$ ./vstserver
VSTSERVER/main: Vstserver 0.3.1 started. Waiting for requests.
----> VSTSERVER/updatecache: Please wait. Updating cache.
If nothing happens for 40 seconds, or the server is trying to
start the same plugin over and over again;
press ctrl-c, and start vstserver once more.
VSTSERVER/main: Going to try to start vst plugin "Absynth 2.0.dll".
VSTSERVER/main: Going to try to start vst plugin "Absynth 2.0.dll".
VSTSERVER/main: Going to try to start vst plugin "Absynth 2.0.dll".
Killed
Any ideas? Am I breaking something in the process?
Thanks,
Andres