[Bug 793103] v4l2: compilation failure with mmap/mmap64 signature miss-match
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Mar 8 13:33:32 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=793103
--- Comment #23 from Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> ---
(In reply to Michael Tretter from comment #21)
> 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.
Have you read my patch ? I've change the offset to off_t. The other types does
not matter, glib or not, they will be the same.
> 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.
Again, read my last patch properly.
--
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