GNOME Bugzilla – Bug 632033
undefined reference of mpegts_xxx function
Last modified: 2010-10-16 11:19:14 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
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.
Dear Tim-Philipp Müller, Thanks for your response. After add more *.c files to makefile. The compiler error has been solved. Sunshine_uyl
Okay, not our bug then I guess. Thanks for the follow-up.