Skip to contentSkip to conversation

udev 182: scsi/scsi.h not found

Buildroot Marco Trapanese 4 participants 6 messages Feb 21, 2014 – Feb 24, 2014

lore
Share & tools
lore
#0 lore raw

Hi all!
I'm still learning and I was able to fix several issue by myself. Anyway my first buildroot compilation is not completed yet!

The building of udev 182 ends with the following error:

src/ata_id/ata_id.c:32:23: fatal error: scsi/scsi.h: File o directory non esistente

  #include <scsi/scsi.h>
                        ^

compilation terminated.
make[3]: *** [src/ata_id/ata_id.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2

grep -rn 'scsi' package/ leads to the package libiscsi but selecting it doesn't fix the problem.

Thus I'm asking again an hint to put me on the right way..... Thanks!
Marco

#1 lore raw
Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Marco" == Marco Trapanese <[email protected]> writes:

Hi all!
I'm still learning and I was able to fix several issue by myself. Anyway my first buildroot compilation is not completed yet!

The building of udev 182 ends with the following error:

src/ata_id/ata_id.c:32:23: fatal error: scsi/scsi.h: File o directory non esistente

Quoted 7 lines
 #include <scsi/scsi.h>
                       ^

compilation terminated.
make[3]: *** [src/ata_id/ata_id.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2

What toolchain / .config are you using? uClibc (default for the internal toolchain) provides scsi/scsi.h

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw

Il 21/02/2014 22:01, Peter Korsgaard ha scritto:

Quoted 2 lines

What toolchain / .config are you using? uClibc (default for the internal toolchain) provides scsi/scsi.h

I'm using eglibc because I need the eglfs support. Currently I'm trying to use the internal toolchain just to see if it builds successfully. Likely the next shot will be the linaro toolchain (it's for a imx6 board).

Best regards
Marco

#3 lore raw

Dear Marco Trapanese,

Quoted 7 lines · Marco Trapanese

Il 21/02/2014 22:01, Peter Korsgaard ha scritto:

Quoted 2 lines

What toolchain / .config are you using? uClibc (default for the internal toolchain) provides scsi/scsi.h

I'm using eglibc because I need the eglfs support. Currently I'm trying to use the internal toolchain just to see if it builds successfully. Likely the next shot will be the linaro toolchain (it's for a imx6 board).

When you report a build error, you should always :

1) Ensure that the build error can be reproduced after a "make clean; make" cycle.

2) Provide your Buildroot .config file as well as the exact Buildroot version you're using.

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#4 lore raw
In reply to Marco Trapanese

Hello,

Quoted 9 lines · On Friday 21 February 2014 20:37:51 Marco Trapanese wrote:

Hi all!
I'm still learning and I was able to fix several issue by myself. Anyway my first buildroot compilation is not completed yet!

The building of udev 182 ends with the following error:

src/ata_id/ata_id.c:32:23: fatal error: scsi/scsi.h: File o directory non esistente
#include <scsi/scsi.h>

I already noticed this problem. It happends when linux-headers is rebuilt after libc (during its installation, linux-headers remove include/scsi/).

You can simply rebuild your toolchain or just do a "make clean".

Signature · 3 lines
J?r?me Pouiller, Sysmic
Embedded Linux specialist
http://www.sysmic.fr
#5 lore raw

Il 24/02/2014 11:42, J?r?me Pouiller ha scritto:

Quoted 4 lines

I already noticed this problem. It happends when linux-headers is rebuilt after libc (during its installation, linux-headers remove include/scsi/). You can simply rebuild your toolchain or just do a "make clean".

In fact I've just finished a full rebuild and now there are no errors! Thanks
Marco