After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 632033 - undefined reference of mpegts_xxx function
undefined reference of mpegts_xxx function
Status: RESOLVED NOTGNOME
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
0.10.18
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-10-13 07:11 UTC by sunshine_uyl
Modified: 2010-10-16 11:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description sunshine_uyl 2010-10-13 07:11:03 UTC
Dear Sir,

    When I build Gstreamer, the following undefined reference occurred. 
make: execvp: /bin/bash: Argument list too long
target SharedLib: libgstmpeg (out/target/product/generic/obj/PLUGIN_LIBRARIES/libgstmpeg_intermediates/LINKED/libgstmpeg.so)
out/target/product/generic/obj/PLUGIN_LIBRARIES/libgstmpeg_intermediates/gstmpegtsdemux.o: In function `gst_mpegts_demux_class_init':
external/gst-plugins-bad/gst/mpegdemux/gstmpegtsdemux.c:284: undefined reference to `mpegts_pat_info_get_type'
external/gst-plugins-bad/gst/mpegdemux/gstmpegtsdemux.c:294: undefined reference to `mpegts_pmt_info_get_type'
out/target/product/generic/obj/PLUGIN_LIBRARIES/libgstmpeg_intermediates/gstmpegtsdemux.o: In function `mpegts_demux_build_pat_info':
external/gst-plugins-bad/gst/mpegdemux/gstmpegtsdemux.c:3113: undefined reference to `mpegts_pat_info_new'
out/target/product/generic/obj/PLUGIN_LIBRARIES/libgstmpeg_intermediates/gstmpegtsdemux.o: In function `mpegts_demux_build_pmt_info':
external/gst-plugins-bad/gst/mpegdemux/gstmpegtsdemux.c:3135: undefined reference to `mpegts_pmt_info_new'
external/gst-plugins-bad/gst/mpegdemux/gstmpegtsdemux.c:3145: undefined reference to `mpegts_pmt_stream_info_new'
external/gst-plugins-bad/gst/mpegdemux/gstmpegtsdemux.c:3158: undefined reference to `mpegts_pmt_stream_info_add_language'
external/gst-plugins-bad/gst/mpegdemux/gstmpegtsdemux.c:3167: undefined reference to `mpegts_pmt_stream_info_add_descriptor'
external/gst-plugins-bad/gst/mpegdemux/gstmpegtsdemux.c:3171: undefined reference to `mpegts_pmt_info_add_stream'
collect2: ld returned 1 exit status
make: *** [out/target/product/generic/obj/PLUGIN_LIBRARIES/libgstmpeg_intermediates/LINKED/libgstmpeg.so] Error 1
Please kindly to tell me how to solve the compiling error.
Thanks!

sunshine_uyl
Comment 1 Tim-Philipp Müller 2010-10-13 13:13:15 UTC
How are you building this?

Using what compiler/IDE/project files?

It looks like you need to add some more source file to your project file.

Also: the latest version is 0.10.20, 0.10.18 is a bit old.
Comment 2 sunshine_uyl 2010-10-16 03:16:45 UTC
Dear Tim-Philipp Müller,

    Thanks for your response. After add more *.c files to makefile. The compiler error has been solved.

Sunshine_uyl
Comment 3 Tim-Philipp Müller 2010-10-16 11:19:14 UTC
Okay, not our bug then I guess. Thanks for the follow-up.