Compile modules on 64-bit Linux kernel system for 686 Linux kernel

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

 



Hi guys,

( please CC )


I am running Debian Sid/unstable with a 32-bit userspace with a 64-bit
kernel [1]. I want to compile the v4l-dvb modules for a 686 kernel [2]
on this system.

I installed the header files for the 686 kernel [3], but running

$ ARCH=686 make
make -C /tmp/v4l-dvb/v4l 
make[1]: Entering directory `/tmp/v4l-dvb/v4l'
perl
scripts/make_config_compat.pl /lib/modules/2.6.30-1-amd64/source ./.myconfig ./config-compat.h
creating symbolic links...
make -C firmware prep
make[2]: Entering directory `/tmp/v4l-dvb/v4l/firmware'
make[2]: Leaving directory `/tmp/v4l-dvb/v4l/firmware'
make -C firmware
make[2]: Entering directory `/tmp/v4l-dvb/v4l/firmware'
  CC  ihex2fw
Generating vicam/firmware.fw
Generating dabusb/firmware.fw
Generating dabusb/bitstream.bin
Generating ttusb-budget/dspbootcode.bin
Generating cpia2/stv0672_vp4.bin
Generating av7110/bootcode.bin
make[2]: Leaving directory `/tmp/v4l-dvb/v4l/firmware'
Kernel build directory is /lib/modules/2.6.30-1-amd64/build
make -C /lib/modules/2.6.30-1-amd64/build SUBDIRS=/tmp/v4l-dvb/v4l
modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.30-1-amd64'
[…]

still uses the 64-bit modules in /lib/modules/2.6.30-1-amd64 and the
files in /usr/src/linux-headers-2.6.30-1-amd64.

I do not even know if this is the correct way.

Can someone of you please enlighten me?


Thanks,

Paul


[1] http://packages.debian.org/de/sid/linux-image-2.6.30-1-amd64
[2] http://packages.debian.org/de/sid/linux-image-2.6.30-1-686
[3] http://packages.debian.org/de/sid/linux-headers-2.6.30-1-686

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux