Hi,
I'm beginning to learn GStreamer this day.there is some problem. my linux is Kubuntu8.04.When the GStreamer installation completed,I checked it as the FAQ 5 said. It's OK.So I think my installation was correct. I tried to run the example in the application development manual(5.4). I used command "gcc -Wall $(pkg-config --cflags --libs gstreamer-0.10) xxx.c -o xxx" to compile it,and it return me that "undefined reference to `gst_element_factory_get_kalss'"compiled failed. my Gstreamer(version: 0.10) is in /usr/include/gstreamer-0.10/gst/ the Gstreamer lib is in /usr/lib/gstreamer-0.10/ I got this "undefined reference" error in using some other methods.like gst_element_unref() etc. is there something wrong with my installation? waiting for help.thinks! snYe -- Best regards ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hi,
If you have installed gstreamer using apt, then you will also require the devel packages for gstreamer. the devel packages are required since they have the gstreamer API headers. Regards ~Sameer On Sunday 07 September 2008 09:09:57 am Chen Hailiang wrote: > Hi, > I'm beginning to learn GStreamer this day.there is some problem. > my linux is Kubuntu8.04.When the GStreamer installation completed,I > checked it as the FAQ 5 said. It's OK.So I think my installation was > correct. > I tried to run the example in the application development manual(5.4). > I used command "gcc -Wall $(pkg-config --cflags --libs gstreamer-0.10) > xxx.c -o xxx" to compile it,and it return me that "undefined reference to > `gst_element_factory_get_kalss'"compiled failed. > my Gstreamer(version: 0.10) is in /usr/include/gstreamer-0.10/gst/ > the Gstreamer lib is in /usr/lib/gstreamer-0.10/ > I got this "undefined reference" error in using some other methods.like > gst_element_unref() etc. is there something wrong with my installation? > waiting for help.thinks! > > snYe > -- > Best regards ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by Chen Hailiang
On Sunday 07 September 2008 06:39:57 Chen Hailiang wrote:
> Hi, > I'm beginning to learn GStreamer this day.there is some problem. > my linux is Kubuntu8.04.When the GStreamer installation completed,I > checked it as the FAQ 5 said. It's OK.So I think my installation was > correct. > I tried to run the example in the application development manual(5.4). > I used command "gcc -Wall $(pkg-config --cflags --libs gstreamer-0.10) > xxx.c -o xxx" to compile it, At least the compilation command is invalid, I think. You should put the pkg-config command in `` marks, as follows: "gcc -Wall `pkg-config --cflags --libs gstreamer-0.10` xxx.c -o xxx" This way the pkg-config is run first, and the output from that command is inserted into the gcc command line. -Lassi ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by Chen Hailiang
On Sun, 2008-09-07 at 11:39 +0800, Chen Hailiang wrote:
Hi, > I tried to run the example in the application development manual(5.4). > I used command "gcc -Wall $(pkg-config --cflags --libs gstreamer-0.10) > xxx.c -o xxx" to compile it,and it return me that "undefined reference to > `gst_element_factory_get_kalss'"compiled failed. > my Gstreamer(version: 0.10) is in /usr/include/gstreamer-0.10/gst/ > the Gstreamer lib is in /usr/lib/gstreamer-0.10/ > I got this "undefined reference" error in using some other methods.like > gst_element_unref() etc. is there something wrong with my installation? > waiting for help.thinks! It sounds like you're reading a really old version of the application development manual which refers to historic GStreamer versions. The lastest version can be found here: http://gstreamer.freedesktop.org/documentation/ Cheers -Tim ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
thinks Tim, I got the lastest version now,and found some unuseable methods
has made up, such like gst_element_unref() was not used again. But I still can't use 'gst_element_factory_get_klass()', (error:elementInfo.c:(.text+0x60): undefined reference to `gst_element_factory_get_kalss'). my source codes were copied from <5.4.1. Getting information about an element using a factory>,the newest version of the application development manaul(0.10.20.1).may any other reason to bring about that? think you. On Sun, 07 Sep 2008 10:24:56 +0100, Tim-Philipp M�ller wrote > On Sun, 2008-09-07 at 11:39 +0800, Chen Hailiang wrote: > > Hi, > > > I tried to run the example in the application development manual(5.4). > > I used command "gcc -Wall $(pkg-config --cflags --libs gstreamer-0.10) > > xxx.c -o xxx" to compile it,and it return me that "undefined reference to > > `gst_element_factory_get_kalss'"compiled failed. > > my Gstreamer(version: 0.10) is in /usr/include/gstreamer-0.10/gst/ > > the Gstreamer lib is in /usr/lib/gstreamer-0.10/ > > I got this "undefined reference" error in using some other methods.like > > gst_element_unref() etc. is there something wrong with my installation? > > waiting for help.thinks! > > It sounds like you're reading a really old version of the application > development manual which refers to historic GStreamer versions. The > lastest version can be found here: > > http://gstreamer.freedesktop.org/documentation/ > > Cheers > -Tim > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > Build the coolest Linux based applications with Moblin SDK & win > great prizes Grand prize is a trip for two to an Open Source event > anywhere in the world http://moblin-contest.org/redirect.php? > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel -- Best regards ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hi, Chen:
`gst_element_factory_get_kalss'? Is this a spelling mistake? Eric 2008/9/8 Chen Hailiang <[hidden email]> thinks Tim, I got the lastest version now,and found some unuseable methods ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
On Mon, 8 Sep 2008 09:22:26 +0800, Eric Zhang wrote
Hi, everyone: thaks for helping me.I fixed this 'undefined reference' error now.Eric is right, a spelling mistake. I am sorry to have troubled everyone. Chen > Hi, Chen: > > `gst_element_factory_get_kalss'? Is this a spelling mistake? > > Eric > > 2008/9/8 Chen Hailiang <[hidden email]> > > > thinks Tim, I got the lastest version now,and found some unuseable methods > > has made up, such like gst_element_unref() was not used again. But I still > > can't use 'gst_element_factory_get_klass()', > > (error:elementInfo.c:(.text+0x60): undefined reference to > > `gst_element_factory_get_kalss'). > > my source codes were copied from <5.4.1. Getting information about an > > element > > using a factory>,the newest version of the application development > > manaul(0.10.20.1).may any other reason to bring about that? > > think you. > > > > On Sun, 07 Sep 2008 10:24:56 +0100, Tim-Philipp M�ler wrote > > > On Sun, 2008-09-07 at 11:39 +0800, Chen Hailiang wrote: > > > > > > Hi, > > > > > > > I tried to run the example in the application development > > manual(5.4). > > > > I used command "gcc -Wall $(pkg-config --cflags --libs > > gstreamer-0.10) > > > > xxx.c -o xxx" to compile it,and it return me that "undefined > > to > > > > `gst_element_factory_get_kalss'"compiled failed. > > > > my Gstreamer(version: 0.10) is in /usr/include/gstreamer-0.10/gst/ > > > > the Gstreamer lib is in /usr/lib/gstreamer-0.10/ > > > > I got this "undefined reference" error in using some other > > methods.like > > > > gst_element_unref() etc. is there something wrong with my > > > > waiting for help.thinks! > > > > > > It sounds like you're reading a really old version of the application > > > development manual which refers to historic GStreamer versions. The > > > lastest version can be found here: > > > > > > http://gstreamer.freedesktop.org/documentation/ > > > > > > Cheers > > > -Tim > > > > > > ------------------------------------------------------------------------- > > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > challenge > > > Build the coolest Linux based applications with Moblin SDK & win > > > great prizes Grand prize is a trip for two to an Open Source event > > > anywhere in the world http://moblin-contest.org/redirect.php? > > > > > _______________________________________________ > > > gstreamer-devel mailing list > > > [hidden email] > > > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > > > > > > -- > > Best regards > > > > > > > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > gstreamer-devel mailing list > > [hidden email] > > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > > > > -- Best regards ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |