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

Re: Compilacao de kernel



Em Sat, 02 Jun 2001 12:33:10 -0300
Antonio Lobato <tom2@server3.splicenet.com.br> escreveu:

> net/network.a(core.o): In function `sock_wmalloc':
> core.o(.text+0x4a5): undefined reference to `net_statistics'
> net/network.a(core.o): In function `sock_wmalloc_err':
> core.o(.text+0x512): undefined reference to `net_statistics'
> net/network.a(core.o): In function `sock_rmalloc':
> core.o(.text+0x565): undefined reference to `net_statistics'
> net/network.a(core.o): In function `sock_kmalloc':
> core.o(.text+0x5a1): undefined reference to `net_statistics'
> make[1]: *** [vmlinux] Error 1
> make[1]: Leaving directory `/usr/src/kernel-source-2.2.17'
> make: *** [stamp-build] Error 2
é erro no código do kernel... andou aplicando algum patch ou
mudando alguma coisa? estranho...:

[kov]@[/kov/debian/www] # rgrep net_statistics /usr/include/*
(...)
/usr/src/linux/include/linux/modules/netsyms.ver:#define __ver_net_statistics78e18939
/usr/src/linux/include/linux/modules/netsyms.ver:#define net_statistics
_set_ver(net_statistics)
/usr/src/linux/include/net/ip.h:extern struct linux_mib net_statistics[NR_CPUS*2];
(...)
/usr/src/linux/net/netsyms.c:EXPORT_SYMBOL(net_statistics); 
/usr/src/linux/net/ipv4/af_inet.c:struct linux_mib net_statistics[NR_CPUS*2];
(...)

essa é a arvore do kernel 2.4.4, aqui funciona perfeitamente...
talvez você tenha esquecido de habilitar algo que seja necessário
por alguma opção que você fez no seu kernel e que não foi lidado
automaticamente...

[]s!

-- 
       Gustavo Noronha Silva - kov <http://www.metainfo.org/kov>
*--------------------------------------------------------------------------*
|  .''`.  | Debian GNU/Linux: <http://www.debian.org>            |  (___)  |
| : :'  : | Debian BR.......: <http://debian-br.sourceforge.net> | < o o > |
| `. `'`  |                  Be Happy! Be FREE!                  |  \ ^ /  |
|   `-    |             "Think globally, act locally!"           |   (")   |
*--------------------------------------------------------------------------*



Reply to: