Opened 15 years ago

Closed 15 years ago

#23222 closed defect (fixed)

wine-devel @1.1.36 linker error building openal.o

Reported by: mwu@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.8.99
Keywords: Cc: jyrkiwahlstedt, nox@…
Port: wine-devel

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Mac Pro 2 x 2.66Ghz Dual-Core Intel Xeon
2Gb Ram
OS X 10.6.2
XCode 3.2.1 64 bit

ld complains about OpenAL.framework not being the required architecture -- not sure which architecture it is and what's required because it doesn't report that. I originally had the +universal variant set in variants.conf, but turned that off. When that failed again, I tried setting the build arch to i386 in macports.conf, but that also didn't work.

Perhaps is Snow Leopard's OpenAL 64 bit only while wine needs 32 bit?

The beginning of the errors of a -d port install attempt of wine:

../../tools/winegcc/winegcc -m32 -B../../tools/winebuild --sysroot=../.. -shared ./openal32.spec openal.o        -o openal32.dll.so  -lkernel32 -lntdll  ../../libs/port/libwine_port.a -framework OpenAL -L/opt/local/lib -framework CoreServices -lz 
ld: warning: in /Library/Frameworks//OpenAL.framework/OpenAL, file is not of required architecture
Undefined symbols:
  "_alIsExtensionPresent", referenced from:
      _wine_alIsExtensionPresent in openal.o
...

Attachments (1)

wine-devel.log (900.6 KB) - added by mwu@… 15 years ago.
log of wine-devel compilation

Download all attachments as: .zip

Change History (6)

comment:1 Changed 15 years ago by jmroot (Joshua Root)

Cc: jwa@… added
Keywords: wine openal 1.1.36 linker architecture undefined symbols removed
Owner: changed from macports-tickets@… to ryandesign@…

comment:2 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

wine-devel builds correctly for me on Leopard and Snow Leopard. Please clean wine-devel and try again with the debug switch and attach the complete output so I can compare it with mine.

Changed 15 years ago by mwu@…

Attachment: wine-devel.log added

log of wine-devel compilation

comment:3 Changed 15 years ago by mwu@…

When this compiled successfully on my MacBook Pro, I went hunting for differences. What I came up with was that I had a /Library/Frameworks/OpenAL.framework on my Mac Pro, but not on my MacBook Pro. When I resolved that difference (moved the framework out of the way), wine built successfully.

Thanks for the help

comment:4 Changed 15 years ago by nox@…

Cc: nox@… added

Cc Me!

comment:5 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Ok, not sure why you had an OpenAL.framework in /Library/Frameworks but I don't think it came from Apple; Apple's is in /System/Library/Frameworks and yours evidently didn't have all the architectures Apple's did. I added a check for this in r62679 so wine will ask the user to remove this file before trying to build.

Note: See TracTickets for help on using tickets.