<p dir="ltr"><br>
On 24 Apr 2016 1:09 pm, "Hauke Mehrtens" <<a href="mailto:hauke@hauke-m.de">hauke@hauke-m.de</a>> wrote:<br>
><br>
> > Never mind. After a few more test and fresh git clones it seems I have<br>
> > a more general build failure. Basically any host utill with makedev,<br>
> > major or minor in it is dying. I don't understand why.<br>
> ><br>
> > Is this a gcc 5.x thing? I updated my system recently.<br>
><br>
> ......<br>
><br>
> > '/home/weedy/projects/openwrt/build_dir/host/mtd-utils-1.5.2'<br>
> > CHK include/version.h<br>
> > LD mkfs.jffs2<br>
> > mkfs.jffs2.c:944: error: undefined reference to 'major'<br>
> > mkfs.jffs2.c:944: error: undefined reference to 'minor'<br>
> > mkfs.jffs2.c:1263: error: undefined reference to 'minor'<br>
> > mkfs.jffs2.c:1263: error: undefined reference to 'major'<br>
> > mkfs.jffs2.c:1273: error: undefined reference to 'minor'<br>
> > mkfs.jffs2.c:1273: error: undefined reference to 'major'<br>
> > mkfs.jffs2.c:503: error: undefined reference to 'makedev'<br>
> > mkfs.jffs2.c:467: error: undefined reference to 'makedev'<br>
> > mkfs.jffs2.c:510: error: undefined reference to 'makedev'<br>
> > collect2: error: ld returned 1 exit status<br>
> > <a href="http://common.mk:80">common.mk:80</a>: recipe for target<br>
><br>
><br>
> Hi,<br>
><br>
> what Linux distribution are you using? What libc are you using?<br>
><br>
> makedev and co. are some more specific functions, but they should be<br>
> provided by your libc:<br>
> <a href="http://man7.org/linux/man-pages/man3/major.3.html">http://man7.org/linux/man-pages/man3/major.3.html</a><br>
><br>
> Hauke</p>
<p dir="ltr">Gentoo, glibc 2.23</p>