Re: [Gtk-osx-users] liboil fails as part of gst-plugins-base



On Jun 17, 2011, at 3:04 PM, Cliff Sharp wrote:

> liboil errors out when trying to install it stand alone or as part of gst-plugins-base
> 
> Making all in i386
> /bin/sh ../../libtool  --tag=CC   --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I../..   -I/Users/csharp/gtk/inst/include -Wall -D_BSD_SOURCE -D_GNU_SOURCE -I../.. -DOIL_ENABLE_UNSTABLE_API -arch x86_64 -mmacosx-version-min=10.6 -MT libi386_la-argb_paint_i386.lo -MD -MP -MF .deps/libi386_la-argb_paint_i386.Tpo -c -o libi386_la-argb_paint_i386.lo `test -f 'argb_paint_i386.c' || echo './'`argb_paint_i386.c
> libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I../.. -I/Users/csharp/gtk/inst/include -Wall -D_BSD_SOURCE -D_GNU_SOURCE -I../.. -DOIL_ENABLE_UNSTABLE_API -arch x86_64 -mmacosx-version-min=10.6 -MT libi386_la-argb_paint_i386.lo -MD -MP -MF .deps/libi386_la-argb_paint_i386.Tpo -c argb_paint_i386.c  -fno-common -DPIC -o .libs/libi386_la-argb_paint_i386.o
> /var/folders/l8/l8czqWr5FSGDJP2bpbSQBE+++TI/-Tmp-//ccnbeVqj.s:40:Incorrect register `%rax' used with `l' suffix
> /var/folders/l8/l8czqWr5FSGDJP2bpbSQBE+++TI/-Tmp-//ccnbeVqj.s:46:Incorrect register `%rax' used with `l' suffix
> make[3]: *** [libi386_la-argb_paint_i386.lo] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> *** Error during phase build of liboil: ########## Error running make   *** [1/1]
> 
> Please advise...
> 
> _

Mmm. Looks like the configure script picked the wrong assembler architecture. You can either rebuild everything as i386 (which is probably the right thing to do if you're going to distribute the final product, so that it will run on both 32 and 64-bit Macs) or you can dive in and figure out what configure is getting wrong and how to coerce it to getting it right.

Regards,
John Ralls





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]