Problems compiling with libsoup (gstreamer)

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Problems compiling with libsoup (gstreamer)

peter12
This post was updated on .
I have built the gst-build Gstreamer 1.18 version, after installing
libsoup2.4-dev and I can see that the dependency is detected: |Dependency
libsoup-2.4 found: YES 2.62.1 (cached).

Later on, compiling the project that I am developing related with WebRTC I
have the following issue. How can I solve it?

undefined reference to `soup_websocket_connection_close'
undefined reference to `soup_logger_new'
undefined reference to `soup_websocket_connection_get_state'
undefined reference to `soup_message_new'
undefined reference to `soup_session_websocket_connect_async'
undefined reference to `soup_session_new_with_options'
undefined reference to `soup_session_websocket_connect_finish'
undefined reference to `soup_session_add_feature'
undefined reference to `_SOUP_METHOD_GET'
undefined reference to `soup_websocket_connection_send_text'
undefined reference to `soup_session_feature_get_type
collect2: error: ld returned 1 exit status





--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Problmes compiling with libsoup (gstreamer)

Nicolas Dufresne-5
Le mardi 27 octobre 2020 à 10:51 -0500, peter12 a écrit :

> I have build the gst-build Gstreamer 1.18 version, after installing
> libsoup2.4-dev and I can see that the dependency is detected: |Dependency
> libsoup-2.4 found: YES 2.62.1 (cached).
>
> Later on, compiling the project that I am developing related with WebRTC I
> have the following issue. How can I solve it?
>
> reference to `soup_websocket_connection_close'
> undefined reference to `soup_logger_new'
> undefined reference to `soup_websocket_connection_get_state'

I have looked up that function, it was introduced in libsoup 2.50.
Perhaps you have another / older copy of libsoup that predates 2.50 ?
There would of course be a bug in meson if it detect one and link
against another (try using new meson too ?)

> undefined reference to `soup_message_new'
> undefined reference to `soup_session_websocket_connect_async'
> undefined reference to `soup_session_new_with_options'
> undefined reference to `soup_session_websocket_connect_finish'
> undefined reference to `soup_session_add_feature'
> undefined reference to `_SOUP_METHOD_GET'
> undefined reference to `soup_websocket_connection_send_text'
> undefined reference to `soup_session_feature_get_type
> collect2: error: ld returned 1 exit status
>
>
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel