<цитата от="Alain Fauconnet">
> Hello readers,
>
> I'm sure this is a stupid question but I can't figure it out. Why is
> the linux-headers RPM for TSL 2.2 still at 2.4.27-1tr when the
> current kernel is 2.4.32-1tr?
linux-headers is a special package for compiling userspace programs that
using some kernel options/abilities but don't vary on kernel-version. For
example, glibc uses l-h for internal syscall list representation,
alsa-utils looking kernel headers for limits and various parameters,
cd-burning programs use l-h for quering cdrom capabilities. Other words
this package holds kernel ABI that stable enough so don't need update
recently.

>
> Just to learn about this, I'm doing my first attempts at compiling a
> kernel module following tutorials I've found online and I get a kernel
> version mismatch when I try to load my module:
>
> helloworld.o: kernel-module version mismatch
>         helloworld.o was compiled for kernel version 2.4.27-4tr
>         while this kernel is version 2.4.32-1tr.
>
> I suspect this comes from the Linux headers.
nope, this comes from incorrect use of linux-headers. l-h not for kernel
modules compiling.

BTW TSL2.2 l-h package holds broken epoll structure, but I don't know to
bug this or not to bug :)

-- 
WBR et al.

_______________________________________________
tsl-discuss mailing list
[email protected]
http://lists.trustix.org/mailman/listinfo/tsl-discuss

Reply via email to