[MacPorts] #23222: wine-devel @1.1.36 linker error building openal.o

MacPorts noreply at macports.org
Sun Jan 10 18:28:20 PST 2010


#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


More information about the macports-tickets mailing list