Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] udev 182: scsi/scsi.h not found
@ 2014-02-21 19:37 Marco Trapanese
  2014-02-21 21:01 ` Peter Korsgaard
  2014-02-24 10:42 ` Jérôme Pouiller
  0 siblings, 2 replies; 6+ messages in thread
From: Marco Trapanese @ 2014-02-21 19:37 UTC (permalink / raw)
  To: buildroot

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] udev 182: scsi/scsi.h not found
  2014-02-21 19:37 [Buildroot] udev 182: scsi/scsi.h not found Marco Trapanese
@ 2014-02-21 21:01 ` Peter Korsgaard
  2014-02-21 21:17   ` Marco Trapanese
  2014-02-24 10:42 ` Jérôme Pouiller
  1 sibling, 1 reply; 6+ messages in thread
From: Peter Korsgaard @ 2014-02-21 21:01 UTC (permalink / raw)
  To: buildroot

>>>>> "Marco" == Marco Trapanese <marcotrapanese@gmail.com> 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
 >  #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

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] udev 182: scsi/scsi.h not found
  2014-02-21 21:01 ` Peter Korsgaard
@ 2014-02-21 21:17   ` Marco Trapanese
  2014-02-21 22:59     ` Thomas Petazzoni
  0 siblings, 1 reply; 6+ messages in thread
From: Marco Trapanese @ 2014-02-21 21:17 UTC (permalink / raw)
  To: buildroot

Il 21/02/2014 22:01, Peter Korsgaard ha scritto:
> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] udev 182: scsi/scsi.h not found
  2014-02-21 21:17   ` Marco Trapanese
@ 2014-02-21 22:59     ` Thomas Petazzoni
  0 siblings, 0 replies; 6+ messages in thread
From: Thomas Petazzoni @ 2014-02-21 22:59 UTC (permalink / raw)
  To: buildroot

Dear Marco Trapanese,

On Fri, 21 Feb 2014 22:17:25 +0100, Marco Trapanese wrote:
> Il 21/02/2014 22:01, Peter Korsgaard ha scritto:
> > 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
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] udev 182: scsi/scsi.h not found
  2014-02-21 19:37 [Buildroot] udev 182: scsi/scsi.h not found Marco Trapanese
  2014-02-21 21:01 ` Peter Korsgaard
@ 2014-02-24 10:42 ` Jérôme Pouiller
  2014-02-24 11:18   ` Marco Trapanese
  1 sibling, 1 reply; 6+ messages in thread
From: Jérôme Pouiller @ 2014-02-24 10:42 UTC (permalink / raw)
  To: buildroot

Hello,

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".




-- 
J?r?me Pouiller, Sysmic
Embedded Linux specialist
http://www.sysmic.fr

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] udev 182: scsi/scsi.h not found
  2014-02-24 10:42 ` Jérôme Pouiller
@ 2014-02-24 11:18   ` Marco Trapanese
  0 siblings, 0 replies; 6+ messages in thread
From: Marco Trapanese @ 2014-02-24 11:18 UTC (permalink / raw)
  To: buildroot

Il 24/02/2014 11:42, J?r?me Pouiller ha scritto:
> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-02-24 11:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-21 19:37 [Buildroot] udev 182: scsi/scsi.h not found Marco Trapanese
2014-02-21 21:01 ` Peter Korsgaard
2014-02-21 21:17   ` Marco Trapanese
2014-02-21 22:59     ` Thomas Petazzoni
2014-02-24 10:42 ` Jérôme Pouiller
2014-02-24 11:18   ` Marco Trapanese

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox