[Buildroot] scsi/scsi.h: No such file or directory

Baruch Siach baruch at tkos.co.il
Thu Jun 15 03:06:00 UTC 2017


Hi Tamim,

On Wed, Jun 14, 2017 at 05:35:39PM -0400, MD I. Islam wrote:
> Thanks for letting me know about the plain-text email!

But you are still top posting[1]. Please use reply to emails inline[2], like 
Yann and I did.

> I have build-essential, libc6-dev, cpio and open-iscsi installed. Am I
> missing anything?

Do you have the file /usr/include/scsi/scsi.h on your host? It should be part 
of libc6-dev.

baruch

[1] https://en.wikipedia.org/wiki/Posting_style#Top-posting

[2] https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

> On Wed, Jun 14, 2017 at 5:13 PM, Yann E. MORIN <yann.morin.1998 at free.fr> 
>   wrote:
> > Tamim, All,
> >
> > Please, do not post HTML mail, and do not top-post; this is considered
> > bad practice. Send mails as plain tesxt, and reply below the mail you
> > are replying to.
> >
> > On 2017-06-14 16:42 -0400, MD I. Islam spake thusly:
> >> I'm using *arm_foundationv8_defconfig. *I didn't make any change in config.
> >> The last 100 lines of build output is as following:
> > [--SNIP--]
> >> >>> host-util-linux 2.29.2 Building
> >> PATH="/home/tamim/buildroot/output/host/bin:/home/tamim/buildroot/output/host/sbin:/home/tamim/buildroot/output/host/usr/bin:/home/tamim/buildroot/output/host/usr/sbin:/home/tamim/bin:/home/tamim/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
> >>   CC       sys-utils/eject-eject.o
> >> sys-utils/eject.c:41:23: fatal error: scsi/scsi.h: No such file or
> >> directory
> >
> > So, this fails while building the host variant of util-linux. So your
> > build machine is missing some critical system headers.
> >
> > It looks like you are using a Ubuntu machine, and this header is
> > normally installed by libc6-dev, which you would have installed if you
> > install the meta-package build-essential.
> >
> > Please, check the requirements in the manual:
> >
> >     https://buildroot.org/downloads/manual/manual.html#requirement

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -



More information about the buildroot mailing list