Created
February 11, 2017 16:24
Star
You must be signed in to star a gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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