Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#2939 - Kernel needs media/id.h header

Attached to Project: Arch Linux
Opened by Sasha (kleptophobiac) - Saturday, 09 July 2005, 20:38 GMT
Last edited by Judd Vinet (judd) - Wednesday, 24 August 2005, 22:11 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Judd Vinet (judd)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

The [extra] package ivtv requires id.h to compile cleanly, and that is only present if you download full sources and compile. Other required headers appear to be present.
This task depends upon

Closed by  Judd Vinet (judd)
Sunday, 02 October 2005, 18:16 GMT
Reason for closing:  Fixed
Additional comments about closing:  added for next kernel build
Comment by Vlad Seryakov (vseryakov) - Thursday, 28 July 2005, 03:32 GMT
To have all headers installed i added this into PKGBUILD at line 70

# copy in Kconfig files
for i in `find . -name "Kconfig*"`; do
f="`echo $i | sed 's|/Kconfig.*||'`"
mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/$f
cp $i $startdir/pkg/usr/src/linux-${_kernver}/$i
cp $f/*.h $startdir/pkg/usr/src/linux-${_kernver}/$f
done
Comment by Vlad Seryakov (vseryakov) - Friday, 29 July 2005, 20:38 GMT
sorry, this should go into kernel PKGBUILD
Comment by Elad Lahav (elahav) - Monday, 26 September 2005, 18:30 GMT
Actually the entire media directory is missing from the kernel headers. To solve the problem, I have modified the following code

for i in acpi asm-generic asm-i386 config linux math-emu net pcmcia scsi video; do
cp -a include/$i $startdir/pkg/usr/src/linux-${_kernrel}/include/
done

to

for i in acpi asm-generic asm-i386 config linux math-emu media net pcmcia scsi video; do
cp -a include/$i $startdir/pkg/usr/src/linux-${_kernrel}/include/
done

in the kernel's PKGBUILD file.

Loading...