[Wine] Problems compiling git under OS X

fuori wineforum-user at winehq.org
Tue Nov 18 09:26:55 CST 2008


Hi there!
I am currently trying to compile hacks.git under OS X and I can't seem to get past the following error during 'make':


Code:

[...]
gcc -o wineserver async.o atom.o change.o class.o clipboard.o completion.o console.o context_alpha.o context_i386.o context_powerpc.o context_sparc.o context_x86_64.o cursoricon.o debugger.o device.o directory.o event.o fd.o file.o handle.o hook.o mach.o mailslot.o main.o mapping.o mutex.o named_pipe.o object.o process.o procfs.o ptrace.o queue.o region.o registry.o request.o semaphore.o serial.o signal.o snapshot.o sock.o symlink.o thread.o timer.o token.o trace.o unicode.o user.o window.o winstation.o     -L../libs/wine -lwine ../libs/port/libwine_port.a   && install_name_tool -change @executable_path/`../tools/relpath /Users/fridbert/winegit/bin /Users/fridbert/winegit/lib`/libwine.1.dylib @executable_path/../libs/wine/libwine.1.dylib wineserver || rm -f wineserver
Undefined symbols:
  "_sched_setscheduler", referenced from:
      _set_thread_priority in thread.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
gcc -o wineserver-installed async.o atom.o change.o class.o clipboard.o completion.o console.o context_alpha.o context_i386.o context_powerpc.o context_sparc.o context_x86_64.o cursoricon.o debugger.o device.o directory.o event.o fd.o file.o handle.o hook.o mach.o mailslot.o main.o mapping.o mutex.o named_pipe.o object.o process.o procfs.o ptrace.o queue.o region.o registry.o request.o semaphore.o serial.o signal.o snapshot.o sock.o symlink.o thread.o timer.o token.o trace.o unicode.o user.o window.o winstation.o     -L../libs/wine -lwine ../libs/port/libwine_port.a   
Undefined symbols:
  "_sched_setscheduler", referenced from:
      _set_thread_priority in thread.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [wineserver-installed] Error 1
make: *** [server] Error 2




At the end of ./configure --prefix="somepath" I'm told that some libs (like jpeg, png and capi) couldn't be found (even though they have actually been installed using MacPorts - any hints on this issue are welcome as well :)) but shouldn't wine compile nonetheless?
'make depend', on the other hand, finishes flawlessly.

I'm using the latest Xcode, here's some 'make -v' and 'env':


Code:

noname:hacks fridbert$ make -v
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for powerpc-apple-darwin9.0
noname:hacks fridbert$ env
MANPATH=/usr/share/man:/usr/local/share/man:/usr/X11/man
TERM_PROGRAM=Apple_Terminal
TERM=xterm-color
SHELL=/bin/bash
TMPDIR=/var/folders/53/535qdDm6EPeq2lw7M-Nu-E+++TI/-Tmp-/
Apple_PubSub_Socket_Render=/tmp/launch-LNF6Ah/Render
TERM_PROGRAM_VERSION=240
OLDPWD=/Users/fridbert
USER=fridbert
COMMAND_MODE=unix2003
SSH_AUTH_SOCK=/tmp/launch-2cmeuX/Listeners
__CF_USER_TEXT_ENCODING=0x1F5:0:0
PATH=/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
PWD=/Users/fridbert/hacks
LANG=en_GB.UTF-8
SHLVL=1
HOME=/Users/fridbert
DYLD_LIBRARY_PATH=/opt/local/lib:/opt/local/libexec:
LOGNAME=fridbert
DISPLAY=/tmp/launch-yww72R/:0
SECURITYSESSIONID=b07c70
_=/usr/bin/env




If any more information is required I'm happy to provide it.

Thanks in advance!  [Wink]







More information about the wine-users mailing list