[Bug 26357] New: Wine does not build on Mac OS X with Clang 2.8
wine-bugs at winehq.org
wine-bugs at winehq.org
Tue Mar 8 15:36:17 CST 2011
http://bugs.winehq.org/show_bug.cgi?id=26357
Summary: Wine does not build on Mac OS X with Clang 2.8
Product: Wine
Version: 1.3.14
Platform: x86-64
OS/Version: Mac OS X 10.6
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs at winehq.org
ReportedBy: marvinx03 at gmail.com
I have Clang 2.8 on my macbook installed via MacPorts:
$ which clang
/opt/local/bin/clang
$ clang -v
clang version 2.8 (branches/release_28)
Target: x86_64-apple-darwin10
Thread model: posix
When wine is configured with Clang:
$ export CC=/opt/local/bin/clang
$ export CXX=/opt/local/bin/clang++
$ export CFLAGS="-g -O0"
$ ./configure --x-include=/usr/X11/include --x-libraries=/usr/X11/lib
Compilation fails with the following message:
/opt/local/bin/clang -m32 -c -I. -I. -I../../include -I../../include
-D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing
-Wdeclaration-after-statement -Wstrict-prototypes -Wtype-limits -Wwrite-strings
-Wpointer-arith -g -O0 -o hal.o hal.c
../../tools/wrc/wrc --nostdinc --po-dir=../../po -m32 -I. -I. -I../../include
-I../../include -D__WINESRC__ -o version.res version.rc
../../tools/winegcc/winegcc -m32 -B../../tools/winebuild --sysroot=../..
-shared ./hal.spec hal.o version.res -o hal.dll.so
../../libs/port/libwine_port.a
./hal.spec:1: function 'ExAcquireFastMutex' not defined
./hal.spec:2: function 'ExReleaseFastMutex' not defined
./hal.spec:3: function 'ExTryToAcquireFastMutex' not defined
./hal.spec:16: function 'KfAcquireSpinLock' not defined
./hal.spec:17: function 'KfLowerIrql' not defined
./hal.spec:18: function 'KfRaiseIrql' not defined
./hal.spec:19: function 'KfReleaseSpinLock' not defined
winegcc: ../../tools/winebuild/winebuild failed
make[1]: *** [hal.dll.so] Error 2
make: *** [dlls/hal] Error 2
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list