[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Is it possible to install older linux-headers on Debian 8



One quick question:
If ata.h is missing from latest package then which file is replacement for it?
May be i need to ask this on libc-help mailing list but asking if anyone knows about it.

On Thu, Jun 18, 2015 at 5:01 PM, Dhiraj Bhor <dhirajbhor21@gmail.com> wrote:
I am not in position to take first option.
I have tried second option but it gave me error like
$ sudo dpkg -i linux-kernel-headers_2.6.18-7_i386.deb
Selecting previously unselected package linux-kernel-headers.
dpkg: regarding linux-kernel-headers_2.6.18-7_i386.deb containing linux-kernel-headers:
 linux-libc-dev:i386 conflicts with linux-kernel-headers
  linux-kernel-headers (version 2.6.18-7) is to be installed.

dpkg: error processing archive linux-kernel-headers_2.6.18-7_i386.deb (--install):
 conflicting packages - not installing linux-kernel-headers
Errors were encountered while processing:
 linux-kernel-headers_2.6.18-7_i386.deb


Googling does not show much help.
Do i need to do something else?



On Tue, Jun 16, 2015 at 6:52 PM, Reco <recoverym4n@gmail.com> wrote:
 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 <dhirajbhor21@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-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] 20150616132243.GA11179@x101h" rel="noreferrer" target="_blank">https://lists.debian.org/[🔎] 20150616132243.GA11179@x101h




Reply to: