Does gstreamer support i686 32 bit architecture? My assumption is yes however I am getting some compilation warnings shown below. When I build for x86_64 there are no warnings. My .mk file does specifie "-m32" for CLFAGS and LDFLAGS ./configure output shows: Configuration Version : 1.6.4 Source code location : . Prefix : /testdir Compiler : gcc -m32 -std=gnu99 Package name : GStreamer source release Package origin : Unknown package origin Sample error: gst/gstutils.h:772:3: warning: right shift count >= width of type [enabled by default] GST_WRITE_UINT64_BE (data, u.i); ^ The macro in gst/gstutils.h is expecting in this case 64 bit numbers. I would appreciate any insight to this problem. _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On So, 2016-07-10 at 18:30 +0000, Rashid Farah wrote:
> Does gstreamer support i686 32 bit architecture? Yes > Sample error: > gst/gstutils.h:772:3: warning: right shift count >= width of type > [enabled by default] > GST_WRITE_UINT64_BE (data, u.i); > ^ > > The macro in gst/gstutils.h is expecting in this case 64 bit numbers. > I would appreciate any insight to this problem. This suggests that you build GStreamer for 32 bits against a GLib version that is built for 64 bits (and has the headers set up for 64 bits). -- Sebastian Dröge, Centricular Ltd · http://www.centricular.com _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (968 bytes) Download Attachment |
Many thanks Sebastian, I am using fedora 20 and I did not build GLIB from source instead I downloaded the packages. I do have glib for both 64 and 32 architectures in my system. I am newbie in this. How do you suggest I go about specifying the 32 bit version? Should this be done as part of the PKG_CONFIG_PATH or should I pass it to the configure script along with the --host? In general terms what do you advice? or should I build it from source also? Thanks, Rashid From: Sebastian Dröge <[hidden email]> To: Rashid Farah <[hidden email]>; Discussion of the development of and with GStreamer <[hidden email]> Sent: Sunday, July 10, 2016 10:38 AM Subject: Re: Building gstreamer application from source for i686 On So, 2016-07-10 at 18:30 +0000, Rashid Farah wrote: > Does gstreamer support i686 32 bit architecture? Yes > Sample error: > gst/gstutils.h:772:3: warning: right shift count >= width of type > [enabled by default] > GST_WRITE_UINT64_BE (data, u.i); > ^ > > The macro in gst/gstutils.h is expecting in this case 64 bit numbers. > I would appreciate any insight to this problem. This suggests that you build GStreamer for 32 bits against a GLib version that is built for 64 bits (and has the headers set up for 64 bits). -- Sebastian Dröge, Centricular Ltd · http://www.centricular.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 |
On So, 2016-07-10 at 18:54 +0000, Rashid Farah wrote:
> Many thanks Sebastian, > I am using fedora 20 and I did not build GLIB from source instead I > downloaded the packages. I do have glib for both 64 and 32 > architectures in my system. I am newbie in this. > How do you suggest I go about specifying the 32 bit version? Should > this be done as part of the PKG_CONFIG_PATH or should I pass it to > the configure script along with the --host? In general terms what do > you advice? or should I build it from source also? It depends on how you're compiling. You need to ensure that all dependencies are available as 32 bit versions, and then point to the corresponding pkg-config files of those and also in general set up the library, linker, include, etc paths accordingly so the 32 bit versions are used instead of the 32 bit ones. -- Sebastian Dröge, Centricular Ltd · http://www.centricular.com _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (968 bytes) Download Attachment |
Free forum by Nabble | Edit this page |