Discussion in 'Mac Apps and Mac App Store' started by Nermal, Jun 26, 2004.

  1. Nermal Moderator


    Staff Member

    Dec 7, 2002
    New Zealand
    Does anyone have any experience with Mono? I can run console apps with it, but when I try to run a GUI app, I get message saying that is missing. I've tried compiling Winelib with no success, I can ./configure it but I get the following output from make:

    gcc -c  -I. -Iinclude -I/usr/local/include/wine/windows/.. -I/usr/local/include/wine/windows -g -O2 -ffixed-r13 -no-cpp-precomp -Dsocklen_t=u_int32_t -fPIC -D__powerpc__  -DDLLPATH=\"/usr/local/lib/wine\" -DLIBPATH=\"/usr/local/lib\"  -D_REENTRANT -o pthread.o pthread.c
    pthread.c: In function `wine_pthread_get_current_teb':
    pthread.c:135: warning: return makes pointer from integer without a cast
    pthread.c: In function `wine_pthread_exit_thread':
    pthread.c:157: warning: assignment makes pointer from integer without a cast
    pthread.c:167: warning: `noreturn' function does return
    pthread.c: In function `wine_pthread_abort_thread':
    pthread.c:177: warning: `noreturn' function does return
    gcc -c  -I. -Iinclude -I/usr/local/include/wine/windows/.. -I/usr/local/include/wine/windows -g -O2 -ffixed-r13 -no-cpp-precomp -Dsocklen_t=u_int32_t -fPIC -D__powerpc__  -DDLLPATH=\"/usr/local/lib/wine\" -DLIBPATH=\"/usr/local/lib\"  -D_REENTRANT -o interlocked.o interlocked.c
    gcc -c  -I. -Iinclude -I/usr/local/include/wine/windows/.. -I/usr/local/include/wine/windows -g -O2 -ffixed-r13 -no-cpp-precomp -Dsocklen_t=u_int32_t -fPIC -D__powerpc__  -DDLLPATH=\"/usr/local/lib/wine\" -DLIBPATH=\"/usr/local/lib\"  -D_REENTRANT -o gettid.o gettid.c
    gcc -c  -I. -Iinclude -I/usr/local/include/wine/windows/.. -I/usr/local/include/wine/windows -g -O2 -ffixed-r13 -no-cpp-precomp -Dsocklen_t=u_int32_t -fPIC -D__powerpc__  -DDLLPATH=\"/usr/local/lib/wine\" -DLIBPATH=\"/usr/local/lib\"  -D_REENTRANT -o winelib.o winelib.c
    winelib.c: In function `SharedWineInit':
    winelib.c:156: error: `SIGSTKFLT' undeclared (first use in this function)
    winelib.c:156: error: (Each undeclared identifier is reported only once
    winelib.c:156: error: for each function it appears in.)
    make[1]: *** [winelib.o] Error 1
    make: *** [winelib] Error 2
    Does anyone know what to do? Have any of you compiled Winelib successfully? Are you able to send me the binary, if necessary?

    Thanks :)
  2. zimv20 macrumors 601


    Jul 18, 2002
    i don't have the answer, but here's what i'd do to diagnose the problem: i'd see if i could find a definition for 'SIGSTKFLT' in one of the wine include files. if i could find it, i'd ensure that the file that defines it is in one of the directories specified in my -I directives.

    if i couldn't find it, i'd conclude either:
    1) i'm no darn good at grep, or
    2) i don't have all the necessary files to build this thing

    if i could find it, but the file isn't in one of my -I directories, i'd either:
    1) move the file into one of those directories, or
    2) change my makefile to include that directory
  3. Nermal thread starter Moderator


    Staff Member

    Dec 7, 2002
    New Zealand
    Unfortunately my experience with compilation is pretty much limited to ./configure && make && sudo make install :(

    My guess is that I'm getting the error because I installed Darwine instead of "official" Wine, and they've put the declaration in a different place. I suppose I could try to get WineHQ's version installed, then try Winelib again.

Share This Page