Kernel-headers problem
Hi guys,
I am currently trying to compile the User Mode Linux inside my Arch box. I think my problem is related to the lack of the file /usr/include/linux/threads.h. I know that this file is a header provided by some legacy kernel-threads package. My question is: is there any way to find this header inside the the arch linux or is replaced by another header?
Thanks,
Benedict_White wrote:
Is there any way to get it to support LinuxThreads?
Only I have to get MySQL 3.23.58 working and that appears to need it.
No. Glibc 2.4 dropped linuxthreads support. Don't try and downgrade glibc, otherwise you will need to recompile almost every single package on the system.
Similar Messages
-
[SOLVED] kernel-headers & VirtualBox. Still same problems! (
Hi guys, i'm new to this forum, but i didn't found an answer anywhere! I'm trying to install VirtualBox 4.2.10 from terminal on my x86 Oracle Linux.
Half year ago, when i tried first, i couldn't resolv the problem and still the same problem today - NO KERNEL HEADERS for ORACLE Linux in REPO! What did wrong after update? I can found headers only for RHEL original kernel, but i don't want to use 2.6.32 kernel version.
Can someone help me and describe true and complete installation VirtualBox for Oracle Linux??? Thanks ahead!
Edited by: 996048 on 25.03.2013 13:26
Edited by: 996048 on 25.03.2013 13:30996048 wrote:
Hi guys, i'm new to this forum, but i didn't found an answer anywhere! I'm trying to install VirtualBox 2.4.10 from terminal on my x86 Oracle Linux.
Half year ago, when i tried first, i couldn't resolv the problem and still the same problem today - NO KERNEL HEADERS for ORACLE Linux in REPO! What did wrong after update? I can found headers only for RHEL original kernel, but i don't want to use 2.6.32 kernel version.
Can someone help me and describe true and complete installation VirtualBox for Oracle Linux??? Thanks ahead!In spite of Rukbat's response, I don't see that we are dealing with a vbox issue .... yet.
We can't know what you did wrong until you know what you did.
Exactly What command did you issue? *Exactly what response did you get? -
Ppc glibc: problem with kernel-headers dependency
I wasn't sure where to post this... After attempting to follow the tutorial Wii Tutorial here: http://wiki.archlinux.org/index.php/Wii_Tutorial I discovered that the kernel-headers dependency of glibc is set to the wrong version. The dependency is kernel-headers version 2.6.29.4. However, in the repository, the current version is 2.6.29.1-1. I'm not sure what's going on here.
DaNiMoTh wrote:
Fixed with release of 2.6.29.4 kernel-headers package. Next time, fill the bug on our flyspray ( bugs.archlinux.org ), we'll correct much faster.
Thanks
ppc architecture is not supported by archlinux.org . the project is supported by http://archlinuxppc.org/
Last edited by wonder (2009-11-20 19:23:11) -
Hi,
When I run this
[root@localhost Server]# yum install kernel-headers
I have got
file /usr/include/linux/types.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
file /usr/include/linux/udf_fs_i.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
file /usr/include/linux/udp.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
file /usr/include/linux/uinput.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
file /usr/include/linux/uio.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
file /usr/include/linux/ultrasound.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
file /usr/include/linux/unistd.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
file /usr/include/linux/usbdevice_fs.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
file /usr/include/linux/utime.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
file /usr/include/linux/utsname.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
file /usr/include/linux/version.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
file /usr/include/linux/videodev.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
file /usr/include/linux/videodev2.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
file /usr/include/linux/videotext.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
file /usr/include/linux/virtio_blk.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
file /usr/include/linux/virtio_net.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
file /usr/include/linux/virtio_pci.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
file /usr/include/linux/virtio_ring.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
file /usr/include/linux/vt.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
file /usr/include/linux/wireless.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
file /usr/include/linux/xattr.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
file /usr/include/linux/xfrm.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
file /usr/include/mtd/inftl-user.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
file /usr/include/mtd/mtd-abi.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
file /usr/include/mtd/mtd-user.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
file /usr/include/mtd/nftl-user.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
file /usr/include/sound/asequencer.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
file /usr/include/sound/asound.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
file /usr/include/sound/asound_fm.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
file /usr/include/sound/emu10k1.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
file /usr/include/sound/hdsp.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
file /usr/include/sound/hdspm.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
file /usr/include/sound/sfnt_info.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
file /usr/include/video/sisfb.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
Error Summary
But why do I see nothing by this?
[root@localhost Server]# rpm -qa| grep kernel-headers
[root@localhost Server]#
Here is what I get
[root@localhost ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.8 (Tikanga)Thanks. I ran it and I got this confirmation
=================================================================================================
Package Arch Version Repository Size
=================================================================================================
Removing:
kernel-uek-headers i686 2.6.32-200.13.1.el5uek installed 2.2 M
Removing for dependencies:
compat-glibc i386 1:2.3.4-2.26 installed 3.4 M
compat-glibc-headers i386 1:2.3.4-2.26 installed 1.9 M
gcc i386 4.1.2-52.el5 installed 9.6 M
gcc-c++ i386 4.1.2-52.el5 installed 6.5 M
gcc-gfortran i386 4.1.2-52.el5 installed 6.9 M
gcc-gnat i386 4.1.2-52.el5 installed 33 M
gcc-java i386 4.1.2-52.el5 installed 5.9 M
gcc-objc i386 4.1.2-52.el5 installed 5.5 M
gcc-objc++ i386 4.1.2-52.el5 installed 5.8 M
gcc44 i386 4.4.6-3.el5.1 installed 17 M
gcc44-c++ i386 4.4.6-3.el5.1 installed 10 M
gcc44-gfortran i386 4.4.6-3.el5.1 installed 11 M
glibc-devel i386 2.5-81.el5_8.1 installed 4.9 M
glibc-headers i386 2.5-81.el5_8.1 installed 2.0 M
systemtap i386 1.6-7.el5_8 installed 8.0 M
Transaction Summary
=================================================================================================
Remove 16 Package(s)
Reinstall 0 Package(s)
Downgrade 0 Package(s)
Is this ok [y/N]:
But the items like the below
compat-glibc i386 1:2.3.4-2.26 installed 3.4 M
compat-glibc-headers i386 1:2.3.4-2.26 installed 1.9 M
gcc i386 4.1.2-52.el5 installed 9.6 M
gcc-c++ i386 4.1.2-52.el5 installed 6.5 M
glibc-devel i386 2.5-81.el5_8.1 installed 4.9 M
glibc-headers i386 2.5-81.el5_8.1 installed 2.0 M
are really needed for my R12. What should be done next?
Edited by: HuaMin on Apr 13, 2012 5:15 PM -
[solved] building the kernel headers for custom kernels
well, ive been building several different kernels for my laptop, so that i can test stuff. but ive got a problem with the kernel headers.
ive mirrored the arch kernel's PKGBUILD and modified some naming to get a custom kernel. but when i try to build a custmo module, it complains the headers are broken. (example, vbox_build_module).
im pasting the pkgbuild here for future reference...if someone sees something thats plain wrong, please say so.
thanks
# $Id: PKGBUILD 60382 2009-12-04 15:31:11Z tpowa $
# Maintainer: Tobias Powalowski <[email protected]>
# Maintainer: Thomas Baechler <[email protected]>
pkgbase="kernel26"
#pkgname=('kernel26' 'kernel26-firmware' 'kernel26-headers') # Build stock -ARCH kernel
pkgname=('kernel26-git' 'kernel26-git-headers') # Build kernel with a different name
_kernelname=${pkgname#kernel26}
pkgver=2.6.34
pkgrel=1
_patchname=""
_branch="linux-2.6"
_gittag="v2.6.34-rc3"
#_gittag="origin"
arch=(i686 x86_64)
license=('GPL2')
groups=('base')
url="http://www.kernel.org"
source=(config
# standard config files for mkinitcpio ramdisk
kernel26.preset
${_patchname})
build() {
cd ${srcdir}/$_branch
msg "Fetching branch ${_branch}"
## FOR BISECT, Comment these lines
git reset --hard
git clean -d -f
git fetch
msg "Cheking out tag ${_gittag}"
git checkout $_gittag
### a patch
if [ "${_patchname}" != "" ]; then
patch -Np1 -i ${srcdir}/$_patchname || return 1
fi
# if [ "$CARCH" = "x86_64" ]; then
cat ../config.x86_64 >./.config
# else
cat ../config >./.config
# fi
if [ "${_kernelname}" != "" ]; then
sed -i "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"${_kernelname}\"|g" ./.config
fi
# get kernel version
make prepare
# load configuration
# Configure the kernel. Replace the line below with one of your choice.
make menuconfig # CLI menu for configuration
#make xconfig # X-based configuration
#make oldconfig # using old config from previous kernel version
# ... or manually edit .config
# stop here
# this is useful to configure the kernel
#msg "Stopping build"
#return 1
yes "" | make config
# build!
make bzImage modules || return 1
package_kernel26-git() {
pkgdesc="The Linux Kernel and modules"
backup=(etc/mkinitcpio.d/${pkgname}.preset)
depends=('coreutils' 'kernel26-firmware>=2.6.32' 'module-init-tools' 'mkinitcpio>=0.5.20')
# pwc, ieee80211 and hostap-driver26 modules are included in kernel26 now
# nforce package support was abandoned by nvidia, kernel modules should cover everything now.
# kernel24 support is dropped since glibc24
replaces=('kernel24' 'kernel24-scsi' 'kernel26-scsi'
'alsa-driver' 'ieee80211' 'hostap-driver26'
'pwc' 'nforce' 'squashfs' 'unionfs' 'ivtv'
'zd1211' 'kvm-modules' 'iwlwifi' 'rt2x00-cvs'
'gspcav1' 'atl2' 'wlan-ng26' 'rt2500')
install=kernel26.install
optdepends=('crda: to set the correct wireless channels of your country')
KARCH=x86
cd ${srcdir}/$_branch
_kernver="$(make kernelrelease)"
mkdir -p ${pkgdir}/{lib/modules,boot}
make INSTALL_MOD_PATH=${pkgdir} modules_install || return 1
cp System.map ${pkgdir}/boot/System.map26${_kernelname}
cp arch/$KARCH/boot/bzImage ${pkgdir}/boot/vmlinuz26${_kernelname}
# # add vmlinux
install -m644 -D vmlinux ${pkgdir}/usr/src/linux-${_kernver}/vmlinux
# install fallback mkinitcpio.conf file and preset file for kernel
install -m644 -D ${srcdir}/kernel26.preset ${pkgdir}/etc/mkinitcpio.d/${pkgname}.preset || return 1
# set correct depmod command for install
sed \
-e "s/KERNEL_NAME=.*/KERNEL_NAME=${_kernelname}/g" \
-e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" \
-i $startdir/kernel26.install
sed \
-e "s|source .*|source /etc/mkinitcpio.d/kernel26${_kernelname}.kver|g" \
-e "s|default_image=.*|default_image=\"/boot/${pkgname}.img\"|g" \
-e "s|fallback_image=.*|fallback_image=\"/boot/${pkgname}-fallback.img\"|g" \
-i ${pkgdir}/etc/mkinitcpio.d/${pkgname}.preset
echo -e "# DO NOT EDIT THIS FILE\nALL_kver='${_kernver}'" > ${pkgdir}/etc/mkinitcpio.d/${pkgname}.kver
# remove build and source links
rm -f ${pkgdir}/lib/modules/${_kernver}/{source,build}
# remove the firmware
rm -rf ${pkgdir}/lib/firmware
package_kernel26-git-headers() {
pkgdesc="Header files and scripts for building modules for kernel26"
mkdir -p ${pkgdir}/lib/modules/${_kernver}
cd ${pkgdir}/lib/modules/${_kernver}
ln -sf ../../../usr/src/linux-${_kernver} build
cd ${srcdir}/$_branch
install -D -m644 Makefile \
${pkgdir}/usr/src/linux-${_kernver}/Makefile
install -D -m644 kernel/Makefile \
${pkgdir}/usr/src/linux-${_kernver}/kernel/Makefile
install -D -m644 .config \
${pkgdir}/usr/src/linux-${_kernver}/.config
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/include
for i in acpi asm-{generic,x86} config linux math-emu media net pcmcia scsi sound trace video; do
cp -a include/$i ${pkgdir}/usr/src/linux-${_kernver}/include/
done
# copy arch includes for external modules
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/arch/x86
cp -a arch/x86/include ${pkgdir}/usr/src/linux-${_kernver}/arch/x86/
# copy files necessary for later builds, like nvidia and vmware
cp Module.symvers ${pkgdir}/usr/src/linux-${_kernver}
cp -a scripts ${pkgdir}/usr/src/linux-${_kernver}
# fix permissions on scripts dir
chmod og-w -R ${pkgdir}/usr/src/linux-${_kernver}/scripts
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/.tmp_versions
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/kernel
cp arch/$KARCH/Makefile ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/
if [ "$CARCH" = "i686" ]; then
cp arch/$KARCH/Makefile_32.cpu ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/
fi
cp arch/$KARCH/kernel/asm-offsets.s ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/kernel/
# add headers for lirc package
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video
cp drivers/media/video/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/
for i in bt8xx cpia2 cx25840 cx88 em28xx et61x251 pwc saa7134 sn9c102 usbvideo zc0301; do
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/$i
cp -a drivers/media/video/$i/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/$i
done
# add docbook makefile
install -D -m644 Documentation/DocBook/Makefile \
${pkgdir}/usr/src/linux-${_kernver}/Documentation/DocBook/Makefile
# add dm headers
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/md
cp drivers/md/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/md
# add inotify.h
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/include/linux
cp include/linux/inotify.h ${pkgdir}/usr/src/linux-${_kernver}/include/linux/
# add wireless headers
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/net/mac80211/
cp net/mac80211/*.h ${pkgdir}/usr/src/linux-${_kernver}/net/mac80211/
# add dvb headers for external modules
# in reference to:
# http://bugs.archlinux.org/task/9912
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-core
cp drivers/media/dvb/dvb-core/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-core/
# add dvb headers for external modules
# in reference to:
# http://bugs.archlinux.org/task/11194
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/
cp include/config/dvb/*.h ${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/
# add dvb headers for http://mcentral.de/hg/~mrec/em28xx-new
# in reference to:
# http://bugs.archlinux.org/task/13146
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/
cp drivers/media/dvb/frontends/lgdt330x.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/
cp drivers/media/video/msp3400-driver.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/
# add xfs and shmem for aufs building
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/fs/xfs
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/mm
cp fs/xfs/xfs_sb.h ${pkgdir}/usr/src/linux-${_kernver}/fs/xfs/xfs_sb.h
# add headers vor virtualbox
# in reference to:
# http://bugs.archlinux.org/task/14568
cp -a include/drm $pkgdir/usr/src/linux-${_kernver}/include/
# add headers for broadcom wl
# in reference to:
# http://bugs.archlinux.org/task/14568
cp -a include/trace $pkgdir/usr/src/linux-${_kernver}/include/
# copy in Kconfig files
for i in `find . -name "Kconfig*"`; do
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/`echo $i | sed 's|/Kconfig.*||'`
cp $i ${pkgdir}/usr/src/linux-${_kernver}/$i
done
cd ${pkgdir}/usr/src/linux-${_kernver}/include && ln -s asm-$KARCH asm
# add header for aufs2-util
cp -a ${srcdir}/$_branch/include/asm-generic/bitsperlong.h ${pkgdir}/usr/src/linux-${_kernver}/include/asm/
chown -R root.root ${pkgdir}/usr/src/linux-${_kernver}
find ${pkgdir}/usr/src/linux-${_kernver} -type d -exec chmod 755 {} \;
# remove unneeded architectures
rm -rf ${pkgdir}/usr/src/linux-${_kernver}/arch/{alpha,arm,arm26,avr32,blackfin,cris,frv,h8300,ia64,m32r,m68k,m68knommu,mips,microblaze,mn10300,parisc,powerpc,ppc,s390,sh,sh64,sparc,sparc64,um,v850,xtensa}
package_kernel26-firmware() {
pkgdesc="The included firmware files of the Linux Kernel"
groups=('base')
cd ${srcdir}/$_branch
make firmware || return 1
make INSTALL_MOD_PATH=${pkgdir} firmware_install || return 1
Last edited by eldragon (2010-04-04 14:58:16)ngoonee wrote:
Check out this line
for i in acpi asm-{generic,x86} config linux math-emu media net pcmcia scsi sound trace video; do
for anything that might be missing. The error message when compiling would give you more of a clue. Off-hand, you may need to add 'generated', as I recall I needed that when the kernel moved to 2.6.33.
Problem with vbox_build_module after Kernel update.
Would you care to elaborate for us less versed in "Linux Geek" skills?
Thanks.......
[root@Arch2009p2 jeff]# vbox_build_module
Building vboxdrv for Linux 2.6.33-ARCH
make[1]: Entering directory `/opt/VirtualBox/src/vboxdrv'
for f in . linux r0drv r0drv/generic r0drv/linux VBox common/err common/string common/log generic math/gcc; \
do rm -f $f/*.o $f/.*.cmd $f/.*.flags; done
rm -rf .vboxdrv* .tmp_ver* vboxdrv.* Module.symvers Modules.symvers modules.order
make[1]: Leaving directory `/opt/VirtualBox/src/vboxdrv'
make[1]: Entering directory `/opt/VirtualBox/src/vboxnetflt'
for f in . linux r0drv r0drv/linux VBox common/err common/string common/log generic math/gcc; \
do rm -f $f/*.o $f/.*.cmd $f/.*.flags; done
rm -rf .vboxnetflt* .tmp_ver* vboxnetflt.* Modules.symvers modules.order
make[1]: Leaving directory `/opt/VirtualBox/src/vboxnetflt'
make[1]: Entering directory `/opt/VirtualBox/src/vboxnetadp'
for f in . linux r0drv r0drv/linux VBox common/err common/string common/log generic math/gcc; \
do rm -f $f/*.o $f/.*.cmd $f/.*.flags; done
rm -rf .vboxnetadp* .tmp_ver* vboxnetadp.* Modules.symvers modules.order
make[1]: Leaving directory `/opt/VirtualBox/src/vboxnetadp'
rm -f vboxdrv.ko vboxnetflt.ko vboxnetadp.ko
*** Building 'vboxdrv' module ***
make[1]: Entering directory `/opt/VirtualBox/src/vboxdrv'
make KBUILD_VERBOSE= -C /lib/modules/2.6.33-ARCH/build SUBDIRS=/opt/VirtualBox/src/vboxdrv SRCROOT=/opt/VirtualBox/src/vboxdrv modules
make[2]: Entering directory `/usr/src/linux-2.6.33-ARCH'
CC [M] /opt/VirtualBox/src/vboxdrv/linux/SUPDrv-linux.o
In file included from /opt/VirtualBox/src/vboxdrv/include/VBox/types.h:34,
from /opt/VirtualBox/src/vboxdrv/linux/../SUPDrvInternal.h:39,
from /opt/VirtualBox/src/vboxdrv/linux/SUPDrv-linux.c:37:
/opt/VirtualBox/src/vboxdrv/include/iprt/types.h:100:30: error: linux/autoconf.h: No such file or directory
make[3]: *** [/opt/VirtualBox/src/vboxdrv/linux/SUPDrv-linux.o] Error 1
make[2]: *** [_module_/opt/VirtualBox/src/vboxdrv] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.33-ARCH'
make[1]: *** [vboxdrv] Error 2
make[1]: Leaving directory `/opt/VirtualBox/src/vboxdrv'
make: *** [all] Error 2 -
Kernel Headers without internet connection without pacman -S
Hi all,
I need to rebuild the wl module after upgrading to kernel 2.6.32. When I compile the source code it gives an error saying I have to install kernel headers. The problem is that I dont have access wired internet so I have to download the kernel headers to another computer and move it to mine with a usb stick. Is there any way to find the kernel headers as a package and install it with the command pacman -u ?
Thanks in advance
Regards
Last edited by ramsesiitr (2010-03-07 22:38:39)Hi again,
The problem is solved. First of all, I just realized that I opened the topic with wrong subject title. Sorry for that.
As I said before, I could only reach wireless internet, but in order to make the wireless work I had to compile wl module. But, after I performed the upgrade to kernel 2.6.32, I needed the kernel header in order to compile it. What I did was downloaded the kernel26-headers 2.6.32.9-1 package from here: http://repos.archlinux.org/wsvn/package … re-x86_64/ then I downloaded the kernel-2.6.32 and patch-2.6.32.9-1-Arch files as indicated in PKGBUILD file.
Then I place these two files same folder with PKGBUILD. I changed the source lines in PKGBUILD and ran
makepkg --asroot
pacman -U <created_package_name>
then I was able to compile the necessary module.
I am newbee for Archlinux. Hope I have done the right things so far.
Thanks -
Kernel-headers and kernel26-beyond out of sync?
Hello,
I am using kernel26-beyond (currently at 2.6.19), but every time a vanilla kernel gets upgraded, I get kernel-headers upgraded also (currently at 2.6.20). I wonder if wouldn't be better if there was different kernel-headers-beyond package for kernel26-beyond kernels? I am just afraid I could have problems while compiling some programs while vanilla and beyond variants of kernel are out of sync.
I imagine this is valid for other variants of kernels as well.
Another solution would be to release all the kernel variants at the same time, but I don;'t know if it would be possible.
Regards,
mikomykey wrote:Just to get this straight - only when glibc is compiled against new kernel-headers (e.g. 2.6.21) it is safe to upgrade kernel-headers (to 2.6.21) even if the used kernel version is still 2.6.19 ?
yes, and glibc will be recompiled when the kernel headers are updated, so you're able to upgrade safely.
You can use any kernel you like (within reason), it doesnt have to match the kernel-headers version. -
"error: failed to prepare transaction (could not satisfy dependencies)
:: glibc: requires kernel-headers>=2.6.25.6
I compile my own x64 latest kernel from kernel.org but I'd like to get rid of the existing kernel-headers. I dont know what is the problem but it wont let me do that.darthaxul wrote:
I didnt care about it matching up or anything like that I just wanted to get rid of that package bacuse I had newer kernel headers.
pacman -Q kern |grep kern....shows nothing...it musta worked.
It's not really an achievement to force-remove a package. The question is whether there will be consequences to removing it? If I were you I'd listen when a developer tells you that a given package is necessary... I mean, "I just wanted to get rid of that package bacuse I had newer kernel headers" is not a particularly good argument.
Last edited by fwojciec (2008-09-30 21:47:51) -
Kernel Label problem for SOL MAN 4.0
Hi
When was installing a Unicode SolMan 4.0 on Win 2003 SQL server 2005.
I have downloaded a following CD for Kernel -
51031778_11 NW 2004s SR1 UC-Kernel 7.00 Windows Server on IA32 32bit
When I give the LABEL.ASC for kernel, it does not accept it and give me following error -
You entered: E:/nw04s/kernel/DVD_NW_2004s_SR1_Kernel_Windows__LNX_X86/LABEL.ASC
Found the label SAP:AKK:700:DVD_KERNEL:SAP Kernel 700:D51031778 but need label
SAP:AKK:700:KERNEL:.WINDOWS_I386:
I tried all these option from the below link, but it did not work
Kernel Label problem...
Does any one have solution for that?
I appreciate your help
regards
kamalHi udo lang,
I have downloaded the Kernel file 51031778_3 NW 2004s SR1 Kernel 7.00 Windows Server on IA32 32bit today. I will try to fix the problem by using this kernel.
I also got reply from Sap that solution for this issue is:
This is most unusual. Due to the currently running RampUp the
DVD's could have been updated.
I suggest that you try the following,
Download both the Unicode and NonUnicode Kernel files from the
SAP Service Market Place.
The Kernel DVD 51031778 contains the Kernel for Unicode and for Non-
Unicode, as you wrote, in directory "", label:
"SAP:AKK:700:KERNEL::WINDOWS_X86_64:"
Please check if you start Unicode Installation. Due to an incorrect
procedure sapinst requireds both Kernel-CD.
With the next release will be it correct. If you start a Unicode
installation it will be a unicode.
51031792_5 NW 2004s SR1 UC-Kernel 7.00 AIX 64bit
51031792_1 NW 2004s SR1 Kernel 7.00 AIX 64bit
Etract them to one directory, like:
<downloadDIR>/
kernel/
KN_WINDOWS_I386/
KU_WINDOWS_I386/
CDLABEL.ASC
LABEL.ASC
LABELIDX.ASC
When you ware asked for the kernel DVD, please enter
<downloadDIR>/kernel
SAPinst should take the right kernel version for the installation
automatically.
You may additionally refer to the below note for reference.
921593 Inst. SAP NetWeaver 2004s SR1 on UNIX
If the problem is resolved i will let you know. Thanks for your assistance
regards
Kamal -
[SOLVED] Missing Kernel Headers for Catalyst
Hello Everyone,
I am a new Arch guy! I am from the ubuntu world. Love the new arch install, I have installed my own DE.
I use a Radeon HD 68xx so I need the catalyst drivers.
I have tried installing them via: sudo pacman -S catalyst-dkms catalyst-utils (per the wiki)
It gets to the end and gives me this message:
DKMS: add completed.
Error! echo
Your kernel headers for kernel 3.6.2-1-ARCH cannot be found at
/usr/lib/modules/3.6.2-1-ARCH/build or /usr/lib/modules/3.6.2-1-ARCH/source.
error: command failed to execute correctly
Can anybody assist on how I get the kernel headers? As far as I understood, they should be included in Arch.
Last edited by luis84 (2012-10-19 03:08:17)drewofdoom wrote:
do this:
sudo pacman -Sy linux-headers
Don't use 'pacman -Sy foo' - it may lead to breakage https://bbs.archlinux.org/viewtopic.php?id=89328 -
Download kernel-headers-2.6.18-8.el5.x86_64
Hi
please help me How to down load the kernel-headers-2.6.18-8.el5.x86_64 RPM
please provide me the link
Thanks
simhaHi
I download the soft ware and i taken form the DUMP and i try to install it showing the error like
please suggest me to install the package..............
rpm -Uvh kernel-headers-2.6.18-194.el5.x86_64.rpm
Preparing... ########################################### [100%]
file /usr/include/asm-generic/fcntl.h from install of kernel-headers-2.6.18-194.el5.x86_64 conflicts with file from package kernel-uek-headers-2.6.32-100.35.1.el5uek.x86_64
file /usr/include/asm-generic/ioctl.h from install of kernel-headers-2.6.18-194.el5.x86_64 conflicts with file from package kernel-uek-headers-2.6.32-100.35.1.el5uek.x86_64
file /usr/include/asm-generic/mman.h from install of kernel-headers-2.6.18-194.el5.x86_64 conflicts with file from package kernel-uek-headers-2.6.32-100.35.1.el5uek.x86_64
file /usr/include/asm-generic/resource.h from install of kernel-headers-2.6.18-194.el5.x86_64 conflicts with file from package kernel-uek-headers-2.6.32-100.35.1.el5uek.x86_64
Thanks
simha -
Kernel-headers: /usr/include/linux/ivtv.h exists in filesystem
can't update kernelheaders caus that file exist issue!
kernel-headers: /usr/include/linux/ivtv.h exists in filesystemFind out which package it belongs to (pacman will do this for you), then report it on the bugtracker, if it hasn't already been reported.
-
Pacman fails. gcc-uclibc: requires kernel-headers- What's this???
After my last update a few weeks ago, I always get this. I've updated kernel, pacman, and initscripts manually, and messed with pacman.conf for days.
Read countless forums posts, googled for hours, tried many "solutions" and can't figure this out. (enable/disable different repos, SigLevels, db refreshes, etc.)
gcc-uclibc kernel-headers don't seem to exist, and only a few references (of no help, and old)) show up in all my searching.
My system boots normally, and is running OK- just can't get pacman to work, and can't get past this blocker
Can anyone point me in the right direction? Has anyone even seen this gcc-uclibc/kernel-headers error recently.
root@myhost wrc]# pacman -Syu
:: Synchronizing package databases...
testing 185.0 B 20.2K/s 00:00 [#############################################] 100%
testing is up to date
core 185.0 B 2.15M/s 00:00 [#############################################] 100%
core is up to date
extra 185.0 B 2.76M/s 00:00 [#############################################] 100%
extra is up to date
community 185.0 B 2.76M/s 00:00 [#############################################] 100%
community is up to date
:: Starting full system upgrade...
:: Replace pyxdg with extra/python2-xdg? [Y/n] Y
resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: gcc-uclibc: requires kernel-headers
[root@myhost wrc]#
Last edited by wrc1944 (2012-07-13 16:43:49)gcc-uclibc is not on my system. I'm following instructions on the issues 2 section of the above mentioned wiki page, and have gotten the list down to this:
[root@myhost wrc]# find /lib -exec pacman -Qo -- '{}' \+
error: cannot determine ownership of directory '/lib'
/lib/libpthread.so.0 is owned by glibc 2.15-12
/lib/libnss_nis.so.2 is owned by glibc 2.15-12
/lib/libthread_db.so.1 is owned by glibc 2.15-12
/lib/libnss_dns.so.2 is owned by glibc 2.15-12
/lib/ld64-uClibc-0.9.30.1.so is owned by uclibc-runtime 0.9.30.1-4
/lib/libnss_files-2.15.so is owned by glibc 2.15-12
/lib/libm-2.15.so is owned by glibc 2.15-12
/lib/libnss_compat.so.2 is owned by glibc 2.15-12
/lib/libnss_db.so.2 is owned by glibc 2.15-12
/lib/libm.so.6 is owned by glibc 2.15-12
/lib/libpcprofile.so is owned by glibc 2.15-12
/lib/libc.so.6 is owned by glibc 2.15-12
/lib/ld64-uClibc.so.0 is owned by uclibc-runtime 0.9.30.1-4
/lib/libnss_nisplus.so.2 is owned by glibc 2.15-12
/lib/librt.so.1 is owned by glibc 2.15-12
/lib/libcidn.so.1 is owned by glibc 2.15-12
/lib/libanl-2.15.so is owned by glibc 2.15-12
/lib/libBrokenLocale-2.15.so is owned by glibc 2.15-12
/lib/libnss_nisplus-2.15.so is owned by glibc 2.15-12
/lib/libutil-2.15.so is owned by glibc 2.15-12
/lib/libdl-2.15.so is owned by glibc 2.15-12
/lib/libresolv-2.15.so is owned by glibc 2.15-12
/lib/libnss_db-2.15.so is owned by glibc 2.15-12
/lib/ld-linux-x86-64.so.2 is owned by glibc 2.15-12
/lib/ld-linux.so.2 is owned by lib32-glibc 2.15-10
/lib/libnss_hesiod.so.2 is owned by glibc 2.15-12
/lib/libanl.so.1 is owned by glibc 2.15-12
/lib/libcrypt-2.15.so is owned by glibc 2.15-12
/lib/libnss_files.so.2 is owned by glibc 2.15-12
/lib/libSegFault.so is owned by glibc 2.15-12
/lib/libdl.so.2 is owned by glibc 2.15-12
/lib/libnsl-2.15.so is owned by glibc 2.15-12
/lib/libBrokenLocale.so.1 is owned by glibc 2.15-12
/lib/libnss_nis-2.15.so is owned by glibc 2.15-12
/lib/librt-2.15.so is owned by glibc 2.15-12
/lib/libnsl.so.1 is owned by glibc 2.15-12
/lib/libc-2.15.so is owned by glibc 2.15-12
/lib/libcidn-2.15.so is owned by glibc 2.15-12
/lib/libnss_hesiod-2.15.so is owned by glibc 2.15-12
/lib/libcrypt.so.1 is owned by glibc 2.15-12
/lib/libresolv.so.2 is owned by glibc 2.15-12
/lib/libnss_dns-2.15.so is owned by glibc 2.15-12
/lib/libnss_compat-2.15.so is owned by glibc 2.15-12
/lib/libpthread-2.15.so is owned by glibc 2.15-12
/lib/ld-2.15.so is owned by glibc 2.15-12
/lib/libutil.so.1 is owned by glibc 2.15-12
/lib/libmemusage.so is owned by glibc 2.15-12
/lib/libthread_db-1.0.so is owned by glibc 2.15-12
[root@myhost wrc]#
However, pacman -Su still gives the blocking error:
[root@myhost wrc]# pacman -Su
:: Starting full system upgrade...
:: Replace pyxdg with extra/python2-xdg? [Y/n] Y
resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: gcc-uclibc: requires kernel-headers
[root@myhost wrc]#
The next step gives me this, supposedly all these need rebuilding? How can this be, as I'm using the Arch Linux binary packages, and have never rebuilt (re-compiled anything?
[root@myhost wrc]# grep -R --include files "^lib/" /var/lib/pacman/local/
/var/lib/pacman/local/uclibc-runtime-0.9.30.1-4/files:lib/
/var/lib/pacman/local/uclibc-runtime-0.9.30.1-4/files:lib/ld64-uClibc-0.9.30.1.so
/var/lib/pacman/local/uclibc-runtime-0.9.30.1-4/files:lib/ld64-uClibc.so.0
/var/lib/pacman/local/lib32-glibc-2.15-10/files:lib/
/var/lib/pacman/local/lib32-glibc-2.15-10/files:lib/ld-linux.so.2
/var/lib/pacman/local/glibc-2.15-12/files:lib/
/var/lib/pacman/local/glibc-2.15-12/files:lib/ld-2.15.so
/var/lib/pacman/local/glibc-2.15-12/files:lib/ld-linux-x86-64.so.2
/var/lib/pacman/local/glibc-2.15-12/files:lib/libBrokenLocale-2.15.so
/var/lib/pacman/local/glibc-2.15-12/files:lib/libBrokenLocale.so.1
/var/lib/pacman/local/glibc-2.15-12/files:lib/libSegFault.so
/var/lib/pacman/local/glibc-2.15-12/files:lib/libanl-2.15.so
/var/lib/pacman/local/glibc-2.15-12/files:lib/libanl.so.1
/var/lib/pacman/local/glibc-2.15-12/files:lib/libc-2.15.so
/var/lib/pacman/local/glibc-2.15-12/files:lib/libc.so.6
/var/lib/pacman/local/glibc-2.15-12/files:lib/libcidn-2.15.so
/var/lib/pacman/local/glibc-2.15-12/files:lib/libcidn.so.1
/var/lib/pacman/local/glibc-2.15-12/files:lib/libcrypt-2.15.so
/var/lib/pacman/local/glibc-2.15-12/files:lib/libcrypt.so.1
/var/lib/pacman/local/glibc-2.15-12/files:lib/libdl-2.15.so
/var/lib/pacman/local/glibc-2.15-12/files:lib/libdl.so.2
/var/lib/pacman/local/glibc-2.15-12/files:lib/libm-2.15.so
/var/lib/pacman/local/glibc-2.15-12/files:lib/libm.so.6
/var/lib/pacman/local/glibc-2.15-12/files:lib/libmemusage.so
/var/lib/pacman/local/glibc-2.15-12/files:lib/libnsl-2.15.so
/var/lib/pacman/local/glibc-2.15-12/files:lib/libnsl.so.1
/var/lib/pacman/local/glibc-2.15-12/files:lib/libnss_compat-2.15.so
/var/lib/pacman/local/glibc-2.15-12/files:lib/libnss_compat.so.2
/var/lib/pacman/local/glibc-2.15-12/files:lib/libnss_db-2.15.so
/var/lib/pacman/local/glibc-2.15-12/files:lib/libnss_db.so.2
/var/lib/pacman/local/glibc-2.15-12/files:lib/libnss_dns-2.15.so
/var/lib/pacman/local/glibc-2.15-12/files:lib/libnss_dns.so.2
/var/lib/pacman/local/glibc-2.15-12/files:lib/libnss_files-2.15.so
/var/lib/pacman/local/glibc-2.15-12/files:lib/libnss_files.so.2
/var/lib/pacman/local/glibc-2.15-12/files:lib/libnss_hesiod-2.15.so
/var/lib/pacman/local/glibc-2.15-12/files:lib/libnss_hesiod.so.2
/var/lib/pacman/local/glibc-2.15-12/files:lib/libnss_nis-2.15.so
/var/lib/pacman/local/glibc-2.15-12/files:lib/libnss_nis.so.2
/var/lib/pacman/local/glibc-2.15-12/files:lib/libnss_nisplus-2.15.so
/var/lib/pacman/local/glibc-2.15-12/files:lib/libnss_nisplus.so.2
/var/lib/pacman/local/glibc-2.15-12/files:lib/libpcprofile.so
/var/lib/pacman/local/glibc-2.15-12/files:lib/libpthread-2.15.so
/var/lib/pacman/local/glibc-2.15-12/files:lib/libpthread.so.0
/var/lib/pacman/local/glibc-2.15-12/files:lib/libresolv-2.15.so"pacman -Qdt"
/var/lib/pacman/local/glibc-2.15-12/files:lib/libresolv.so.2
/var/lib/pacman/local/glibc-2.15-12/files:lib/librt-2.15.so
/var/lib/pacman/local/glibc-2.15-12/files:lib/librt.so.1
/var/lib/pacman/local/glibc-2.15-12/files:lib/libthread_db-1.0.so
/var/lib/pacman/local/glibc-2.15-12/files:lib/libthread_db.so.1
/var/lib/pacman/local/glibc-2.15-12/files:lib/libutil-2.15.so
/var/lib/pacman/local/glibc-2.15-12/files:lib/libutil.so.1
/var/lib/pacman/local/hal-0.5.14-6/files:lib/
/var/lib/pacman/local/hal-0.5.14-6/files:lib/udev/
/var/lib/pacman/local/hal-0.5.14-6/files:lib/udev/rules.d/
/var/lib/pacman/local/hal-0.5.14-6/files:lib/udev/rules.d/90-hal.rules
[root@myhost wrc
Quote on issue 2 from the wiki page:
Issue 2: The final "pacman -Su" still has conflicts in /lib
This means that you have files or folders still in /lib or pacman thinks a package apart from glibc still own /lib. You can see which package own files in /lib by using:
find /lib -exec pacman -Qo -- '{}' \+
If any package apart from glibc is listed as owning a file, that package needs to be updated to install its files in /usr/lib. Any files unowned by a package should be moved to /usr/lib and any directories within /lib need deleted (after they are empty...).
If after this the "pacman -Su" still has conflicts with /lib, this is because a package on your system other than glibc thinks it owns the /lib folder. Such packages can be detected using:
grep -R --include files "^lib/" /var/lib/pacman/local/
These packages need rebuilding so as not to include the /lib directory. Then the final "pacman -Su" will successfully install glibc.
You can confirm the update is complete by looking in your root directory to see that lib is a symlink to usr/lib.
> ls -ld /lib
lrwxrwxrwx 1 root root 7 Jul 11 21:10 lib -> usr/lib
Last edited by wrc1944 (2012-07-13 21:06:54) -
Arch 0.7.1 pre1 kernel headers
i have read that the kernel headers are included with the kernel packages, which is very nice because i have a sagem fast 800 modem and i need to compile drivers for it. Except for when i installed arch a few days ago i tried to compile my module and just got kernel-sources cannot be found. Was there something with the headers in that packages or are they in a weird place? Can someone help i would really like to use arch linux.
Probably, for your module, the kernel headers are not enough; it needs the sources. You can get them on kernel.org. Make sure you grab the right version. I'm guessing that you need to put them in /usr/src/linux-$(uname -r). I've never messed much with kernel/modules stuff.
-
[SOLVED] VMplayer no kernel headers
Hello all,
Just installed VMPlayer via the following link:
https://wiki.archlinux.org/index.php/VM … n.2FPlayer
and when I run vmware-modconfig --console --install-all I receive the following error:
gcc and kernel headers must be installed.
I installed via:
pacman -S base-devel
It appeared to install everything, however I still get the error.
I checked this link:
https://bbs.archlinux.org/viewtopic.php?id=75988
but that was not for player.
all help is appreciated.
--nixIT
Last edited by nixIT (2011-10-10 02:18:18)It's written right here: https://wiki.archlinux.org/index.php/VM … m.5B....5D :-)
Maybe you are looking for
-
I want to get rid of all the old email without doing one email at a time. I don't want to have to edit and mark each email individually.
-
Import Pricing Procedure-Assesable Value
Dear All, we already having import pricing procedure, now we are adding the assesable value condition in the pricing procedure JASS is the condition which added. All customs duty is calculated properly but at the end we have the conditon of actual pr
-
Why animation keeps breaking even though CPU usage oscilate between 60-90%?
I made a simple animation. In standalone player there is no breaking, but in browser every few seconds it stops and jumps, even though through all the time CPU usage never exceeds 100% but oscillate between 60 and 90%. I tested it on two machines, bo
-
Hi, is it possible to use javascript as an attribute value in a JSTL tag, e.g. <fmt:formatNumber value="${some.value}" pattern="javascript:getPattern();" />so that the pattern can be determined in run-time? Thanks.
-
How do I resolve Error -1 in Keynote?
For several months I have been utilizing the Export to QuickTime feature within Keynote (v 5.3) to save presentations along with all audio commentary made. However, in recent weeks this feature no longer works. After processing about 75% of the expor