[gstreamer-bugs] [Bug 615161] New: MacOSX 10.5 : Failure to build due to missing _FILE_OFFSET_BITS symbol

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Apr 8 04:36:39 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=615161
  GStreamer | gst-plugins-good | git

           Summary: MacOSX 10.5 : Failure to build due to missing
                    _FILE_OFFSET_BITS symbol
    Classification: Desktop
           Product: GStreamer
           Version: git
        OS/Version: Mac OS
            Status: UNCONFIRMED
          Severity: blocker
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: bilboed at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


In file included from id3v2frames.c:33:
/opt/local/include/zlib.h:1568:32: error: "_FILE_OFFSET_BITS" is not defined
make[3]: *** [libgstid3demux_la-id3v2frames.lo] Error 1

The problem is that zlib 1.2.4 uses _FILE_OFFSET_BITS to know whether to use
large_file variants or not... and that define isn't available on macosx 10.5

Definition of _FILE_OFFSET_BITS is available here :
http://www.gnu.org/software/libc/manual/html_node/Feature-Test-Macros.html#index-g_t_005fFILE_005fOFFSET_005fBITS-49

My suggestion is to check in configure.ac whether it is defined, and if not
redefine it as #define _FILE_OFFSET_BITS 32

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list