Есть nas dns 320 с ядром 2.6.31.8 Я собрал тулчейн,скачал исходники,нашел конфиг ядра (правда от 2.6.18) собрал модуль,пробую загрузить вижу фигу
sh-4.3# uname -r
2.6.31.8
sh-4.3# insmod tun.ko
insmod: error inserting 'tun.ko': -1 Unknown symbol in module
sh-4.3# file tun.ko
tun.ko: ELF 32-bit LSB relocatable, ARM, version 1 (SYSV), BuildID[sha1]=0x4ef6fb9dfd8b38a5ea4ef7c052741c6b6668d798, not stripped
sh-4.3# file /lib/modules/reg.ko
/lib/modules/reg.ko: ELF 32-bit LSB relocatable, ARM, version 1 (SYSV), BuildID[sha1]=0x419e907c60cdd12ae77f95838c6d7335389d8289, not stripped
sh-4.3#
GNU C Library stable release version 2.5, by Roland McGrath et al.
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.2.1.
Compiled on a Linux >>2.6.17-12-generic<< system on 2008-02-26.
Available extensions:
crypt add-on version 2.1 by Michael Glad and others
GNU Libidn by Simon Josefsson
GNU libio by Per Bothner
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Native POSIX Threads Library by Ulrich Drepper et al
Support for some architectures added on, not maintained in glibc core.
BIND-8.2.3-T5B
Thread-local storage support included.
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.
sh-4.3#