Skip to content

Instantly share code, notes, and snippets.

@lanoxx
Created February 11, 2017 16:24
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save lanoxx/7c57332a9549a92ef93352e0f293eae9 to your computer and use it in GitHub Desktop.
# Broken gcc call made by from g-ir-scanner:
$gcc -o /CHECKOUTDIR/gstreamer/libs/gst/base/tmp-introspectqgof6h_n/.libs/GstBase-1.0 \
-Wall -g -ggdb -O0 tmp-introspectqgof6h_n/CHECKOUTDIR/gstreamer/libs/gst/base/tmp-introspectqgof6h_n/GstBase-1.0.o \
-Wl,--export-dynamic -pthread -Wl,--export-dynamic \
-L/opt/gnome-build/lib \
-L. ./.libs/libgstbase-1.0.so -L../../../gst \
-L/CHECKOUTDIR/gstreamer/gst/.libs \
-lgio-2.0 -lgmodule-2.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -pthread -Wl,-rpath -Wl,/opt/gnome-build/lib
./.libs/libgstbase-1.0.so: undefined reference to `gst_element_message_full_with_details'
./.libs/libgstbase-1.0.so: undefined reference to `gst_make_element_message_details'
collect2: error: ld returned 1 exit status
# Fixed gcc call made by me:
$gcc -o /CHECKOUTDIR/gstreamer/libs/gst/base/tmp-introspectqgof6h_n/.libs/GstBase-1.0
-Wall -g -ggdb -O0 tmp-introspectqgof6h_n/CHECKOUTDIR/gstreamer/libs/gst/base/tmp-introspectqgof6h_n/GstBase-1.0.o \
-Wl,--export-dynamic -pthread -Wl,--export-dynamic \
-L. ./.libs/libgstbase-1.0.so -L../../../gst \
-L/CHECKOUTDIR/gstreamer/gst/.libs \
-L/opt/gnome-build/lib \
-lgio-2.0 -lgmodule-2.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -pthread -Wl,-rpath -Wl,/opt/gnome-build/lib
# Note the different order of line 5-7 and 17-19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment