Hi. On Tue, Jun 16, 2015 at 04:57:56PM +0530, Dhiraj Bhor wrote: > Hey, > Can anyone redirect me to correct link or clue? > > On Mon, Jun 15, 2015 at 5:10 PM, Dhiraj Bhor <dhirajbho...@gmail.com> wrote: > > Hi all, > > I have one build system which is legacy and i am just compiling the > older code on new debian 8 machine. > Its a scons build and when i started the build, i got following error. > scons: done reading SConscript files. > scons: Building targets ... > scons: building associated BuildDir targets: OUTPUT/ > C++ OUTPUT/MyCppFile.o > SOURCE/MyCppFile.cpp:35:23: fatal error: linux/ata.h: No such file or > directory > #include <linux/ata.h> > ^ > compilation terminated. > scons: *** [OUTPUT/MyCppFile.o] Error 1 > scons: building terminated because of errors. > Makefile:116: recipe for target 'test' failed > make: *** [test] Error 2 > > I searched on internet but no clue. > I have linux-headers installed and here is output: > $ dpkg -l | grep linux-headers > ii linux-headers-3.16.0-4-686-pae 3.16.7-ckt9-3~deb8u1 i386 > Header files for Linux 3.16.0-4-686-pae > ii linux-headers-3.16.0-4-common 3.16.7-ckt9-3~deb8u1 i386 > Common header files for Linux 3.16.0-4 > > Can someone help in this?
<linux/ata.h> should translate to /usr/include/linux/ata.h, unless scons does some black magic with includes location. /usr/include/linux belongs to linux-libc-dev package, not kernel headers. Since co-installing different versions of linux-libc-dev is not possible in current stable Debian (jessie), you have the following options: 1) Use debootstap to make a chroot of older Debian version (presumably, squeeze or older, as wheezy's linux-libc-dev does not have linux/ata.h). 2) Try to install an old linux-libc-dev (presumably, from squeeze), possibly breaking your current installation beyond repair. Reco -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150616132243.GA11179@x101h