Open rucebee opened 5 years ago
perl -i -p -e 's/\b__packed\b/__attribute__((packed))/g;' ./output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/mtd/ubi-user.h
That did it for me, not sure why editing linux/linux-3.0.y/scripts/headers_install.pl didn't work.
uboot-tools 2018.07 Building
In file included from tools/env/fw_env.c:38:0: ./output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/mtd/ubi-user.h:329:3: error: conflicting types for ‘packed’ } packed; ^
~~~ ./output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/mtd/ubi-user.h:313:3: note: previous declaration of ‘packed’ was here } packed; ^~~~any suggestion?