<div dir="ltr">Hello,<div><br></div><div>I'm trying to get rid of this patch:</div><div><a href="http://git.openwrt.org/?p=packages.git;a=blob_plain;f=utils/sane-backends/patches/020-non-i386-qcam.patch;hb=HEAD">http://git.openwrt.org/?p=packages.git;a=blob_plain;f=utils/sane-backends/patches/020-non-i386-qcam.patch;hb=HEAD</a><br></div><div><br></div><div>That helps sane-backend cross-compile for MIPS processor. But this seems to be a hacky solution.</div><div><br></div><div>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.</div><div><br></div><div>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?</div><div><br></div><div>Regards,</div></div>