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

depmod -a complains about lirc_serial



I'm suddenly unable to load lirc_serial. 

I don't get any errors compiling the lirc kernel modules. I'm using
the latest lirc-modules-source from testing labeled 0.6.6-5

$ modprobe  -v lirc_serial
modprobe: Can't locate module lirc_serial

$ insmod  -v lirc_serial |grep lirc  
user function /lib/modules/2.4.20babar2/misc/lirc_serial.o
/lib/modules/2.4.20babar2/misc/lirc_serial.o: ELF file /lib/modules/2.4.20babar2/misc/lirc_serial.o not a relocatable object
user function /lib/modules/2.4.20babar2/misc/lirc_serial.o
Using /lib/modules/2.4.20babar2/misc/lirc_serial.o

$ depmod -v -a |grep lirc
user function /lib/modules/2.4.20babar2/misc/lirc_serial.o
depmod: ELF file /lib/modules/2.4.20babar2/misc/lirc_serial.o not a relocatable object


My only other tree under /usr/src/modules is alsa and those modules
compile and load with no complaints.

I've recompiled kernel + modules a couple of times to no avail.

$file /lib/modules/2.4.20babar2/misc/lirc_serial.o
/lib/modules/2.4.20babar2/misc/lirc_serial.o:       ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped
						                   ^^^^^^^^^^^^^

But for an older (working) compile I have.

$file /lib/modules/2.4.20babar1/misc/lirc_serial.o
/lib/modules/2.4.20babar1/misc/lirc_serial.o:       ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped
                                                                   ^^^^^^^^^^^

I suppose that something is going wrong at compile time. I've untarred
fresh kernel and module sources but the error is still there.

The ld command has an option  --relocateable that is supposed to
produce relocateable files (whatever that is) but I have know idea how
I to  get  make-kpkg to invoke this option, or if it would really
help.


All help is appreciated.

alex

-- 


Alex Polite
http://plusseven.com/gpg



Reply to: