udev 182: scsi/scsi.h not found
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
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
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
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.hI'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
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
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