[MacPorts] #23222: wine-devel @1.1.36 linker error building openal.o
#23222: wine-devel @1.1.36 linker error building openal.o ----------------------------------------------------------------------+----- Reporter: mwu@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.99 Keywords: wine openal 1.1.36 linker architecture undefined symbols | Port: wine-devel ----------------------------------------------------------------------+----- 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 ... }}} -- Ticket URL: <http://trac.macports.org/ticket/23222> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23222: wine-devel @1.1.36 linker error building openal.o -----------------------------------+---------------------------------------- Reporter: mwu@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.99 Keywords: | Port: wine-devel -----------------------------------+---------------------------------------- Changes (by jmr@…): * cc: jwa@… (added) * keywords: wine openal 1.1.36 linker architecture undefined symbols => * owner: macports-tickets@… => ryandesign@… -- Ticket URL: <http://trac.macports.org/ticket/23222#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23222: wine-devel @1.1.36 linker error building openal.o -----------------------------------+---------------------------------------- Reporter: mwu@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.99 Keywords: | Port: wine-devel -----------------------------------+---------------------------------------- Old description:
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 ... }}}
New description: Mac Pro 2 x 2.66Ghz Dual-Core Intel Xeon [[br]] 2Gb Ram [[br]] OS X 10.6.2 [[br]] 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 ... }}} -- Comment(by ryandesign@…): 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. -- Ticket URL: <http://trac.macports.org/ticket/23222#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23222: wine-devel @1.1.36 linker error building openal.o -----------------------------------+---------------------------------------- Reporter: mwu@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.99 Keywords: | Port: wine-devel -----------------------------------+---------------------------------------- Comment(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 -- Ticket URL: <http://trac.macports.org/ticket/23222#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23222: wine-devel @1.1.36 linker error building openal.o ------------------------------------+--------------------------------------- Reporter: mwu@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.99 Resolution: fixed | Keywords: Port: wine-devel | ------------------------------------+--------------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: 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. -- Ticket URL: <http://trac.macports.org/ticket/23222#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts