Compiling Asterisk 1.6.2.6 on a mac?

Has anyone done this? I’m getting:

ld: duplicate symbol dyld_stub_binding_helper in /usr/lib/bundle1.o and /usr/lib/bundle1.o
collect2: ld returned 1 exit status
make[1]: *** [chan_agent.so] Error 1
make: *** [channels] Error 2

And I don’t find any of that appearing in chan_agent.c…

Is there something obvious I’m missing?

thanks

Never mind. For some reason that library was loaded twice. I commented out the line where it is manually loaded in the makefile, and it seems to have built…