Undefined symbols in liboil ?

David Corking lists at dcorking.com
Tue Jul 24 03:04:26 PDT 2007


ld reports undefined symbols in liboil (starting with
composite_in_argb_const_src_sse_2pix)  and fails to build (log of
'sudo port install liboil' below.)

liboil has no dependencies, so I wonder if there is something wrong
with the linker or the makefile.

I tried
sudo port selfupdate
and
sudo port clean liboil
but build still fails.

David
-- 
--->  Building liboil with target all
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_liboil/work/liboil-0.3.12"
&& make all " returned error 2
Command output: rm -fr .libs/liboiltmp1.lax/liboilfunctions.a
mkdir .libs/liboiltmp1.lax/liboilfunctions.a
Extracting /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_liboil/work/liboil-0.3.12/liboil/./.libs/liboilfunctions.a
(cd .libs/liboiltmp1.lax/liboilfunctions.a && ar x
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_liboil/work/liboil-0.3.12/liboil/./.libs/liboilfunctions.a)
sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," <
.libs/liboiltmp1.exp > .libs/liboiltmp1-symbols.expsym
gcc -dynamiclib  -o .libs/liboiltmp1.0.0.0.dylib  .libs/liboiltmp.o
.libs/liboiltmp1.lax/liboilfunctions.a/lib_c_la-ag_clamp.o
.libs/liboiltmp1.lax/liboilfunctions.a/lib_c_la-composite.o
.libs/liboiltmp1.lax/liboilfunctions.a/lib_c_la-copy.o
.libs/liboiltmp1.lax/liboilfunctions.a/lib_c_la-swab.o
.libs/liboiltmp1.lax/liboilfunctions.a/libcolorspace_la-composite.o
.libs/liboiltmp1.lax/liboilfunctions.a/libconv_la-conv_bitstuff.o
.libs/liboiltmp1.lax/liboilfunctions.a/libconv_la-conv_c.o
.libs/liboiltmp1.lax/liboilfunctions.a/libconv_la-conv_misc.o
.libs/liboiltmp1.lax/liboilfunctions.a/libcopy_la-copy.o
.libs/liboiltmp1.lax/liboilfunctions.a/libcopy_la-copy8x8.o
.libs/liboiltmp1.lax/liboilfunctions.a/libcopy_la-splat_ref.o
.libs/liboiltmp1.lax/liboilfunctions.a/libcopy_la-trans8x8_c.o
.libs/liboiltmp1.lax/liboilfunctions.a/libdct_la-dct12_f32.o
.libs/liboiltmp1.lax/liboilfunctions.a/libdct_la-dct36_f32.o
.libs/liboiltmp1.lax/liboilfunctions.a/libdct_la-fdct8_f64.o
.libs/liboiltmp1.lax/liboilfunctions.a/libdct_la-fdct8x8_f64.o
.libs/liboiltmp1.lax/liboilfunctions.a/libdct_la-fdct8x8s_s16.o
.libs/liboiltmp1.lax/liboilfunctions.a/libdct_la-fdct8x8theora.o
.libs/liboiltmp1.lax/liboilfunctions.a/libdct_la-idct8_f64.o
.libs/liboiltmp1.lax/liboilfunctions.a/libdct_la-idct8x8_c.o
.libs/liboiltmp1.lax/liboilfunctions.a/libdct_la-idct8x8theora_ref.o
.libs/liboiltmp1.lax/liboilfunctions.a/libdct_la-imdct32_f32.o
.libs/liboiltmp1.lax/liboilfunctions.a/libdeprecated_la-abs.o
.libs/liboiltmp1.lax/liboilfunctions.a/libdeprecated_la-average2_u8.o
.libs/liboiltmp1.lax/liboilfunctions.a/libdeprecated_la-clip_ref.o
.libs/liboiltmp1.lax/liboilfunctions.a/libdeprecated_la-conv.o
.libs/liboiltmp1.lax/liboilfunctions.a/libdeprecated_la-permute.o
.libs/liboiltmp1.lax/liboilfunctions.a/libdeprecated_la-scalaradd.o
.libs/liboiltmp1.lax/liboilfunctions.a/libdeprecated_la-scalarmult.o
.libs/liboiltmp1.lax/liboilfunctions.a/libdeprecated_la-tablelookup.o
.libs/liboiltmp1.lax/liboilfunctions.a/libdeprecated_la-vectoradd_f64.o
.libs/liboiltmp1.lax/liboilfunctions.a/libdeprecated_la-vectoradd_s.o
.libs/liboiltmp1.lax/liboilfunctions.a/libfb_la-fbmmx.o
.libs/liboiltmp1.lax/liboilfunctions.a/libi386_amd64_la-clamp.o
.libs/liboiltmp1.lax/liboilfunctions.a/libi386_amd64_la-idct8x8_i386.o
.libs/liboiltmp1.lax/liboilfunctions.a/libi386_amd64_la-mt19937.o
.libs/liboiltmp1.lax/liboilfunctions.a/libi386_amd64_la-resample.o
.libs/liboiltmp1.lax/liboilfunctions.a/libi386_amd64_la-sum.o
.libs/liboiltmp1.lax/liboilfunctions.a/libi386_amd64_la-swab.o
.libs/liboiltmp1.lax/liboilfunctions.a/libi386_la-abs_i386.o
.libs/liboiltmp1.lax/liboilfunctions.a/libi386_la-argb_paint_i386.o
.libs/liboiltmp1.lax/liboilfunctions.a/libi386_la-ayuv2argb_i386.o
.libs/liboiltmp1.lax/liboilfunctions.a/libi386_la-composite_i386.o
.libs/liboiltmp1.lax/liboilfunctions.a/libi386_la-conv_3dnow.o
.libs/liboiltmp1.lax/liboilfunctions.a/libi386_la-conv_sse.o
.libs/liboiltmp1.lax/liboilfunctions.a/libi386_la-convert_i386.o
.libs/liboiltmp1.lax/liboilfunctions.a/libi386_la-copy8x8_i386.o
.libs/liboiltmp1.lax/liboilfunctions.a/libi386_la-copy_i386.o
.libs/liboiltmp1.lax/liboilfunctions.a/libi386_la-diff8x8_i386.o
.libs/liboiltmp1.lax/liboilfunctions.a/libi386_la-error8x8_i386.o
.libs/liboiltmp1.lax/liboilfunctions.a/libi386_la-math.o
.libs/liboiltmp1.lax/liboilfunctions.a/libi386_la-md5_i386.o
.libs/liboiltmp1.lax/liboilfunctions.a/libi386_la-mult8x8_i386.o
.libs/liboiltmp1.lax/liboilfunctions.a/libi386_la-recon8x8_i386.o
.libs/liboiltmp1.lax/liboilfunctions.a/libi386_la-rowcolsad8x8_i386.o
.libs/liboiltmp1.lax/liboilfunctions.a/libi386_la-sad8x8_i386.o
.libs/liboiltmp1.lax/liboilfunctions.a/libi386_la-sad8x8avg_i386.o
.libs/liboiltmp1.lax/liboilfunctions.a/libi386_la-splat_i386.o
.libs/liboiltmp1.lax/liboilfunctions.a/libi386_la-trans8x8_i386.o
.libs/liboiltmp1.lax/liboilfunctions.a/libi386_la-wavelet.o
.libs/liboiltmp1.lax/liboilfunctions.a/libjpeg_la-convert8x8_c.o
.libs/liboiltmp1.lax/liboilfunctions.a/libjpeg_la-jpeg_rgb_decoder.o
.libs/liboiltmp1.lax/liboilfunctions.a/libjpeg_la-quantize8x8_c.o
.libs/liboiltmp1.lax/liboilfunctions.a/libjpeg_la-yuv2rgb_c.o
.libs/liboiltmp1.lax/liboilfunctions.a/libjpeg_la-zigzag8x8_c.o
.libs/liboiltmp1.lax/liboilfunctions.a/libmath_la-ag_math.o
.libs/liboiltmp1.lax/liboilfunctions.a/libmath_la-math.o
.libs/liboiltmp1.lax/liboilfunctions.a/libmd5_la-md5.o
.libs/liboiltmp1.lax/liboilfunctions.a/libmmx_la-composite_mmx.o
.libs/liboiltmp1.lax/liboilfunctions.a/libmmx_la-copy_mmx.o
.libs/liboiltmp1.lax/liboilfunctions.a/libmmx_la-recon8x8_mmx.o
.libs/liboiltmp1.lax/liboilfunctions.a/libmmx_la-splat_mmx.o
.libs/liboiltmp1.lax/liboilfunctions.a/liboilfunctions_la-null.o
.libs/liboiltmp1.lax/liboilfunctions.a/libref_la-argb_paint.o
.libs/liboiltmp1.lax/liboilfunctions.a/libref_la-ayuv2argb.o
.libs/liboiltmp1.lax/liboilfunctions.a/libref_la-clamp.o
.libs/liboiltmp1.lax/liboilfunctions.a/libref_la-composite.o
.libs/liboiltmp1.lax/liboilfunctions.a/libref_la-convert.o
.libs/liboiltmp1.lax/liboilfunctions.a/libref_la-copy.o
.libs/liboiltmp1.lax/liboilfunctions.a/libref_la-copy8x8.o
.libs/liboiltmp1.lax/liboilfunctions.a/libref_la-diff8x8.o
.libs/liboiltmp1.lax/liboilfunctions.a/libref_la-diffsquaresum_f64.o
.libs/liboiltmp1.lax/liboilfunctions.a/libref_la-error8x8.o
.libs/liboiltmp1.lax/liboilfunctions.a/libref_la-math.o
.libs/liboiltmp1.lax/liboilfunctions.a/libref_la-mix_u8.o
.libs/liboiltmp1.lax/liboilfunctions.a/libref_la-mt19937ar.o
.libs/liboiltmp1.lax/liboilfunctions.a/libref_la-mult8x8_s16.o
.libs/liboiltmp1.lax/liboilfunctions.a/libref_la-multsum.o
.libs/liboiltmp1.lax/liboilfunctions.a/libref_la-recon8x8.o
.libs/liboiltmp1.lax/liboilfunctions.a/libref_la-resample.o
.libs/liboiltmp1.lax/liboilfunctions.a/libref_la-rgb.o
.libs/liboiltmp1.lax/liboilfunctions.a/libref_la-rowcolsad8x8.o
.libs/liboiltmp1.lax/liboilfunctions.a/libref_la-sad8x8.o
.libs/liboiltmp1.lax/liboilfunctions.a/libref_la-sad8x8_broken.o
.libs/liboiltmp1.lax/liboilfunctions.a/libref_la-sad8x8avg.o
.libs/liboiltmp1.lax/liboilfunctions.a/libref_la-sincos_f64.o
.libs/liboiltmp1.lax/liboilfunctions.a/libref_la-splat.o
.libs/liboiltmp1.lax/liboilfunctions.a/libref_la-squaresum_f64.o
.libs/liboiltmp1.lax/liboilfunctions.a/libref_la-sum.o
.libs/liboiltmp1.lax/liboilfunctions.a/libref_la-sum_f64.o
.libs/liboiltmp1.lax/liboilfunctions.a/libref_la-swab.o
.libs/liboiltmp1.lax/liboilfunctions.a/libref_la-trans8x8.o
.libs/liboiltmp1.lax/liboilfunctions.a/libref_la-wavelet.o
.libs/liboiltmp1.lax/liboilfunctions.a/libref_la-yuv.o
.libs/liboiltmp1.lax/liboilfunctions.a/libsimdpack_la-abs_misc.o
.libs/liboiltmp1.lax/liboilfunctions.a/libsimdpack_la-average2_u8.o
.libs/liboiltmp1.lax/liboilfunctions.a/libsimdpack_la-clip_fast.o
.libs/liboiltmp1.lax/liboilfunctions.a/libsimdpack_la-diffsquaresum_f64.o
.libs/liboiltmp1.lax/liboilfunctions.a/libsimdpack_la-mix_u8.o
.libs/liboiltmp1.lax/liboilfunctions.a/libsimdpack_la-multsum.o
.libs/liboiltmp1.lax/liboilfunctions.a/libsimdpack_la-scalaradd.o
.libs/liboiltmp1.lax/liboilfunctions.a/libsimdpack_la-scalarmult.o
.libs/liboiltmp1.lax/liboilfunctions.a/libsimdpack_la-sincos_f64.o
.libs/liboiltmp1.lax/liboilfunctions.a/libsimdpack_la-squaresum_f64.o
.libs/liboiltmp1.lax/liboilfunctions.a/libsimdpack_la-sum_f64.o
.libs/liboiltmp1.lax/liboilfunctions.a/libsse_la-clamp_sse.o
.libs/liboiltmp1.lax/liboilfunctions.a/libsse_la-composite_sse.o
.libs/liboiltmp1.lax/liboilfunctions.a/libsse_la-composite_sse_2pix.o
.libs/liboiltmp1.lax/liboilfunctions.a/libsse_la-composite_sse_4pix.o
.libs/liboiltmp1.lax/liboilfunctions.a/libsse_la-copy_sse.o
.libs/liboiltmp1.lax/liboilfunctions.a/libsse_la-math_sse.o
.libs/liboiltmp1.lax/liboilfunctions.a/libsse_la-math_sse_unroll2.o
.libs/liboiltmp1.lax/liboilfunctions.a/libsse_la-multsum_sse.o
.libs/liboiltmp1.lax/liboilfunctions.a/libsse_la-sad8x8_sse.o
.libs/liboiltmp1.lax/liboilfunctions.a/libsse_la-splat_sse.o
.libs/liboiltmp1.lax/liboilfunctions.a/libutf8_la-utf8.o
.libs/liboiltmp1.lax/liboilfunctions.a/libutf8_la-utf8_fast.o
-L/opt/local/lib -lm  -install_name  /opt/local/lib/liboiltmp1.0.dylib
-Wl,-compatibility_version -Wl,1 -Wl,-current_version -Wl,1.0
ld: Undefined symbols:
composite_in_argb_const_src_sse_2pix
composite_in_argb_sse_2pix
composite_in_over_argb_const_mask_sse_2pix
composite_in_over_argb_const_src_sse_2pix
composite_in_over_argb_sse_2pix
composite_over_argb_const_src_sse_2pix
composite_over_argb_sse_2pix
composite_over_u8_sse_2pix
composite_in_argb_const_mask_sse
composite_in_argb_const_src_sse
composite_in_argb_sse
composite_in_over_argb_const_mask_sse
composite_in_over_argb_const_src_sse
composite_in_over_argb_sse
composite_over_argb_const_src_sse
composite_over_argb_sse
composite_over_u8_sse
sad8x8_u8_sse
/usr/bin/libtool: internal link edit command failed
make[3]: *** [liboiltmp1.la] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.



More information about the macports-users mailing list