0

I am trying to compile the auto-talent plug-in (http://tombaran.info/autotalent.html) to use as a LADSPA Audacity plug-in on Mac. I followed the directions correctly on linux but I was wondering how to build a version for Mac, if at all possible.

I downloaded the 0.2 source, and ran "make". however I get the following error:

gcc -I. -O3 -Wall -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -c -fPIC -DPIC autotalent.c mayer_fft.c
gcc -nostartfiles -shared -Wl,-Bsymbolic -lc -lm -lrt -o autotalent.so autotalent.o mayer_fft.o
ld: unknown option: -Bsymbolic
collect2: ld returned 1 exit status
make: *** [autotalent.so] Error 1

So no .so file is generated but the .o files have been made. Is this by any chance an easy fix?

Thanks!

ejang
  • 3,982
  • 8
  • 44
  • 70

1 Answers1

0

OSX has a different form of shared library to Linux. See Apple's Dynamic Library Programming Topics.

To create a shared library the command is like

gcc -dynamiclib  autotalent.c mayer_fft.c -current_version 1.0 -compatibility_version 1.0 -fvisibility=hidden -o lib autotalent.A.dylib
mmmmmm
  • 32,227
  • 27
  • 88
  • 117
  • that raises the error "i686-apple-darwin11-llvm-gcc-4.2: autotalent.A.dylib: No such file or directory". – ejang May 27 '12 at 17:15