On Thursday 03 June 2004 19:33, Mark Knecht wrote:
my changed libwinelib.c looks like this:
int
SharedWineInit (void (*sighandler)(int,siginfo_t*,void*))
{
unsigned char Error[2024]="";
char *WineArguments[] = {"sharedapp", LIBPATH "/libfst.so", NULL};
void* stackbase;
size_t stacksize;
void *ntdll;
void *ntso;
char ntdllpath[PATH_MAX+1];
char* dlerr;
char* env[] = { NULL };
sharedwine_signal_handler = sighandler;
if (setjmp (jump) == 0) {
wine_init (2, WineArguments, env, Error, sizeof (Error));
...
hopefully this may work for you (at least it should compile).
I did not get fst working for me. It always crashes in wine_init() for
all tools (like fstconfig).
The core shows an destroyed stack and does not give useful information
(crash in lib function opendir()).
I tried different winelib versions, compiler(gcc3.3/3.4), linux versions
(2.4/2.6)
with no luck so far :-(
/werner
LINUX® is a registered trademark of Linus Torvalds in the USA and other countries.
Linuxaudio.org logo copyright Thorsten Wilms © 2006.
Hosting provided by the Virginia Tech Department of Music and DISIS.