[Freeswitch-dev] static libfreeswitch.a OSX

Paulo Vicentini vicentini.paulo at gmail.com
Wed Jun 9 16:57:57 PDT 2010


No Snow,
I am using Leopard (32)

/r

On Wed, Jun 9, 2010 at 8:36 PM, Brian West <brian at freeswitch.org> wrote:

> I'm going to guess you're on Snom Leopard?
>
> /b
>
> On Jun 9, 2010, at 6:29 PM, Paulo Vicentini wrote:
>
> > Yes,
> > I am using autotools.. I run ./configure --disable shared or even
> modifying Makefile.am... in all these ways the static library is built
> (libfreeswitch.a)  but when linking with freeswitch (bin) I got "undefined
> symbols"
> >
> > For instance, the symbol _switch_api_execute or _switch_log_printf are
> given as undefined  but
> >
> > otool -v -S -a libfreeswitch.a | grep _switch_api_execute
> > libfreeswitch_la-switch_loadable_module.o _switch_api_execute
> >
> > otool -v -S -a libfreeswitch.a | grep _switch_log_printf
> > libfreeswitch_la-switch_log.o _switch_log_printf
> >
> > I also got this warning from the linker:
> > ld warning: in /freeswitch/.libs/libfreeswitch.a, file is not of required
> architecture
> > but
> > lipo -info libfreeswitch.a
> > input file libfreeswitch.a is not a fat file
> > Non-fat file: libfreeswitch.a is architecture: i386
> >
> > as expected
> >
> > /r
>
>
> _______________________________________________
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100609/ee0e206b/attachment-0001.html 


More information about the FreeSWITCH-dev mailing list