Skip to main content
Topic: lame compile error on macos (Read 223 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

lame compile error on macos

"./configure" seems ok, but when I try to make file, got errors like this

Undefined symbols for architecture x86_64:
  "_compute_scalefacs_long", referenced from:
      _long_block_scalefacs in vbrquantize.o
  "_compute_scalefacs_long_lsf", referenced from:
      _long_block_scalefacs in vbrquantize.o
  "_compute_scalefacs_short", referenced from:
      _short_block_scalefacs in vbrquantize.o
  "_find_scalefac_ISO", referenced from:
      _VBR_noise_shaping in vbrquantize.o
  "_find_scalefac_ave_ISO", referenced from:
      _VBR_noise_shaping in vbrquantize.o
  "_find_scalefac_ave_x34", referenced from:
      _VBR_noise_shaping in vbrquantize.o
  "_find_scalefac_mq_ISO", referenced from:
      _VBR_noise_shaping in vbrquantize.o
  "_find_scalefac_mq_x34", referenced from:
      _VBR_noise_shaping in vbrquantize.o
  "_find_scalefac_x34", referenced from:
      _VBR_noise_shaping in vbrquantize.o
  "_quantizeAndCountBits", referenced from:
      _VBR_noise_shaping in vbrquantize.o
  "_tryGlobalStepsize", referenced from:
      _VBR_noise_shaping in vbrquantize.o
  "_tryScalefacColor", referenced from:
      _VBR_noise_shaping in vbrquantize.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [libmp3lame.la] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


can somebody help me with this? thanks

 

Re: lame compile error on macos

Reply #1
the source version is 3.96.1, I compile this because I want the "noath" option.

Re: lame compile error on macos

Reply #2
and I change the file vbrquantize.lo as following, it works but got further similar errors again:

# vbrquantize.lo - a libtool object file
# Generated by ltmain.sh - GNU libtool 1.5 (1.1220 2003/04/05 19:32:58)
#
# Please DO NOT delete this file!
# It is necessary for linking the library.

# Name of the PIC object.
pic_object=none

# Name of the non-PIC object.
#non_pic_object='vbrquantize.o'

Re: lame compile error on macos

Reply #3
I learned version 3.98a6 works with the option "-noath", but where can I get the source of version 3.98a6?
3.100 compile fine on my macos Mojave.

 
SimplePortal 1.0.0 RC1 © 2008-2019