[OpenWrt-Devel] [PATCH] libusb-compat: fix build with musl

Álvaro Fernández Rojas noltari at gmail.com
Wed Jun 17 16:54:26 EDT 2015


Hi Jow,

I didn't mean to use that commit description, but something like "fix musl compatibility".
You're right, libusb-compat builds without issues, but when flashrom checks for libusb-compat it fails due to u_int*_t types:
http://buildbot.openwrt.org:8010/broken_packages/brcm63xx.smp/flashrom/compile.txt

Regards,
Álvaro.

El 17/06/2015 a las 22:29, Jo-Philipp Wich escribió:
> Hi Álvaro,
> 
> hmm, I have no issues building it under musl here. The buildbots seems
> to report no errors either.
> 
> Can you provide a diffconfig.sh output?
> 
> Btw, you do not need to replace all types, u_int{8,16,32,64}_t is
> exposed by musl if you include <sys/types.h> *and* if _GNU_SOURCE is
> defined.
> 
> ~ Jow
> 
> 
> 
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
> 
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list