=?utf-8?Q?=E5=9B=9E=E5=A4=8D=EF=BC=9A_?=Can not find symbol as "_g_free, assert" and so on in iOS static library linked with "gstreamer-1.0-devel-1.2.0-ios-universal.pkg"
jojo
rjiejie at gmail.com
Sat Nov 2 01:03:45 PDT 2013
Hi Andoni,
Thanks for your explanation,
yes, you are right, it's my wrong understanding :)
Thanks,
- Jojo
在 2013年10月25日星期五,下午10:59,Andoni Morales 写道:
>
>
>
> 2013/10/25 jojo <rjiejie at gmail.com (mailto:rjiejie at gmail.com)>
> > Hi,
> > I use the "gstreamer-1.0-devel-1.2.0-ios-universal.pkg" to use some glib function also like "g_free" and so on,
> >
> > and i build my iOS static library "libiOS.a" succeed except some undefined symbol in my static library which should
> >
> > be come from gstreamer project as bellow, what i am missing ?
>
> How are you building this static library and how are you using it?
>
> I would say it's normal that those symbols are undefined. When you link your application with your library (libiOS.a) and the GStreamer iOS Framework, the framework will provide the object files contains the glib symbols. You don't want to end up having an archive libiOS.a with the glib object files in there because it results in dupicated symbols when linking it with the GStreamer iOS framework.
> Make sure you use the XCode templates we provide, which takes care of all the internal details for you.
>
> Cheers,
> Andoni
> >
> > nm libiOS.a | grep _g_free
> > U _g_free
> > U _g_free
> > U _g_free
> > U _g_free
> > nm: no name list
> > U _g_free
> > U _g_free
> > U _g_free
> > U _g_free
> > U _g_free
> > U _g_free
> > U _g_free
> > U _g_free
> > U _g_free
> > U _g_free
> > nm: no name list
> > nm: no name list
> > nm: no name list
> > nm: no name list
> > nm: no name list
> > nm: no name list
> > nm: no name list
> > nm: no name list
> > nm: no name list
> > nm: no name list
> > nm: no name list
> > nm: no name list
> > nm: no name list
> > nm: no name list
> > nm: no name list
> > nm: no name list
> > nm: no name list
> > nm: no name list
> > nm: no name list
> > U _g_free
> > U _g_free
> > U _g_free
> > U _g_free
> > U _g_free
> > U _g_free
> > U _g_free
> > U _g_free
> > U _g_free
> > U _g_free
> > U _g_free
> > U _g_free
> > U _g_free
> > U _g_free
> >
> >
> >
> > nm libiOS.a | grep assert
> > nm: no name list
> > U _g_assertion_message_expr
> > nm: no name list U _assert
> > U _assert
> >
> > U _assert
> > nm: no name list
> > nm: no name list
> > nm: no name list
> > nm: no name list
> > nm: no name list
> > nm: no name list
> > nm: no name list
> > nm: no name list
> > nm: no name list
> > nm: no name list
> > nm: no name list
> > nm: no name list
> > nm: no name list
> > nm: no name list
> > nm: no name list
> > nm: no name list
> > nm: no name list
> > nm: no name list
> > U _g_assertion_message_expr
> > U _assert
> > U _assert
> > U _assert
> >
> >
> > Thanks,
> >
> > - Jojo
> >
> >
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.freedesktop.org (mailto:gstreamer-devel at lists.freedesktop.org)
> > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> >
>
>
>
> --
> Andoni Morales Alastruey
>
> LongoMatch:The Digital Coach
> http://www.longomatch.ylatuya.es
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org (mailto:gstreamer-devel at lists.freedesktop.org)
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131102/2e3bd557/attachment.html>
More information about the gstreamer-devel
mailing list