[Bug 793103] v4l2: compilation failure with mmap/mmap64 signature miss-match

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Mar 7 18:13:07 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=793103

--- Comment #16 from Michael Tretter <m.tretter at pengutronix.de> ---
Thanks for pointing me here.

I'm using autotools to build the modules for i.MX6. config.log reports that
off_t has 4 bytes. mmap64 is not declared. I simply cannot pass a 64 bit offset
to mmap.

I would suggest to go the other way around: make the signature of mmap in
v4l2object platform dependent and wrap the call to libv4l2. As far as I can
tell only the allocator uses mmap and actually uses a __u32 for the offset. I
don't understand, why we should use libv4l2 as definition how to use syscalls
in GStreamer.

-- 
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