[Bug 793103] v4l2: compilation failure with mmap/mmap64 signature miss-match
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Mar 8 10:24:00 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=793103
--- Comment #21 from Michael Tretter <m.tretter at pengutronix.de> ---
The patch fixes the problem, but there are further issues:
My glibc actually has mmap64 with off_t as 8 bytes, but was not used, because
configure is missing a check check for largefile support. I attach a patch that
adds the check. The size of off_t is now reported as 8 bytes.
I still don't think that it is a good idea to copy from libv4l2 and use the
GLib types for the prototypes. The function pointer prototypes should exactly
match the prototypes of the function that is actually called. Therefore, ALL
the pointers in V4l2Object that might point to syscalls should use the
prototypes of the syscall and the libv4l2 calls should be wrapped accordingly.
--
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