[sane-devel] inb outb missing on mips

Luiz Angelo Daros de Luca luizluca at gmail.com
Wed Sep 9 22:04:25 UTC 2015


Hello,

I'm trying to get rid of this patch:
http://git.openwrt.org/?p=packages.git;a=blob_plain;f=utils/sane-backends/patches/020-non-i386-qcam.patch;hb=HEAD

That helps sane-backend cross-compile for MIPS processor. But this seems to
be a hacky solution.

The problem seems that configure check for ioperm passes for MIPS with
libc-musl (I didn't test with other libc), while inb and outb are still
missing for this arch. As sane-backend uses HAVE_IOPERM in order to use or
not in/outb, it compiles requiring inb/outb. This results in a linker error.

Who is not playing nice here? musl providing ioperm where it shouldn't?
configure failing to check correcly for ioperm? sane not checking for inb?

Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20150909/df6be849/attachment.html>


More information about the sane-devel mailing list