* [Buildroot] scsi/scsi.h: No such file or directory @ 2017-06-12 15:09 MD I. Islam 2017-06-12 15:23 ` Baruch Siach 0 siblings, 1 reply; 13+ messages in thread From: MD I. Islam @ 2017-06-12 15:09 UTC (permalink / raw) To: buildroot Hi I'm new to Buildroot. I'm using *arm_foundationv8_defconfig* as my config. But I'm getting the error *scsi/scsi.h: No such file or directory*. I cleaned and rebuild the code, but getting the error every time. Could anyone suggest what is wrong? My development laptop is a Ubuntu 16.04 with modified 4.11 kernel (running on a i7 processor). I was wondering if it has anything to do with the error. Many thanks Tamim -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170612/b3a272b9/attachment.html> ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] scsi/scsi.h: No such file or directory 2017-06-12 15:09 [Buildroot] scsi/scsi.h: No such file or directory MD I. Islam @ 2017-06-12 15:23 ` Baruch Siach 2017-06-12 15:48 ` Yann E. MORIN 0 siblings, 1 reply; 13+ messages in thread From: Baruch Siach @ 2017-06-12 15:23 UTC (permalink / raw) To: buildroot Hi Tamim, On Mon, Jun 12, 2017 at 11:09:41AM -0400, MD I. Islam wrote: > I'm new to Buildroot. I'm using *arm_foundationv8_defconfig* as my config. > But I'm getting the error *scsi/scsi.h: No such file or directory*. I > cleaned and rebuild the code, but getting the error every time. Could > anyone suggest what is wrong? There is no arm_foundationv8_defconfig in mainline Buildroot. See the list of defconfigs in the current master branch at https://git.busybox.net/buildroot/tree/configs Where have you got your Buildroot source tree from? baruch -- http://baruch.siach.name/blog/ ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il - ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] scsi/scsi.h: No such file or directory 2017-06-12 15:23 ` Baruch Siach @ 2017-06-12 15:48 ` Yann E. MORIN 2017-06-12 16:43 ` MD I. Islam 2017-06-12 17:27 ` Baruch Siach 0 siblings, 2 replies; 13+ messages in thread From: Yann E. MORIN @ 2017-06-12 15:48 UTC (permalink / raw) To: buildroot Baruch, All, On 12 June 2017 17:23:32 CEST, Baruch Siach <baruch@tkos.co.il> wrote: >Hi Tamim, > >On Mon, Jun 12, 2017 at 11:09:41AM -0400, MD I. Islam wrote: >> I'm new to Buildroot. I'm using *arm_foundationv8_defconfig* as my >config. >> But I'm getting the error *scsi/scsi.h: No such file or directory*. I >> cleaned and rebuild the code, but getting the error every time. >Could >> anyone suggest what is wrong? > >There is no arm_foundationv8_defconfig in mainline Buildroot. Unless I missed something, yes there is... Regards, Yann E. MORIN. -- Sent from my phone. Please excuse my brevity. ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] scsi/scsi.h: No such file or directory 2017-06-12 15:48 ` Yann E. MORIN @ 2017-06-12 16:43 ` MD I. Islam 2017-06-12 17:33 ` Baruch Siach 2017-06-12 17:27 ` Baruch Siach 1 sibling, 1 reply; 13+ messages in thread From: MD I. Islam @ 2017-06-12 16:43 UTC (permalink / raw) To: buildroot I'm using the main source tree. I get the same error on other configs as well ( such as *beaglebone_defconfig)*. Does it mean that the problem is to do with my host machine? Tamim PhD Student/Graduate Assistant CS Department, Kent State University Kent, OH 44240 http://web.cs.kent.edu/~mislam4/ <https://web.cs.kent.edu/~mislam4/> On Mon, Jun 12, 2017 at 11:48 AM, Yann E. MORIN <yann.morin.1998@free.fr> wrote: > Baruch, All, > > On 12 June 2017 17:23:32 CEST, Baruch Siach <baruch@tkos.co.il> wrote: > >Hi Tamim, > > > >On Mon, Jun 12, 2017 at 11:09:41AM -0400, MD I. Islam wrote: > >> I'm new to Buildroot. I'm using *arm_foundationv8_defconfig* as my > >config. > >> But I'm getting the error *scsi/scsi.h: No such file or directory*. I > >> cleaned and rebuild the code, but getting the error every time. > >Could > >> anyone suggest what is wrong? > > > >There is no arm_foundationv8_defconfig in mainline Buildroot. > > Unless I missed something, yes there is... > > Regards, > Yann E. MORIN. > > > -- > Sent from my phone. Please excuse my brevity. > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170612/8be67d6b/attachment.html> ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] scsi/scsi.h: No such file or directory 2017-06-12 16:43 ` MD I. Islam @ 2017-06-12 17:33 ` Baruch Siach 2017-06-14 20:42 ` MD I. Islam 0 siblings, 1 reply; 13+ messages in thread From: Baruch Siach @ 2017-06-12 17:33 UTC (permalink / raw) To: buildroot Hi Tamim, On Mon, Jun 12, 2017 at 12:43:24PM -0400, MD I. Islam wrote: > I'm using the main source tree. I get the same error on other configs as > well ( such as *beaglebone_defconfig)*. Does it mean that the problem is to > do with my host machine? Did you change anything in the build configuration other than applying these defconfigs? If so, please post your .config. Also, please post the last ~100 lines of your build output. baruch > On Mon, Jun 12, 2017 at 11:48 AM, Yann E. MORIN <yann.morin.1998@free.fr> > wrote: > > > On 12 June 2017 17:23:32 CEST, Baruch Siach <baruch@tkos.co.il> wrote: > > >On Mon, Jun 12, 2017 at 11:09:41AM -0400, MD I. Islam wrote: > > >> I'm new to Buildroot. I'm using *arm_foundationv8_defconfig* as my > > >config. > > >> But I'm getting the error *scsi/scsi.h: No such file or directory*. I > > >> cleaned and rebuild the code, but getting the error every time. > > >Could > > >> anyone suggest what is wrong? > > > > > >There is no arm_foundationv8_defconfig in mainline Buildroot. > > > > Unless I missed something, yes there is... > > > > Regards, > > Yann E. MORIN. -- 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 - ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] scsi/scsi.h: No such file or directory 2017-06-12 17:33 ` Baruch Siach @ 2017-06-14 20:42 ` MD I. Islam 2017-06-14 21:13 ` Yann E. MORIN 0 siblings, 1 reply; 13+ messages in thread From: MD I. Islam @ 2017-06-14 20:42 UTC (permalink / raw) To: buildroot Hi I'm using *arm_foundationv8_defconfig. *I didn't make any change in config. The last 100 lines of build output is as following: -fno-common -Wall -Werror=sequence-point -Wextra -Wmissing-declarations -Wmissing-parameter-type -Wmissing-prototypes -Wno-missing-field-initializers -Wredundant-decls -Wsign-compare -Wtype-limits -Wuninitialized -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-parameter -Wunused-result -Wunused-variable -Wnested-externs -Wpointer-arith -Wstrict-prototypes -Wformat-security -Wimplicit-function-declaration Type 'make' or 'make <utilname>' to compile. >>> 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" PKG_CONFIG="/home/tamim/buildroot/output/host/usr/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/tamim/buildroot/output/host/usr/lib/pkgconfig:/home/tamim/buildroot/output/host/usr/share/pkgconfig" /usr/bin/make -j5 -C /home/tamim/buildroot/output/build/host-util-linux-2.29.2/ /usr/bin/make all-recursive Making all in po make[4]: Nothing to be done for 'all'. CC lib/libmount_la-monotonic.lo CC lib/dmesg-monotonic.o CC sys-utils/fstrim-fstrim.o CC sys-utils/fsfreeze.o CC sys-utils/ctrlaltdel.o CC sys-utils/blkdiscard.o CC lib/monotonic.o CC sys-utils/losetup-losetup.o CC sys-utils/zramctl-zramctl.o CC sys-utils/swapon-swapon.o CC sys-utils/swapon-swapon-common.o CC lib/swapon-swapprober.o CC sys-utils/swapoff-swapoff.o CC lib/swapoff-swapprober.o CC sys-utils/swapoff-swapon-common.o CC sys-utils/pivot_root.o CC sys-utils/chcpu.o CC sys-utils/switch_root.o CC sys-utils/hwclock.o CC sys-utils/hwclock-cmos.o CC sys-utils/hwclock-rtc.o CC misc-utils/blkid-blkid.o CC misc-utils/findfs-findfs.o CC misc-utils/wipefs-wipefs.o CC lib/swaplabel-swapprober.o CC lib/fsck-monotonic.o CC disk-utils/raw.o CC disk-utils/fsck.cramfs.o CC disk-utils/cramfs_common.o CC disk-utils/mkfs.cramfs.o CC disk-utils/blockdev.o CC disk-utils/fdisk-fdisk.o CC disk-utils/fdisk-fdisk-menu.o CC disk-utils/fdisk-fdisk-list.o CC disk-utils/sfdisk-sfdisk.o CC disk-utils/sfdisk-fdisk-list.o CC lib/script-monotonic.o CC term-utils/script-script.o CC term-utils/scriptreplay.o CC term-utils/mesg.o CC term-utils/wall-wall.o CC term-utils/wall-ttymsg.o CC login-utils/last.o CC login-utils/utmpdump.o CC login-utils/lslogins-lslogins.o CC login-utils/lslogins-logindefs.o CC sys-utils/flock.o CC lib/timer.o CC sys-utils/ipcmk.o CC sys-utils/ipcrm.o CC sys-utils/ipcs.o CC sys-utils/ipcutils.o CC sys-utils/lsipc-lsipc.o CC sys-utils/lsipc-ipcutils.o CC sys-utils/renice.o CC sys-utils/setarch.o CC sys-utils/setsid.o CC sys-utils/eject-eject.o CC lib/eject-monotonic.o sys-utils/eject.c:41:23: fatal error: scsi/scsi.h: No such file or directory Tamim PhD Student/Graduate Assistant CS Department, Kent State University Kent, OH 44240 http://web.cs.kent.edu/~mislam4/ <https://web.cs.kent.edu/~mislam4/> On Mon, Jun 12, 2017 at 1:33 PM, Baruch Siach <baruch@tkos.co.il> wrote: > Hi Tamim, > > On Mon, Jun 12, 2017 at 12:43:24PM -0400, MD I. Islam wrote: > > I'm using the main source tree. I get the same error on other configs as > > well ( such as *beaglebone_defconfig)*. Does it mean that the problem is > to > > do with my host machine? > > Did you change anything in the build configuration other than applying > these > defconfigs? If so, please post your .config. > > Also, please post the last ~100 lines of your build output. > > baruch > > > On Mon, Jun 12, 2017 at 11:48 AM, Yann E. MORIN <yann.morin.1998@free.fr > > > > wrote: > > > > > On 12 June 2017 17:23:32 CEST, Baruch Siach <baruch@tkos.co.il> wrote: > > > >On Mon, Jun 12, 2017 at 11:09:41AM -0400, MD I. Islam wrote: > > > >> I'm new to Buildroot. I'm using *arm_foundationv8_defconfig* as my > > > >config. > > > >> But I'm getting the error *scsi/scsi.h: No such file or directory*. > I > > > >> cleaned and rebuild the code, but getting the error every time. > > > >Could > > > >> anyone suggest what is wrong? > > > > > > > >There is no arm_foundationv8_defconfig in mainline Buildroot. > > > > > > Unless I missed something, yes there is... > > > > > > Regards, > > > Yann E. MORIN. > > -- > 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 - > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170614/0b9d1224/attachment.html> ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] scsi/scsi.h: No such file or directory 2017-06-14 20:42 ` MD I. Islam @ 2017-06-14 21:13 ` Yann E. MORIN 2017-06-14 21:35 ` MD I. Islam 0 siblings, 1 reply; 13+ messages in thread From: Yann E. MORIN @ 2017-06-14 21:13 UTC (permalink / raw) To: buildroot 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 Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] scsi/scsi.h: No such file or directory 2017-06-14 21:13 ` Yann E. MORIN @ 2017-06-14 21:35 ` MD I. Islam 2017-06-15 3:06 ` Baruch Siach 0 siblings, 1 reply; 13+ messages in thread From: MD I. Islam @ 2017-06-14 21:35 UTC (permalink / raw) To: buildroot Hi Yann Thanks for letting me know about the plain-text email! I have build-essential, libc6-dev, cpio and open-iscsi installed. Am I missing anything? Thanks Tamim On Wed, Jun 14, 2017 at 5:13 PM, Yann E. MORIN <yann.morin.1998@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 > > Regards, > Yann E. MORIN. > > -- > .-----------------.--------------------.------------------.--------------------. > | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | > | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | > | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | > | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | > '------------------------------^-------^------------------^--------------------' ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] scsi/scsi.h: No such file or directory 2017-06-14 21:35 ` MD I. Islam @ 2017-06-15 3:06 ` Baruch Siach 2017-06-16 19:24 ` MD I. Islam 0 siblings, 1 reply; 13+ messages in thread From: Baruch Siach @ 2017-06-15 3:06 UTC (permalink / raw) To: buildroot 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@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 - ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] scsi/scsi.h: No such file or directory 2017-06-15 3:06 ` Baruch Siach @ 2017-06-16 19:24 ` MD I. Islam 2017-06-17 21:27 ` Baruch Siach 0 siblings, 1 reply; 13+ messages in thread From: MD I. Islam @ 2017-06-16 19:24 UTC (permalink / raw) To: buildroot HI Baruch Yeah, /usr/include/scsi/scsi.h was missing. I I updated the kernel of my host machine with defconfig in the main kernel source tree. After going back to the original ubuntu kernel, I got it working. Any idea what kernel config is responsible for this? I prefer top-posting over interleaving. Is there a reason I would need to use interleaving? Many thanks! Tamim On Wed, Jun 14, 2017 at 11:06 PM, Baruch Siach <baruch@tkos.co.il> wrote: > 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@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 - ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] scsi/scsi.h: No such file or directory 2017-06-16 19:24 ` MD I. Islam @ 2017-06-17 21:27 ` Baruch Siach 2017-06-18 0:08 ` MD I. Islam 0 siblings, 1 reply; 13+ messages in thread From: Baruch Siach @ 2017-06-17 21:27 UTC (permalink / raw) To: buildroot Hi Tamim, On Fri, Jun 16, 2017 at 03:24:15PM -0400, MD I. Islam wrote: > Yeah, /usr/include/scsi/scsi.h was missing. I I updated the kernel of > my host machine with defconfig in the main kernel source tree. After > going back to the original ubuntu kernel, I got it working. Any idea > what kernel config is responsible for this? I have no idea how a custom kernel install would influence libc provided headers, let alone delete them. > I prefer top-posting over interleaving. Is there a reason I would need > to use interleaving? Because this is the convention in this list, as well as in most related mailing lists. That advantage of this style is that it makes it easier for the reader to see the context of your response. baruch > On Wed, Jun 14, 2017 at 11:06 PM, Baruch Siach <baruch@tkos.co.il> wrote: > > 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@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 - ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] scsi/scsi.h: No such file or directory 2017-06-17 21:27 ` Baruch Siach @ 2017-06-18 0:08 ` MD I. Islam 0 siblings, 0 replies; 13+ messages in thread From: MD I. Islam @ 2017-06-18 0:08 UTC (permalink / raw) To: buildroot Hi Baruch On Sat, Jun 17, 2017 at 5:27 PM, Baruch Siach <baruch@tkos.co.il> wrote: > Hi Tamim, > > On Fri, Jun 16, 2017 at 03:24:15PM -0400, MD I. Islam wrote: >> Yeah, /usr/include/scsi/scsi.h was missing. I I updated the kernel of >> my host machine with defconfig in the main kernel source tree. After >> going back to the original ubuntu kernel, I got it working. Any idea >> what kernel config is responsible for this? > > I have no idea how a custom kernel install would influence libc provided > headers, let alone delete them. My bad, I used INSTALL_HDR_PATH=/usr/ in header_install which screwed things up. After pointing it to /usr/include, it works as expected. > >> I prefer top-posting over interleaving. Is there a reason I would need >> to use interleaving? > > Because this is the convention in this list, as well as in most related > mailing lists. That advantage of this style is that it makes it easier for the > reader to see the context of your response. Thanks for your helps and suggestions! > > baruch > >> On Wed, Jun 14, 2017 at 11:06 PM, Baruch Siach <baruch@tkos.co.il> wrote: >> > 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@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 - ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] scsi/scsi.h: No such file or directory 2017-06-12 15:48 ` Yann E. MORIN 2017-06-12 16:43 ` MD I. Islam @ 2017-06-12 17:27 ` Baruch Siach 1 sibling, 0 replies; 13+ messages in thread From: Baruch Siach @ 2017-06-12 17:27 UTC (permalink / raw) To: buildroot Hi Yann, On Mon, Jun 12, 2017 at 03:48:06PM +0000, Yann E. MORIN wrote: > On 12 June 2017 17:23:32 CEST, Baruch Siach <baruch@tkos.co.il> wrote: > >On Mon, Jun 12, 2017 at 11:09:41AM -0400, MD I. Islam wrote: > >> I'm new to Buildroot. I'm using *arm_foundationv8_defconfig* as my > >config. > >> But I'm getting the error *scsi/scsi.h: No such file or directory*. I > >> cleaned and rebuild the code, but getting the error every time. > >Could > >> anyone suggest what is wrong? > > > >There is no arm_foundationv8_defconfig in mainline Buildroot. > > Unless I missed something, yes there is... Ah, of course. I somehow expected arm_ to precede armadeus_. Sorry. baruch -- 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 - ^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2017-06-18 0:08 UTC | newest] Thread overview: 13+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2017-06-12 15:09 [Buildroot] scsi/scsi.h: No such file or directory MD I. Islam 2017-06-12 15:23 ` Baruch Siach 2017-06-12 15:48 ` Yann E. MORIN 2017-06-12 16:43 ` MD I. Islam 2017-06-12 17:33 ` Baruch Siach 2017-06-14 20:42 ` MD I. Islam 2017-06-14 21:13 ` Yann E. MORIN 2017-06-14 21:35 ` MD I. Islam 2017-06-15 3:06 ` Baruch Siach 2017-06-16 19:24 ` MD I. Islam 2017-06-17 21:27 ` Baruch Siach 2017-06-18 0:08 ` MD I. Islam 2017-06-12 17:27 ` Baruch Siach
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.